// bthddi.h
PFNBTH_ALLOCATE_BRB PfnbthAllocateBrb;
PBRB PfnbthAllocateBrb(
[in] BRB_TYPE brbType,
[in] ULONG tag
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The BthAllocateBrb function allocates a Bluetooth request block (BRB) of the specified type.
brbType [in]Specifies a value from the BRB_TYPE enumeration to initialize the BRB with.
tag [in]Specifies a 4-byte pool tag that uniquely identifies the driver that does the memory allocation. For more information about pool tags, see ExAllocatePoolWithTag.
BthAllocateBrb returns a pointer to the newly allocated BRB, or NULL if the system is out of memory.
Profile drivers obtain a pointer to the BthAllocateBrb function when they query the Bluetooth driver stack for an instance of the BTHDDI_PROFILE_DRIVER_INTERFACE driver interface. See Querying for Bluetooth Interfaces for more information about querying the Bluetooth driver stack.
pool tag