Check the old board messages->there is an example for directks. Maybe it includes something about that too. Look for directks.exe. Waldemar IMV> Hi ! IMV> I'm new to this group, so please be patient with me. First of all, I don't IMV> do driver development, but I write the audio I/O for a professional IMV> multitrack software. We currently support MME, DirectSound and ASIO. We want IMV> to support the WDM style multichannel soundcards (that don't have an ASIO IMV> driver). To do so, we use the WaveFormatExtensible structure in DirectSound. IMV> I've managed (very simple) to output to several channels using the WAVE_EX, IMV> but I have a __MAJOR__ problem. I don't know how to get the real number of IMV> channels the soundcard has. I found no information everywhere about this IMV> (I've checked on the Internet, PortAudio and other forums, the DirectX 9 IMV> SDK, etc). The only idea I've got, was to query the MME driver for the IMV> number of channels using the "waveOutGetDevCaps". However, for ALL IMV> soundcards that I've tested it (SoundBlaster Audigy, Midiman, onboard ones, IMV> etc), the "lpCaps.wChannels" always reports 65536 (0xFFFF) or 2 channels. IMV> Because I don't know how to get the actual number of the channel the device IMV> has, I just can't use the WAVE_EX struct. IMV> So PLEASE, if anybody has any idea about this, please reply. I do believe IMV> that this is the only place on the Internet where I can get the answer for IMV> this. IMV> VIM IMV> netvim@xxxxxxxxxxx IMV> _________________________________________________________________ IMV> MSN 8 with e-mail virus protection service: 2 months FREE* IMV> http://join.msn.com/?page=features/virus IMV> ****************** IMV> WDMAUDIODEV addresses: IMV> Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx IMV> Subscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe IMV> Unsubscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe IMV> Moderator: mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx IMV> URL to WDMAUDIODEV page: IMV> http://www.wdmaudiodev.de/ ****************** 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.de/