L2CAP_CONFIG_OPTION - NtDoc

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

typedef struct _L2CAP_CONFIG_OPTION {
  CO_HEADER Header;
  VOID      *DynamicBuffer;
  UCHAR     FixedBuffer[4];
  USHORT    Flags;
} L2CAP_CONFIG_OPTION, *PL2CAP_CONFIG_OPTION;

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-bthddi-_l2cap_config_option)

_L2CAP_CONFIG_OPTION structure

Description

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.

Members

A CO_HEADER structure that specifies information about vendor-specific configuration options.

DynamicBuffer

A pointer to a buffer that contains additional L2CAP channel parameters that are defined either by the profile driver or the remote device. The Flags member is set to CO_DYNAMIC to indicate that this member contains the extra parameters.

FixedBuffer

A buffer that contains additional L2CAP channel parameters that are defined either by the profile driver or the remote device if they fit into 4 bytes. The Flags member is set to CO_FIXED to indicate that this member contains the extra parameters.

Flags

A combination of flags that determines which of this structure's buffer members contain parameters. Multiple flags can be set at once. Valid flag values are listed in the following table.

Flag Description
CO_DYNAMIC If set, the DynamicBuffer member points to the extra parameters.
CO_FIXED If set, the FixedBuffer member contains the extra parameters.

See also

CHANNEL_CONFIG_PARAMETERS

INDICATION_PARAMETERS

_BRB_L2CA_OPEN_CHANNEL