USBD_VERSION_INFORMATION结构(usb.h)
USBD_VERSION_INFORMATION 结构由 GetUSBDIVersion 函数用来报告其输出数据。
语法
typedef struct _USBD_VERSION_INFORMATION {
ULONG USBDI_Version;
ULONG Supported_USB_Version;
} USBD_VERSION_INFORMATION, *PUSBD_VERSION_INFORMATION;
成员
USBDI_Version
包含二进制编码的十进制 USB 接口版本号。 下表中列出了已发布的接口版本。
操作系统 | 接口版本 |
---|---|
Windows 98 黄金版 | 0x00000102 |
Windows 98 SE | 0x00000200 |
Windows 2000 | 0x00000300 |
Windows Millennium Edition | 0x00000400 |
Windows XP | 0x00000500 |
Windows Vista Windows 7 Windows 8 |
0x00000600 |
Supported_USB_Version
包含二进制编码的十进制 USB 规范版本号。
言论
Windows 8 及更高版本的作系统中弃用了 GetUSBDIVersion。 若要确定基础 USB 驱动程序堆栈是否支持特定版本,客户端驱动程序必须调用 USBD_IsInterfaceVersionSupported。
要求
要求 | 价值 |
---|---|
标头 | usb.h (包括 Usbbusif.h) |