MMRESULT waveInGetID(hWaveIn, lpuDeviceID) | |||
HWAVEIN hWaveIn; | |||
PUINT lpuDeviceID; |
The waveInGetID function gets the device ID for a waveform input device.
hWaveIn
Specifies the handle to the waveform input device.
lpuDeviceID
Specifies a pointer to the UINT-sized memory location to be filled with the device ID.
Returns zero if successful. Otherwise, it returns an error number. Possible error returns are:
Value | Meaning |
MMSYSERR_INVALHANDLE | The hWaveIn parameter specifies an invalid handle. |
MMSYSERR_HANDLEBUSY | The handle hWaveIn is in use on another thread. |