PFNBTH_ALLOCATE_BRB - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// bthddi.h

PFNBTH_ALLOCATE_BRB PfnbthAllocateBrb;

PBRB PfnbthAllocateBrb(
  [in] BRB_TYPE brbType,
  [in] ULONG tag
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-bthddi-pfnbth_allocate_brb)

PFNBTH_ALLOCATE_BRB callback function

Description

The BthAllocateBrb function allocates a Bluetooth request block (BRB) of the specified type.

Parameters

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.

Return value

BthAllocateBrb returns a pointer to the newly allocated BRB, or NULL if the system is out of memory.

Remarks

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.

See also

BRB_TYPE

ExAllocatePoolWithTag

pool tag