// bthddi.h
typedef struct _BRB_HEADER {
LIST_ENTRY ListEntry;
ULONG Length;
USHORT Version;
USHORT Type;
ULONG BthportFlags;
NTSTATUS Status;
BTHSTATUS BtStatus;
PVOID Context[BTHPORT_CONTEXT_SIZE];
PVOID ClientContext[BTHPORT_CONTEXT_SIZE];
ULONG Reserved[BTHPORT_RESERVED_FIELD_SIZE];
} BRB_HEADER;
View the official Windows Driver Kit DDI referenceNo description available.
The BRB_HEADER structure contains header information about a Bluetooth request block (BRB), including information about the BRB type that the Bluetooth driver stack uses to determine which kind of BRB type to process.
ListEntryA LIST_ENTRY structure used by the current owner of the BRB to place the BRB in a queue.
LengthThe size, in bytes, of the BRB, including the BRB_HEADER structure. The BthAllocateBrb, BthInitializeBrb and BthReuseBrb functions automatically set this member.
VersionFor internal use only. Do not use.
TypeThe Bluetooth request block type. The BthAllocateBrb, BthInitializeBrb and BthReuseBrb functions automatically set this member.Possible values include:
BthportFlagsFor internal use only. Do not use.
StatusThe NTSTATUS code that is passed when the BRB call completes.
BtStatusThe Bluetooth status code (BTSTATUS) that corresponds to the NTSTATUS code that is passed in the Status member. Possible values include:
ContextFor internal use only. Do not use.
ClientContextThe client context that is associated with the BRB call. The caller can use this member to store a pointer or other information.
ReservedReserved for future use. Do not use.
The BRB_HEADER structure contains common types of information about the specified BRB. The BRB_HEADER structure is used by all BRB structures that are used as the input buffer for IOCTL_INTERNAL_BTH_SUBMIT_BRB IOCTLs.
Profile drivers should not modify any of the members of the BRB_HEADER structure except ClientContext.