PacketMarker
This structure is used by HCI stack layer for matching command completion to HCI stack client issuing the command.
typedef struct _packet_marker {
unsigned int fMarker;
union {
BD_ADDR ba;
unsigned short connection_handle;
};
} PacketMarker;
Members
- fMarker
This member may be one of the following.Marker Value BTH_MARKER_NONE 0 BTH_MARKER_CONNECTION 1 BTH_MARKER_ADDRESS 2 - ba
Depending on fMarker, ba contains the Bluetooth address. - connection_handle
Depending on fMarker, connection_handle contains the connection handle associated with the command.
Remarks
The structure is used in conjunction with the following command to match asynchronous event associated with this command to the command itself.
typedef int (*HCI_CustomCode_In) (
HANDLE hDeviceContext,
void* pCallContext,
unsigned short usOpCode,
unsigned short cPacketSize,
unsigned char* pPacket,
PacketMarker* pMarker,
unsigned char cEvent
);
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Bt_ddi.h.
Last updated on Wednesday, April 13, 2005
© 2005 Microsoft Corporation. All rights reserved.