[wdmaudiodev] Re: Device enumeration and filtering.

  • From: Anton Shpakovsky <anton.shpakovsky@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Wed, 25 May 2011 15:47:08 +0700

I had an idea of trying it, but noticed that I'm using CreateFile and
DeviceIoControl (for different puproses)
using "\\?\root#media#0002#{dda54a40-1e4c-11d1-a050-405705c10000}\topology"
The "TOPOLOGY", not the "WAVE" confused me..

Ok, thanks! I will check it out now.

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
> http://www.wdmaudiodev.com/

Other related posts: