WDF_USB_DEVICE_CREATE_CONFIG_INIT - NtDoc

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

VOID WDF_USB_DEVICE_CREATE_CONFIG_INIT(
  [out] PWDF_USB_DEVICE_CREATE_CONFIG Config,
  [in]  ULONG                         USBDClientContractVersion
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdfusb-wdf_usb_device_create_config_init)

WDF_USB_DEVICE_CREATE_CONFIG_INIT function

Description

[Applies to KMDF and UMDF]

The WDF_USB_DEVICE_CREATE_CONFIG_INIT function initializes a WDF_USB_DEVICE_CREATE_CONFIG structure.

Parameters

Config [out]

A pointer to a WDF_USB_DEVICE_CREATE_CONFIG structure.

USBDClientContractVersion [in]

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

Remarks

The WDF_USB_DEVICE_CREATE_CONFIG_INIT function zeros the specified WDF_USB_DEVICE_CREATE_CONFIG structure and sets the Size member to the size of the structure. It also sets the structure's USBDClientContractVersion member to the specified value.

For a code example that uses WDF_USB_DEVICE_CREATE_CONFIG_INIT, see WdfUsbTargetDeviceCreateWithParameters.

See also

WDF_USB_DEVICE_CREATE_CONFIG

WdfUsbTargetDeviceCreateWithParameters