bthddi.h header

This header is used by bltooth. For more information, see:

bthddi.h contains the following programming interfaces:

Callback functions

 
PFNBTH_ALLOCATE_BRB

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

The BthFreeBrb function frees a Bluetooth request block (BRB) that was allocated previously with BthAllocateBrb.
PFNBTH_INITIALIZE_BRB

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

The IsBluetoothVersionAvailable function checks whether a given Bluetooth version is supported by the operating system.
PFNBTH_REUSE_BRB

The BthReuseBrb function reinitializes a Bluetooth request block (BRB) to be reused.
PFNBTHPORT_INDICATION_CALLBACK

Profile drivers implement a L2CAP callback function to provide the Bluetooth driver stack with a mechanism to notify the profile driver about incoming L2CAP connection requests from remote devices, and any changes to the status of a currently open L2CAP connection.
PFNBTHPORT_INDICATION_CALLBACK_ENHANCED

Profile drivers implement an enhanced L2CAP callback function to provide the Bluetooth driver stack with a mechanism to notify the profile driver about any changes to the status of a currently open L2CAP or eL2CAP connection.
PFNSCO_INDICATION_CALLBACK

Profile drivers implement a SCO callback function to provide the Bluetooth driver stack with a mechanism to notify the profile driver about incoming SCO connection requests from remote devices, and any changes to the status of a currently open SCO connection.

Structures

 
INDICATION_PARAMETERS

The INDICATION_PARAMETERS structure is passed as the Parameters parameter to a profile driver's L2CAP Callback Function.
INDICATION_PARAMETERS_ENHANCED

The INDICATION_PARAMETERS_ENHANCED structure is passed as the Parameters parameter to a profile driver's enhanced L2CAP Callback Function.
_BRB_ACL_ENTER_ACTIVE_MODE

The _BRB_ACL_ENTER_ACTIVE_MODE structure specifies the remote device to be placed into active mode.
_BRB_ACL_GET_MODE

The _BRB_ACL_GET_MODE structure describes the ACL mode for the specified remote device.
_BRB_GET_DEVICE_INTERFACE_STRING

The _BRB_GET_DEVICE_INTERFACE_STRING structure describes the device interface string for the current device object.
_BRB_GET_LOCAL_BD_ADDR

The _BRB_GET_LOCAL_BD_ADDR structure describes the address of the local radio.
_BRB_L2CA_ACL_TRANSFER

The _BRB_L2CA_ACL_TRANSFER structure describes a buffer to read asynchronous data from, or write asynchronous data to a L2CAP channel.
_BRB_L2CA_CLOSE_CHANNEL

The _BRB_L2CA_CLOSE_CHANNEL structure describes an open L2CAP channel to close.
_BRB_L2CA_OPEN_CHANNEL

The _BRB_L2CA_OPEN_CHANNEL structure describes a L2CAP channel to open to a remote device, or a response from the profile driver accepting or rejecting an incoming L2CAP connection request that was initiated by a remote device.
_BRB_L2CA_OPEN_ENHANCED_CHANNEL

The _BRB_L2CA_OPEN_ENHANCED_CHANNEL structure is used to open an enhanced L2CAP channel to a remote device, or send a response for accepting/rejecting an incoming enhanced L2CAP connection request that was initiated by a remote device.
_BRB_L2CA_PING

The _BRB_L2CA_PING structure describes a request to ping a remote radio.
_BRB_L2CA_REGISTER_SERVER

A profile driver uses the _BRB_L2CA_REGISTER_SERVER structure to register itself as a server capable of receiving L2CAP connections from remote Bluetooth devices.
_BRB_L2CA_UNREGISTER_SERVER

A profile driver uses the _BRB_L2CA_UNREGISTER_SERVER structure to unregister itself as a server capable of receiving L2CAP connections from remote Bluetooth devices.
_BRB_L2CA_UPDATE_CHANNEL

The _BRB_L2CA_UPDATE_CHANNEL structure describes an update to the link characteristics of an open L2CAP channel to a remote device or to ascertain when certain channel attributes have changed.
_BRB_PSM

The _BRB_PSM structure describes a Protocol/Service Multiplexer (PSM) to register or unregister.
_BRB_SCO_CLOSE_CHANNEL

The _BRB_SCO_CLOSE_CHANNEL structure describes a currently open SCO channel to close.
_BRB_SCO_FLUSH_CHANNEL

The _BRB_SCO_FLUSH_CHANNEL structure describes a flush operation for a SCO channel.
_BRB_SCO_GET_CHANNEL_INFO

The _BRB_SCO_GET_CHANNEL_INFO structure describes the settings and statistics of a SCO channel.
_BRB_SCO_GET_SYSTEM_INFO

The _BRB_SCO_GET_SYSTEM_INFO structure describes information about the local system's support for SCO connections.
_BRB_SCO_OPEN_CHANNEL

The _BRB_SCO_OPEN_CHANNEL structure describes a SCO channel to open to a remote device, or a response from the profile driver accepting or rejecting an incoming SCO connection request that was initiated by a remote device.
_BRB_SCO_REGISTER_SERVER

A profile driver uses the _BRB_SCO_REGISTER_SERVER structure to register itself as a server capable of receiving SCO connections from remote Bluetooth devices.
_BRB_SCO_TRANSFER

