Partager via


IOCTL_AG_CLOSE_CONTROL (Windows Embedded CE 6.0)

1/6/2010

This IOCTL closes the currently open service level connection to the headset or the hands-free device.

Parameters

  • hDeviceContext
    [in] Device context handle.
  • fSelector
    [in] Equals IOCTL_AG_CLOSE_CONTROL.
  • cInBuffer
    Not used.
  • pInBuffer
    Not used.
  • cOutBuffer
    Not used.
  • pOutBuffer
    Not used.
  • pcDataReturned
    Not used.

Return Values

Returns TRUE if successful, FALSE otherwise. To obtain extended error information, call the GetLastError function.

Remarks

To open a service level connection to the peer device, use IOCTL_AG_OPEN_CONTROL.

Requirements

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

See Also

Concepts

Bluetooth OS IOCTLs
Audio Gateway Core Component