![]() |
![]() |
The waveInGetDevCaps function retrieves the capabilities of a given waveform-audio input device.
MMRESULT waveInGetDevCaps(
UINT uDeviceID, | |
LPWAVEINCAPS pwic, | |
UINT cbwic | |
); |
Returns MMSYSERR_NOERROR if successful or an error otherwise. Possible error values include the following:
MMSYSERR_BADDEVICEID |
Specified device identifier is out of range. |
MMSYSERR_NODRIVER |
No device driver is present. |
MMSYSERR_NOMEM |
Unable to allocate or lock memory. |
Use this function to determine the number of waveform-audio input devices present in the system. 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. The WAVE_MAPPER constant can also be used as a device identifier. Only cbwic bytes (or less) of information is copied to the location pointed to by pwic. If cbwic is zero, nothing is copied and the function returns zero.
© 1997 Microsoft Corporation. All rights reserved. Legal Notices.