共用方式為


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)

另請參閱

URB

USB_INTERFACE_DESCRIPTOR

WDF_USB_INTERFACE_SELECT_SETTING_PARAMS