Bewerken

Delen via


BTH_PROFILE_DRIVER_INTERFACE structure (bthddi.h)

The BTH_PROFILE_DRIVER_INTERFACE structure provides functions to allocate, free, initialize, and reuse BRBs, and to determine the currently installed Bluetooth version.

Syntax

typedef struct _BTH_PROFILE_DRIVER_INTERFACE {
  INTERFACE                             Interface;
  PFNBTH_ALLOCATE_BRB                   BthAllocateBrb;
  PFNBTH_FREE_BRB                       BthFreeBrb;
  PFNBTH_INITIALIZE_BRB                 BthInitializeBrb;
  PFNBTH_REUSE_BRB                      BthReuseBrb;
  PFNBTH_IS_BLUETOOTH_VERSION_AVAILABLE IsBluetoothVersionAvailable;
} BTH_PROFILE_DRIVER_INTERFACE, *PBTH_PROFILE_DRIVER_INTERFACE;

Members

Interface

A structure that describes the BTH_PROFILE_DRIVER_INTERFACE interface for use by profile drivers. For more information about this structure, see INTERFACE.

BthAllocateBrb

Pointer to the BthAllocateBrb function.

BthFreeBrb

Pointer to the BthFreeBrb function.

BthInitializeBrb

Pointer to the BthInitializeBrb function.

BthReuseBrb

Pointer to the BthReuseBrb function.

IsBluetoothVersionAvailable

Pointer to the IsBluetoothVersionAvailable function.

Remarks

Profile drivers should specify the GUID_BTHDDI_PROFILE_DRIVER_INTERFACE GUID to query for an instance of the BTH_PROFILE_DRIVER_INTERFACE structure from the Bluetooth driver stack.

All the members of this structure, other than the Interface member, are function pointers.

Requirements

Requirement Value
Minimum supported client Versions:_Supported in Windows Vista, and later.
Header bthddi.h (include Bthddi.h)

See also

BthAllocateBrb

BthFreeBrb

BthInitializeBrb

BthReuseBrb

INTERFACE

IsBluetoothVersionAvailable