共用方式為


WdfUsbTargetDeviceSelectSettingType 列舉 (wdfusb.h)

[適用於 KMDF 和 UMDF]

WdfUsbTargetDeviceSelectSettingType 列舉會定義指定 USB 介面替代設定的技術。

Syntax

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)

另請參閱

URB

USB_INTERFACE_DESCRIPTOR

WDF_USB_INTERFACE_SELECT_SETTING_PARAMS