HIDSPICX_REPORT结构(hidspicx.h)

HIDSPICX_REPORT 结构用于表示输入和输出报表。

语法

typedef struct _HIDSPICX_REPORT {
  UCHAR  ReportType;
  USHORT ReportContentLength;
  UCHAR  ReportId;
  UCHAR  ReportContent[0];
} HIDSPICX_REPORT;

成员

ReportType

报表的内容类型。

ReportContentLength

ReportContent 字段的长度。

ReportId

唯一的报表标识符。

ReportContent[0]

原始 HID 报表或命令参数。

言论

使用此结构,而不是完整的报表结构,包括标头,因为客户端预期会封送要通过网络发送的数据结构。

要求

要求 价值
最低支持的客户端 Windows 11
标头 hidspicx.h

另请参阅

HIDSPICX_DEVICE_CONFIG_INIT

HIDSPICX_DEVICE_CONFIG