WDF_USB_DEVICE_INFORMATION_INIT function (wdfusb.h)

[Applies to KMDF and UMDF]

The WDF_USB_DEVICE_INFORMATION_INIT function initializes a driver's WDF_USB_DEVICE_INFORMATION structure.

Syntax

void WDF_USB_DEVICE_INFORMATION_INIT(
  [out] PWDF_USB_DEVICE_INFORMATION Udi
);

Parameters

[out] Udi

A pointer to the driver's WDF_USB_DEVICE_INFORMATION structure.

Return value

None

Remarks

The WDF_USB_DEVICE_INFORMATION_INIT function zeros the WDF_USB_DEVICE_INFORMATION structure and sets its Size member to the size of the structure.

Examples

For a code example that usesWDF_USB_DEVICE_INFORMATION_INIT, see WdfUsbTargetDeviceRetrieveInformation.

Requirements

Requirement Value
Target Platform Universal
Minimum KMDF version 1.0
Minimum UMDF version 2.0
Header wdfusb.h (include Wdfusb.h)

See also

WDF_USB_DEVICE_INFORMATION