Re: waveOutGetDevCaps not returning HID devices wMid,wPid
- From: "Chris P. [MVP]" <msdn@xxxxxxxxxxxx>
- Date: Wed, 16 Aug 2006 10:54:32 -0400
On Wed, 16 Aug 2006 14:30:47 GMT, Bob Masta wrote:
If so, then the bigger question is exactly how Windows XP
can tell when we are passing a WAVEOUTCAPS2 structure
and not an old WAVEOUTCAPS structure. There is no
structure size parameter. Is this what the wReserved parameter
is for? Maybe a nw flag in dwSupport? Otherwise, what would
keep XP from returning a larger structure where it wasn't expected,
and trashing something after that? The link above says that it
verfies that there is enough space... but how?
Finally, the link is a bit unclear (to me, anyway) about whether
this will really work. Apparently, not all card makers use GUIDs;
if they don't, and WDM is trashing the old-style wMid and wPid
that *were* provided, how can we verify a specific card?
All help, insights, and plain old comments greatfully appreciated!
Seeing that I still have source code access I'll see if I can locate this
and unravel the mystery. No guarantees though, finding things in the
massive source tree is challenging.
--
http://www.chrisnet.net/code.htm
http://www.avdevforum.com/AV
.
- References:
- Re: waveOutGetDevCaps not returning HID devices wMid,wPid
- From: Bob Masta
- Re: waveOutGetDevCaps not returning HID devices wMid,wPid
- Prev by Date: Re: waveOutGetDevCaps not returning HID devices wMid,wPid
- Next by Date: Re: waveOutGetDevCaps not returning HID devices wMid,wPid
- Previous by thread: Re: waveOutGetDevCaps not returning HID devices wMid,wPid
- Next by thread: life of audio thread
- Index(es):