Share via


Closing Connections through HCI

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

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

The protocol layer can close an existing connection to the HCI layer by calling the HCI_CloseDeviceContext function. A call to HCI_CloseDeviceContext terminates all calls placed by the protocol layer and all connections owned by this layer to close.

int HCI_CloseDeviceContext(
  HANDLE   hDeviceContext           /* IN */
);

To specify the connection to close, pass the device context handle returned by the HCI_EstablishDeviceContext function.

See Also

Concepts

Establishing Connections through HCI

Other Resources

Host Controller Interface
Bluetooth OS Design Development
Bluetooth Protocol Stack