USBSCAN_GET_DESCRIPTOR 结构 (usbscan.h)

当IOCTL_GET_USB_DESCRIPTOR指定的 I/O 控制代码时,USBSCAN_GET_DESCRIPTOR结构用作 DeviceIoControl的参数。

语法

typedef struct _USBSCAN_GET_DESCRIPTOR {
  UCHAR  DescriptorType;
  UCHAR  Index;
  USHORT LanguageId;
} USBSCAN_GET_DESCRIPTOR, *PUSBSCAN_GET_DESCRIPTOR;

成员

DescriptorType

UsbBuildGetDescriptorRequestDescriptorType 参数相同。

Index

UsbBuildGetDescriptorRequestIndex 参数相同。

LanguageId

UsbBuildGetDescriptorRequestLanguageId 参数相同。

要求

要求
Header usbscan.h (包括 Usbscan.h)