WdfUsbTargetDeviceSelectSettingType 枚举 (wdfusb.h)
[适用于 KMDF 和 UMDF]
WdfUsbTargetDeviceSelectSettingType 枚举定义了为 USB 接口指定备用设置的技术。
语法
typedef enum _WdfUsbTargetDeviceSelectSettingType {
WdfUsbInterfaceSelectSettingTypeDescriptor = 0x10,
WdfUsbInterfaceSelectSettingTypeSetting = 0x11,
WdfUsbInterfaceSelectSettingTypeUrb = 0x12
} WdfUsbTargetDeviceSelectSettingType;
常量
WdfUsbInterfaceSelectSettingTypeDescriptor 值: 0x10 通过提供 USB_INTERFACE_DESCRIPTOR 结构指定接口的备用设置。 |
WdfUsbInterfaceSelectSettingTypeSetting 值: 0x11 通过提供设置索引值来指定接口的备用设置。 |
WdfUsbInterfaceSelectSettingTypeUrb 值: 0x12 通过提供 URB 指定接口的备用设置。 |
注解
WdfUsbTargetDeviceSelectSettingType 枚举用于 WDF_USB_INTERFACE_SELECT_SETTING_PARAMS 结构。
要求
要求 | 值 |
---|---|
最低 KMDF 版本 | 1.0 |
最低 UMDF 版本 | 2.0 |
标头 | wdfusb.h (包括 Wdfusb.h) |
另请参阅
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