PFNBTH_INITIALIZE_BRB - NtDoc

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

PFNBTH_INITIALIZE_BRB PfnbthInitializeBrb;

VOID PfnbthInitializeBrb(
  [in, out] PBRB pBrb,
  [in]      BRB_TYPE brbType
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

PFNBTH_INITIALIZE_BRB callback function

Description

The BthInitializeBrb function initializes a Bluetooth request block (BRB) allocated on the local stack.

Parameters

pBrb [in, out]

Pointer to the BRB to initialize.

brbType [in]

Specifies a value from the BRB_TYPE enumeration to initialize the BRB with.

Remarks

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.

See also

BRB_TYPE

BthAllocateBrb