BTHX_HCI_READ_WRITE_CONTEXT structure (bthxddi.h)

The BTHX_HCI_READ_WRITE_CONTEXT structure is used by IOCTL_BTHX_HCI_READ and IOCTL_BTHX_HCI_WRITE for input and output.

Syntax

typedef struct _BTHX_HCI_READ_WRITE_CONTEXT {
  ULONG DataLen;
  UCHAR Type;
  UCHAR Data[1];
} BTHX_HCI_READ_WRITE_CONTEXT, *PBTHX_HCI_READ_WRITE_CONTEXT;

Members

DataLen

The length of data contained in the Data field, in bytes.

Type

The type of packetized data.

Data[1]

Actual data to be read/written.

Remarks

The BTHX_HCI_READ_WRITE_CONTEXT structure is an input parameter to IOCTL_BTHX_HCI_WRITE and specifies the type of packet associated with the write. It also specifies the data to be written in the Data member.

This structure is also used as an output parameter for IOCTL_BTHX_HCI_READ and specifies the type of packet and the data associated with the read.

This structure is packed to 1-byte boundary.

Requirements

Requirement Value
Minimum supported client Versions:_Supported starting with Windows 8.
Header bthxddi.h (include BthXDDI.h)

See also