Partager via


Bluetooth OS IOCTLs (Windows Embedded CE 6.0)

1/6/2010

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.

The following table shows the Bluetooth IOCTLs for the Human Interface Device (HID) Profile with a description of the purpose of each.

Programming element Description

BTHHID_IOCTL_HIDConnect

Connects the HID class driver on the host to the peer device.

BTHHID_IOCTL_HIDDisconnect

Disconnects the HID class driver on the host from the peer device.

See Also

Reference

Bluetooth OS Reference

Concepts

Audio Gateway Core Component

Other Resources

Bluetooth OS Design Development