[wdmaudiodev] Re: Device enumeration and filtering.

  • From: Anton Shpakovsky <anton.shpakovsky@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Mon, 23 May 2011 15:40:27 +0700

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?

Thanks.

p.s. I call waveingetdevcaps function in a following way:
  WAVEINCAPS2 caps;
  memset(&caps, 0, sizeof(WAVEINCAPS2));
  waveInGetDevCaps(nWaveInId, (LPWAVEINCAPS)&caps, sizeof(WAVEINCAPS2));
And I receive ProductGuid:
ProductGuid {E36DC311-6D9A-11D1-A21A-00A0C9223196} _GUID

But PID_MSVAD is 5B722BF8-F0AB-47ee-B9C8-8D61D31375A1.



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

> Robert Bielik skrev 2011-05-23 07:01:
>
>>
>> During the enumeration, you can ask each filter for the Component ID
>> (which is handled in MSVAD by
>> CMiniportWaveCyclic::PropertyHandlerComponentId), via
>> KSPROPSETID_General/KSPROPERTY_GENERAL_COMPONENTID/KSPROPERTY_TYPE_GET which
>> returns a GUID.
>>
>
> Sorry, not quite correct. Look here instead:
> http://msdn.microsoft.com/en-us/library/ff565171(v=vs.85).aspx
>
> :)
> /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: