WdfUsbTargetDeviceSelectSettingType enumeration (wdfusb.h)

[Applies to KMDF and UMDF]

The WdfUsbTargetDeviceSelectSettingType enumeration defines techniques for specifying an alternate setting for a USB interface.

Syntax

typedef enum _WdfUsbTargetDeviceSelectSettingType {
  WdfUsbInterfaceSelectSettingTypeDescriptor = 0x10,
  WdfUsbInterfaceSelectSettingTypeSetting = 0x11,
  WdfUsbInterfaceSelectSettingTypeUrb = 0x12
} WdfUsbTargetDeviceSelectSettingType;

Constants

 
WdfUsbInterfaceSelectSettingTypeDescriptor
Value: 0x10
Specify an interface's alternate setting by providing a USB_INTERFACE_DESCRIPTOR structure.
WdfUsbInterfaceSelectSettingTypeSetting
Value: 0x11
Specify an interface's alternate setting by providing a setting index value.
WdfUsbInterfaceSelectSettingTypeUrb
Value: 0x12
Specify an interface's alternate setting by providing a URB.

Remarks

The WdfUsbTargetDeviceSelectSettingType enumeration is used in the WDF_USB_INTERFACE_SELECT_SETTING_PARAMS structure.

Requirements

Requirement Value
Minimum KMDF version 1.0
Minimum UMDF version 2.0
Header wdfusb.h (include Wdfusb.h)

See also

URB

USB_INTERFACE_DESCRIPTOR

WDF_USB_INTERFACE_SELECT_SETTING_PARAMS