Share via


HCI_CloseDeviceContext (Windows Embedded CE 6.0)

1/6/2010

This function is used to free all the states allocated by HCI_EstablishDeviceContext.

Syntax

int HCI_CloseDeviceContext(
  HANDLE hDeviceContext
);

Parameters

  • hDeviceContext
    [in] Device context handle.

Return Value

Returns ERROR_SUCCESS to indicate successful completion. If the parameter is invalid, the return value is ERROR_INVALID_PARAMETER.

Requirements

Header bt_ddi.h
Library Btd.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

Bluetooth Stack Extension Layer Functions
HCI_EstablishDeviceContext