waveInGetID(3mms) — Subroutines
Name
waveInGetID --- Get device ID for the specified waveform audio input device
Syntax
#include <mme/mme_api.h>
MMRESULT waveInGetID (HWAVEIN hWaveIn,
PUINT lpuDeviceID);
Arguments
HWAVEIN hWaveIn
Specifies a handle to a waveform audio input device.
PUINT lpuDeviceID
Specifies a pointer to the UINT-sized memory location to be filled with the device ID.
Description
The waveInGetID function gets the device ID for the specified waveform audio input device.
Extensions
None.
Return Values
Returns MMSYSERR_NOERROR if the function is successful; otherwise, it returns one of the following error codes:
MMSYSERR_HANDLEBUSY@T{ The handle hWaveIn is in use on another thread. T} MMSYSERR_INVALHANDLE@T{ The specified device handle is invalid. T}
See Also
None.