WDF_USB_DEVICE_INFORMATION_INIT function
[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
- Udi [out]
-
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
Minimum KMDF version | 1.0 |
---|---|
Minimum UMDF version | 2.0 |
Header |
|
See also
Show: