Before playing or recording a waveform, you must determine the capabilities of the waveform hardware present in the system. Use the following functions to retrieve the number of waveform devices and the capabilities of each device:
waveInGetNumDevs
Retrieves the number of waveform input devices present in the system.
waveInGetDevCaps
Retrieves the capabilities of a given waveform input device.
waveOutGetNumDevs
Retrieves the number of waveform output devices present in the system.
waveOutGetDevCaps
Retrieves the capabilities of a given waveform output device.