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