// 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
No description available.
[Applies to KMDF and UMDF]
The WDF_USB_DEVICE_CREATE_CONFIG_INIT function initializes a WDF_USB_DEVICE_CREATE_CONFIG structure.
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.
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.
WdfUsbTargetDeviceCreateWithParameters