HID_XFER_PACKET structure

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

   
Header vhf.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