// bthxddi.h
typedef struct _BTHX_HCI_READ_WRITE_CONTEXT {
ULONG DataLen;
UCHAR Type;
UCHAR Data[1];
} BTHX_HCI_READ_WRITE_CONTEXT, *PBTHX_HCI_READ_WRITE_CONTEXT;
View the official Windows Driver Kit DDI referenceNo description available.
The BTHX_HCI_READ_WRITE_CONTEXT structure is used by IOCTL_BTHX_READ_HCI and IOCTL_BTHX_WRITE_HCI for input and output.
DataLenThe length of data contained in the Data field, in bytes.
TypeThe type of packetized data.
DataActual data to be read/written.
The BTHX_HCI_READ_WRITE_CONTEXT structure is an input parameter to IOCTL_BTHX_WRITE_HCI 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_READ_HCI and specifies the type of packet and the data associated with the read.
This structure is packed to 1-byte boundary.