WDF_USB_DEVICE_CREATE_CONFIG structure (wdfusb.h)

[Applies to KMDF and UMDF]

The WDF_USB_DEVICE_CREATE_CONFIG structure contains information that the framework uses to configure a framework USB device object.

Syntax

typedef struct _WDF_USB_DEVICE_CREATE_CONFIG {
  ULONG Size;
  ULONG USBDClientContractVersion;
} WDF_USB_DEVICE_CREATE_CONFIG, *PWDF_USB_DEVICE_CREATE_CONFIG;

Members

Size

The size, in bytes, of this structure.

USBDClientContractVersion

The contract version that the client driver supports. USBDClientContractVersion must be USBD_CLIENT_CONTRACT_VERSION_602.

Remarks

The WDF_USB_DEVICE_CREATE_CONFIG structure is used as input to the WdfUsbTargetDeviceCreateWithParameters method. To initialize a WDF_USB_DEVICE_CREATE_CONFIG structure, the driver must call WDF_USB_DEVICE_CREATE_CONFIG_INIT.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum KMDF version 1.11
Minimum UMDF version 2.0
Header wdfusb.h (include Wdfusb.h)

See also

WDF_USB_DEVICE_CREATE_CONFIG_INIT

WdfUsbTargetDeviceCreateWithParameters