Expand Minimize

WdfUsbTargetDeviceSelectConfigType enumeration

[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

For internal use only.

WdfUsbTargetDeviceSelectConfigTypeDeconfig

Deconfigure the device. This value applies to KMDF only.

WdfUsbTargetDeviceSelectConfigTypeSingleInterface

Configure the device to use a single, specified interface. This value applies to KMDF and UMDF.

WdfUsbTargetDeviceSelectConfigTypeMultiInterface

Configure the device to use multiple interfaces. This value applies to KMDF and UMDF.

WdfUsbTargetDeviceSelectConfigTypeInterfacesPairs

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

Configure the device by using configuration parameters that are contained in USB descriptors. This value applies to KMDF only.

WdfUsbTargetDeviceSelectConfigTypeUrb

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

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

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft