The waveInGetNumDevs function returns the number of waveform-audio input devices present in the system.
UINT waveInGetNumDevs(VOID);
This function takes no parameters.
Returns the number of devices. A return value of zero means that no devices are present or that an error occurred.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Requires version 2.0 or later.
Header: Declared in mmsystem.h.
Import Library: Use winmm.lib.
Waveform Audio Overview, Waveform Functions