// bthddi.h
PFNBTH_INITIALIZE_BRB PfnbthInitializeBrb;
VOID PfnbthInitializeBrb(
[in, out] PBRB pBrb,
[in] BRB_TYPE brbType
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The BthInitializeBrb function initializes a Bluetooth request block (BRB) allocated on the local stack.
pBrb [in, out]Pointer to the BRB to initialize.
brbType [in]Specifies a value from the BRB_TYPE enumeration to initialize the BRB with.
Profile drivers should use BthInitializeBrb for stack based allocations, such as declaring variables at the beginning of a function.
It is not necessary to call this function for a BRB that was allocated using BthAllocateBrb.
Profile drivers obtain a pointer to the BthInitializeBrb 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.