Share via


WODM_BT_SCO_AUDIO_CONTROL

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This message is used in an MMDRV_MESSAGE_PARAMS structure passed to the WAV_IOControl function to route audio to the Bluetooth chip.

Parameters

  • uDeviceId
    Device identifier — 0, 1, 2, and so on — for the target device.
  • uMsg
    Specifies this message.
  • dwUser
    Specifies a device instance identifier.
  • dwParam1
    Not used.
  • dwParam2
    Specifies TRUE to enable routing to the Bluetooth chip and FALSE to send audio to the default source.

Return Values

MMSYSERR_NOERROR indicates success. Otherwise, the driver returns one of the MMSYSERR or WAVEERR error values declared in the Mmsystem.h header file.

Remarks

This message is sent by the Audio Gateway Service and received by the waveform output driver to route audio. Process this message in WAV_IOControl to ensure that audio is routed based on the dwParam2 parameter value.

This message is used as both input and output driver messages to process Bluetooth audio streams.

The Audio Gateway service automatically creates a SCO connection to the headset device.

Requirements

Header bt_ddi.h
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

Routing Audio to the Bluetooth Hardware