Hi

I got a problem with detecting sound card with Windows xp

I use SDK function waveInGetNumDevs() to test if there is a sound card. But even if there is no sound card installed, the function still returns 1. And even waveInGetDevCaps() returns no error. I checked device->hardware, and there are some items under "Audio, Vido and game" catogary, they includes :
"Legacy audio driver",
"Audio codecs"
"Media Control devices"
Guess there are some onboard Audio support, but no sound card installed.

SO how can I detect if there is a sound card installed or not? Can anyone help me?
Thanks

Deng