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