HCI_SetCallback (Windows CE 5.0)

Send Feedback

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.

If hardware removal or insertion is detected, the transport calls the function provided by the upper layer.

Requirements

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

See Also

Bluetooth HCI Transport Layer Functions | Transferring Data

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.