WDF_DRIVER_VERSION_AVAILABLE_PARAMS_INIT function (wdfdriver.h)
[Applies to KMDF and UMDF]
The WDF_DRIVER_VERSION_AVAILABLE_PARAMS_INIT function initializes a WDF_DRIVER_VERSION_AVAILABLE_PARAMS structure.
Syntax
void WDF_DRIVER_VERSION_AVAILABLE_PARAMS_INIT(
[out] PWDF_DRIVER_VERSION_AVAILABLE_PARAMS Params,
[in] ULONG MajorVersion,
[in] ULONG MinorVersion
);
Parameters
[out] Params
A pointer to a WDF_DRIVER_VERSION_AVAILABLE_PARAMS structure.
[in] MajorVersion
A numeric value that represents the Kernel-Mode Driver Framework library's major version number.
[in] MinorVersion
A numeric value that represents the Kernel-Mode Driver Framework library's minor version number.
Return value
None
Remarks
The WDF_DRIVER_VERSION_AVAILABLE_PARAMS_INIT function zeros the WDF_DRIVER_VERSION_AVAILABLE_PARAMS structure that the Params parameter points to and sets the structure's Size member. Then, this function sets the structure's MajorVersion and MinorVersion members to the specified values.
Examples
For a code example that uses WDF_DRIVER_VERSION_AVAILABLE_PARAMS_INIT, see WdfDriverIsVersionAvailable.
Requirements
Requirement | Value |
---|---|
Target Platform | Universal |
Minimum KMDF version | 1.0 |
Minimum UMDF version | 2.0 |
Header | wdfdriver.h (include Wdf.h) |