WDF_USB_DEVICE_TRAITS enumeration (wdfusb.h)

[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 = 0x00000001,
  WDF_USB_DEVICE_TRAIT_REMOTE_WAKE_CAPABLE = 0x00000002,
  WDF_USB_DEVICE_TRAIT_AT_HIGH_SPEED = 0x00000004
} WDF_USB_DEVICE_TRAITS;

Constants

 
WDF_USB_DEVICE_TRAIT_SELF_POWERED
Value: 0x00000001
The device is self-powered.
WDF_USB_DEVICE_TRAIT_REMOTE_WAKE_CAPABLE
Value: 0x00000002
The device has a remote wakeup capability.
WDF_USB_DEVICE_TRAIT_AT_HIGH_SPEED
Value: 0x00000004
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

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

See also

WDF_USB_DEVICE_INFORMATION