DRVM_MAPPER_PREFERRED_GET
This message is used to query the preferred device, using the existing waveInMessage or waveOutMessage function to the WAVE_MAPPER device id.
DRVM_MAPPER_PREFERRED_GET
wParam = pDeviceID
lParam = Reserved
Parameters
- pDeviceID
Pointer to the DWORD variable into which the function writes the device ID of the current preferred device. If no device is available that qualifies as a preferred device, the variable will cotntain -1. - lParam
Reserved; must be zero.
Return Values
One of the values described in the following table is returned.
Value | Description |
---|---|
MMSYSERR_NOERROR | The call was a success. |
MMSYSERR_ERROR | The call failed. |
Requirements
OS Versions: Windows Mobile 5.0 AKU1 and later.
See Also
Waveform Audio Messages | Switching Preferred Audio Devices | waveInMessage | waveOutMessage