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. |
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
Concepts
Switching Preferred Audio DevicesInternal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster@systemmanager.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.