_WDF_USB_DEVICE_TRAITS Enumeration

[Applies to KMDF and UMDF]

The WDF_USB_DEVICE_TRAITS enumeration identifies USB device traits.

Syntax

typedef enum _WDF_USB_DEVICE_TRAITS {
  WDF_USB_DEVICE_TRAIT_SELF_POWERED         ,
  WDF_USB_DEVICE_TRAIT_REMOTE_WAKE_CAPABLE  ,
  WDF_USB_DEVICE_TRAIT_AT_HIGH_SPEED
} WDF_USB_DEVICE_TRAITS;

Constants

WDF_USB_DEVICE_TRAIT_SELF_POWERED The device is self-powered.
WDF_USB_DEVICE_TRAIT_REMOTE_WAKE_CAPABLE The device has a remote wakeup capability.
WDF_USB_DEVICE_TRAIT_AT_HIGH_SPEED The device is operating at high speed or SuperSpeed.

Remarks

The WDF_USB_DEVICE_TRAITS enumeration is used in the WDF_USB_DEVICE_INFORMATION structure.

Requirements

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

See Also

WDF_USB_DEVICE_INFORMATION