Compartir a través de


Bluetooth AG Service IOCTL Messages (Compact 2013)

3/26/2014

The following table shows the Bluetooth IOCTLs for the Audio Gateway Service with a description of the purpose of each.

Programming element

Description

IOCTL_AG_CLOSE_AUDIO

Closes the currently open audio connection to the headset or the hands-free device.

IOCTL_AG_CLOSE_CONTROL

Closes the currently open service level connection to the Audio Gateway.

IOCTL_AG_GET_MIC_VOL

Retrieves the microphone volume.

IOCTL_AG_GET_SPEAKER_VOL

Retrieves the speaker volume.

IOCTL_AG_OPEN_AUDIO

Opens an audio connection to the headset or the hands-free device.

IOCTL_AG_OPEN_CONTROL

Opens a service level connection to the peer device.

IOCTL_AG_SET_MIC_VOL

Sets the microphone volume.

IOCTL_AG_SET_SPEAKER_VOL

Sets the speaker volume.

IOCTL_AG_SET_USE_HF_AUDIO

Enables the phone application to auto-answer the call by using the hands-free device.

WODM_BT_SCO_AUDIO_CONTROL

Sent by the Audio Gateway Service and received by the waveform output driver to route audio.

See Also

Reference

Bluetooth Audio Gateway Service Reference
Bluetooth AG Service IOCTL Messages