Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
4/8/2010
waveInMessage
waveOutMessage
This message is used to query the preferred device, using the existing waveInMessageor waveOutMessagefunction to the WAVE_MAPPER device id.
Syntax
DRVM_MAPPER_PREFERRED_GET wParam =pDeviceIDlParam = 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 contain -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. |
Remarks
DRVM_MAPPER_PREFERRED_SET and DRVM_MAPPER_PREFERRED_GET are not defined by Windows Embedded CE. To use these messages, you must first define them in your code:
Copy Code | |
---|---|
#define DRVM_MAPPER 0x2000 #define DRVM_MAPPER_PREFERRED_GET (DRVM_MAPPER+21) #define DRVM_MAPPER_PREFERRED_SET (DRVM_MAPPER+22) |
See Also
Reference
Waveform Audio MessageswaveInMessage
waveOutMessage