// 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 reference
No 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.
ListEntry
A LIST_ENTRY structure used by the current owner of the BRB to place the BRB in a queue.
Length
The size, in bytes, of the BRB, including the BRB_HEADER structure. The BthAllocateBrb, BthInitializeBrb and BthReuseBrb functions automatically set this member.
Version
For internal use only. Do not use.
Type
The Bluetooth request block type. The BthAllocateBrb, BthInitializeBrb and BthReuseBrb functions automatically set this member.Possible values include:
BthportFlags
For internal use only. Do not use.
Status
The NTSTATUS code that is passed when the BRB call completes.
BtStatus
The Bluetooth status code (BTSTATUS) that corresponds to the NTSTATUS code that is passed in the Status member. Possible values include:
Context
For internal use only. Do not use.
ClientContext
The client context that is associated with the BRB call. The caller can use this member to store a pointer or other information.
Reserved
Reserved 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.