waveInGetNumDevs function

The waveInGetNumDevs function returns the number of waveform-audio input devices present in the system.


UINT waveInGetNumDevs(



This function has no parameters.

Return Value

Returns the number of devices. A return value of zero means that no devices are present or that an error occurred.


Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header mmeapi.h (include Windows.h)
Library Winmm.lib
DLL Winmm.dll

See Also

Waveform Audio

Waveform Functions