[wdmaudiodev] Re: Device enumeration and filtering.

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

Yep, it works! Exactly what I've wanted!

Rob, thanks!

On Wed, May 25, 2011 at 3:41 PM, Robert Bielik <robert.bielik@xxxxxxxxxx>wrote:

> Anton Shpakovsky skrev 2011-05-25 10:35:
>
>> AFAIK, 6994ad04-93ef-11d0-a3cc-00a0c9223196 stands for KSCATEGORY_AUDIO.
>> While "...\wave" simply represent the wave filter for the driver, correct? I
>> still do not get how to identify exactly my driver.. Or may be I can/must
>> change the wave filter name? I doubt..
>>
>
> What you do is use the device path with CreateFile and DeviceIoControl to
> get the KSPROPERTY_GENERAL_COMPONENTID from the enumerated filter. If it
> DeviceIoControl succeeds AND the Product GUID matches your filters
> (PID_MSVAD), you know that that is yours' (and thus you can exclude it).
>
> 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: