HID_XFER_PACKET structure (hidclass.h)

The HID_XFER_PACKET structure contains information about a HID report that the HID class driver uses with I/O requests to get or set a report.

Syntax

typedef struct _HID_XFER_PACKET {
  PUCHAR reportBuffer;
  ULONG  reportBufferLen;
  UCHAR  reportId;
} HID_XFER_PACKET, *PHID_XFER_PACKET;

Members

reportBuffer

Pointer to a report buffer.

reportBufferLen

Specifies the length of the report at reportBuffer.

reportId

Specifies the report ID of the report contained at reportBuffer. This parameter is optional, and, if not specified, should be set to zero.

Remarks

The HID class driver uses this structure to specify information about a HID report when it uses an I/O request to get or set a report.

Requirements

Requirement Value
Header hidclass.h (include Hidport.h, Vhf.h)

See also

IOCTL_HID_GET_FEATURE

IOCTL_HID_GET_INPUT_REPORT

IOCTL_HID_SET_FEATURE

IOCTL_HID_SET_OUTPUT_REPORT