Share via


HCI_CloseDeviceContext

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

int HCI_CloseDeviceContext(
  HANDLE hDeviceContext
);

Parameters

  • hDeviceContext
    [in] Device context handle.

Return Values

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

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Bt_ddi.h.
Link Library: Btd.lib.

See Also

HCI_EstablishDeviceContext

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.