[wdmaudiodev] Re: Device enumeration and filtering.

  • From: Anton Shpakovsky <anton.shpakovsky@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Wed, 25 May 2011 12:10:02 +0700

Yes, I have seen this post, thanks.

Ok, I can use DeviceIoControl but I do not understand how to call
DeviceIoControl to device returned by DShow enumerator
(CLSID_AudioInputDeviceCategory).
I do not see any common handle that I can use later to call DeviceIoControl.

Any ideas?
I'm doing filtering by friendly name now and it looks like I will keep using
such approach. It's sad..

Thanks.


On Mon, May 23, 2011 at 4:50 PM, Robert Bielik <robert.bielik@xxxxxxxxxx>wrote:

> Anton Shpakovsky skrev 2011-05-23 10:40:
>
>> Rob,
>>
>> thank you for the answer - this is exactly what I've been looking for.
>> However, I still have some problems. For some reason, when I call
>> waveInGetDevCaps function - I do not get PropertyHandlerComponentId called.
>> But i'm pretty sure it is working because when I use KSstudio.exe i receive
>> debug messages from this handler. And KSStudio shows correct GUIDs of my
>> driver.
>>
>> What can be wrong with waveInGetDevCaps function?
>>
>
> No idea, this seems related though:
> http://www.ms-news.net/f3607/waveoutgetdevcaps-not-returning-hid-devices-wmid-wpid-2030530.html
>
> Looks like you might need to do DeviceIoControl directly..
>
> Regards,
> /Rob
> ******************
>
> 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
>
> URL to WDMAUDIODEV page:
> http://www.wdmaudiodev.com/
>
>

Other related posts: