WDF_USB_DEVICE_INFORMATION - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdfusb.h

typedef struct _WDF_USB_DEVICE_INFORMATION {
  ULONG                    Size;
  USBD_VERSION_INFORMATION UsbdVersionInformation;
  ULONG                    HcdPortCapabilities;
  ULONG                    Traits;
} WDF_USB_DEVICE_INFORMATION, *PWDF_USB_DEVICE_INFORMATION;

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-wdfusb-_wdf_usb_device_information)

_WDF_USB_DEVICE_INFORMATION structure

Description

[Applies to KMDF and UMDF]

The WDF_USB_DEVICE_INFORMATION structure contains version and capability information for a USB device.

Members

Size

The size, in bytes, of this structure.

UsbdVersionInformation

A USBD_VERSION_INFORMATION structure that provides version information for the host controller driver (HCD) and the USB specification version that the device supports.

HcdPortCapabilities

This member is reserved for system use.

Traits

A set of bit flags that identify device traits. The flags are defined by the WDF_USB_DEVICE_TRAITS enumeration.

Remarks

The WDF_USB_DEVICE_INFORMATION structure is filled in by the WdfUsbTargetDeviceRetrieveInformation method. Before calling WdfUsbTargetDeviceRetrieveInformation, the driver must call WDF_USB_DEVICE_INFORMATION_INIT to initialize the structure.

See also

USBD_VERSION_INFORMATION

WDF_USB_DEVICE_INFORMATION_INIT

WDF_USB_DEVICE_TRAITS

WdfUsbTargetDeviceRetrieveInformation