WdfUsbTargetDeviceSelectConfigType enumeration (wdfusb.h)

[Applies to KMDF and UMDF]

The WdfUsbTargetDeviceSelectConfigType enumeration defines types of configuration operations for USB devices.

Syntax

typedef enum _WdfUsbTargetDeviceSelectConfigType {
  WdfUsbTargetDeviceSelectConfigTypeInvalid = 0,
  WdfUsbTargetDeviceSelectConfigTypeDeconfig = 1,
  WdfUsbTargetDeviceSelectConfigTypeSingleInterface = 2,
  WdfUsbTargetDeviceSelectConfigTypeMultiInterface = 3,
  WdfUsbTargetDeviceSelectConfigTypeInterfacesPairs = 4,
  WdfUsbTargetDeviceSelectConfigTypeInterfacesDescriptor = 5,
  WdfUsbTargetDeviceSelectConfigTypeUrb = 6
} WdfUsbTargetDeviceSelectConfigType;

Constants

 
WdfUsbTargetDeviceSelectConfigTypeInvalid
Value: 0
For internal use only.
WdfUsbTargetDeviceSelectConfigTypeDeconfig
Value: 1
Deconfigure the device. This value applies to KMDF only.
WdfUsbTargetDeviceSelectConfigTypeSingleInterface
Value: 2
Configure the device to use a single, specified interface. This value applies to KMDF and UMDF.
WdfUsbTargetDeviceSelectConfigTypeMultiInterface
Value: 3
Configure the device to use multiple interfaces. This value applies to KMDF and UMDF.
WdfUsbTargetDeviceSelectConfigTypeInterfacesPairs
Value: 4
Configure the device to use multiple interfaces, possibly with alternate settings. Alternate settings are described in the USB specification. This value applies to KMDF and UMDF.
WdfUsbTargetDeviceSelectConfigTypeInterfacesDescriptor
Value: 5
Configure the device by using configuration parameters that are contained in USB descriptors. This value applies to KMDF only.
WdfUsbTargetDeviceSelectConfigTypeUrb
Value: 6
Configure the device by using configuration parameters that are contained in a driver-supplied URB structure. This value applies to KMDF only.

Remarks

The WdfUsbTargetDeviceSelectConfigType enumeration is used to specify the Type member of the WDF_USB_DEVICE_SELECT_CONFIG_PARAMS structure. That structure is used as input to the WdfUsbTargetDeviceSelectConfig method.

Requirements

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

See also

URB

WDF_USB_DEVICE_SELECT_CONFIG_PARAMS

WdfUsbTargetDeviceSelectConfig