Group: Windows Multimedia - Library: winmm
Quering a waveform-audio input device
MMRESULT waveInGetDevCaps(
UINT_PTR uDeviceID,
LPWAVEINCAPS pwic,
UINT cbwic
);
DECLARE INTEGER waveInGetDevCaps IN winmm;
INTEGER uDeviceID,;
STRING @ pwic,;
LONG cbwic
uDeviceID Identifier of the waveform-audio output device. It can be either a device identifier or a handle of an open waveform-audio input device.
pwic Pointer to a WAVEINCAPS structure to be filled with information about the capabilities of the device.
cbwic Size, in bytes, of the WAVEINCAPS structure.
Returns MMSYSERR_NOERROR (0) if successful or an error otherwise.
If the value specified by the uDeviceID parameter is a device identifier, it can vary from zero to one less than the number of devices present.