Expand Minimize

WDF_USB_DEVICE_CREATE_CONFIG_INIT function

[Applies to KMDF and UMDF]

The WDF_USB_DEVICE_CREATE_CONFIG_INIT function initializes a WDF_USB_DEVICE_CREATE_CONFIG structure.

Syntax


void WDF_USB_DEVICE_CREATE_CONFIG_INIT(
  _Out_  PWDF_USB_DEVICE_CREATE_CONFIG Config,
  _In_   ULONG USBDClientContractVersion
);

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.

Return value

This function does not return a value.

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.

Requirements

Minimum support

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
WdfUsbTargetDeviceCreateWithParameters

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft. All rights reserved.