The _BRB_SCO_TRANSFER structure describes a buffer to read isochronous data from, or write isochronous data to a SCO channel.
_BRB_SCO_UNREGISTER_SERVER

A profile driver uses the _BRB_SCO_UNREGISTER_SERVER structure to unregister itself as a server capable of receiving SCO connections from remote Bluetooth devices.
BASEBAND_CHANNEL_INFO

The BASEBAND_CHANNEL_INFO structure describes output information about the baseband channel that is used by a SCO link after a BRB_GET_CHANNEL_INFO BRB completes.
BRB

Profile drivers use Bluetooth request blocks (BRBs), to send requests to the Bluetooth driver stack. The BRB structure defines the format for all supported commands that can be sent to a Bluetooth device.
BRB_HEADER

The BRB_HEADER structure contains header information about a Bluetooth request block (BRB), including information about the BRB type that the Bluetooth driver stack uses to determine which kind of BRB type to process.
BTH_ENUMERATOR_INFO

The BTH_ENUMERATOR_INFO structure contains information about an underlying device and the service that caused the Plug and Play (PnP) manager to load the profile driver.
BTH_PROFILE_DRIVER_INTERFACE

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

The CHANNEL_CONFIG_PARAMETERS structure contains configuration parameters for inbound and outbound directions of a L2CAP channel.
CHANNEL_CONFIG_PARAMETERS_ENHANCED

The CHANNEL_CONFIG_PARAMETERS_ENHANCED structure describes configuration parameters for inbound and outbound directions of an L2CAP channel.
CHANNEL_CONFIG_RESULTS

The CHANNEL_CONFIG_RESULTS structure contains configuration parameters and the buffer size of any extra options for the inbound and outbound directions of a L2CAP channel.
CHANNEL_CONFIG_RESULTS_ENHANCED

The CHANNEL_CONFIG_RESULTS_ENHANCED structure describes configuration parameters and the buffer size of any extra option for the inbound and outbound directions of an L2CAP channel.
CO_HEADER

The CO_HEADER structure is used to specify values for the Header member of the L2CAP_CONFIG_OPTION structure.
L2CAP_CONFIG_OPTION

An array of L2CAP_CONFIG_OPTION structures is used to specify values for the ExtraOptions member of the CHANNEL_CONFIG_PARAMETERS, _BRB_L2CA_OPEN_CHANNEL, and INDICATION_PARAMETERS structures.
L2CAP_CONFIG_RANGE

The L2CAP_CONFIG_RANGE structure is used to specify a range of possible values for the FlushTO member of the _BRB_L2CA_OPEN_CHANNEL structure during incoming requests.
L2CAP_CONFIG_VALUE_RANGE

The L2CAP_CONFIG_VALUE_RANGE structure is used to specify values for the Mtu and FlushTO members of the _BRB_L2CA_OPEN_CHANNEL structure.
L2CAP_EXTENDED_FLOW_SPEC

The L2CAP_EXTENDED_FLOW_SPEC is reserved for future use.
L2CAP_FLOWSPEC

This structure reserved for future use.
L2CAP_RETRANSMISSION_AND_FLOW_CONTROL

The L2CAP_RETRANSMISSION_AND_FLOW_CONTROL structure describes configuration parameters for enhanced retransmission mode and streaming mode.
SCO_INDICATION_PARAMETERS

The SCO_INDICATION_PARAMETERS structure describes indication parameters about a SCO connect or disconnect notification.

Enumerations

 
ACL_MODE

The ACL_MODE enumeration type is used to list the possible states of an ACL connection.
BRB_TYPE

The BRB_TYPE enumeration type is used to determine the Bluetooth request block when a profile driver builds and sends a BRB.
BRB_VERSION

Reserved for internal use.
CODING_FORMAT

This enumeration is for internal use only.
ENUMERATOR_ACTION

Microsoft reserves the ENUMERATOR_ACTION enumeration for internal use only. Don't use this enumeration in your code.
ENUMERATOR_TYPE

The ENUMERATOR_TYPE enumeration type is used to determine whether the enumerated device is associated with a service or a protocol. The ENUMERATOR_TYPE enumeration is intended for internal use only and should not be used by profile drivers.
INDICATION_CODE

The INDICATION_CODE enumeration type indicates to a profile driver what type of L2CAP event has occurred.
L2CAP_DISCONNECT_REASON

The L2CAP_DISCONNECT_REASON enumeration type gives the reason an L2CAP channel has been disconnected.
PCM_DATA_FORMAT

Microsoft reserves the PCM_DATA_FORMAT enumeration for internal use only. Don't use this enumeration in your code.
SCO_DISCONNECT_REASON

The SCO_DISCONNECT_REASON enumeration type gives the reason an SCO channel has been disconnected.
SCO_INDICATION_CODE

The SCO_INDICATION_CODE enumeration type describes the type of an incoming SCO connection or bonding state change. The Bluetooth driver stack passes a value from this enumeration in the Indication argument of a profile driver's SCO Callback Function.
SCO_LINK_TYPE

The SCO_LINK_TYPE enumeration type describes the type of link used by the SCO connection when a ScoIndicationRemoteConnect indication event is processed.
SCO_RETRANSMISSION_EFFORT

The SCO_RETRANSMISSION_EFFORT enumeration type is used to determine the retransmission policies of a SCO channel.