Share via


HCI_CloseDeviceContext (Compact 2013)

3/26/2014

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

The following table shows the possible return values.

Value

Description

ERROR_SUCCESS

Success.

ERROR_INVALID_PARAMETER

The handle is not valid.

Requirements

Header

bt_ddi.h

Library

Btd.lib

See Also

Reference

Bluetooth HCI Functions
HCI_EstablishDeviceContext