[wdmaudiodev] Re: Device enumeration and filtering.

  • From: Robert Bielik <robert.bielik@xxxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Wed, 25 May 2011 08:27:32 +0200

Robert Bielik skrev 2011-05-25 08:18:
Anton Shpakovsky skrev 2011-05-25 07:10:
Ok, I can use DeviceIoControl but I do not understand how to call 
DeviceIoControl to device returned by DShow enumerator 
I do not see any common handle that I can use later to call DeviceIoControl.

Any ideas?

How do you get the "FriendlyName" property ? Try getting the "DevicePath" 
property instead. Here http://msdn.microsoft.com/en-us/library/dd377566(v=vs.85).aspx, I can see 
"DevicePath" is available (although the doc says its for video capture devices 
only... I wonder...)

If "DevicePath" doesn't work, you could get "WaveInID", then use waveInMessage 
with DRV_QUERYDEVICEINTERFACE to get the device path...


WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx


Other related posts: