HCI_SetCallback

This function obtains the HCI parameters.

typedef int (*HCI_TransportCallback)(HCI_EVENT eEvent, void* pEvent);
  int HCI_SetCallback(
  HCI_TransportCallback pfCallback
);

Parameters

  • pfCallback
    [in] Pointer to the HCI transport callback.

Return Values

Ignored.

Remarks

If pfCallback is NULL, the driver must prepare to be unloaded. The function will only be called with pfCallback set to NULL if connection to the stack is currently closed.

If pfCallback is not NULL, this is the callback that is used to indicate hardware insertion/removal.

Requirements

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

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.