[wdmaudiodev] Re: Device enumeration and filtering.

  • From: Robert Bielik <robert.bielik@xxxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Wed, 25 May 2011 10:41:18 +0200

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: