HID_XFER_PACKET结构包含有关 HID 报表的信息,HID 类驱动程序用于 I/O 请求来获取或设置报表。
语法
typedef struct _HID_XFER_PACKET {
PUCHAR reportBuffer;
ULONG reportBufferLen;
UCHAR reportId;
} HID_XFER_PACKET, *PHID_XFER_PACKET;
成员
reportBuffer
指向报表缓冲区的指针。
reportBufferLen
指定报表长度 reportBuffer。
reportId
指定 reportBuffer中包含的报表的报表 ID。 此参数是可选的,如果未指定,则应设置为零。
言论
当 HID 类驱动程序使用 I/O 请求获取或设置报表时,HID 类驱动程序使用此结构来指定有关 HID 报表的信息。
要求
要求 | 价值 |
---|---|
标头 | vhf.h (包括 Hidport.h、Vhf.h) |