// wdfdriver.h
VOID WDF_DRIVER_VERSION_AVAILABLE_PARAMS_INIT(
[out] PWDF_DRIVER_VERSION_AVAILABLE_PARAMS Params,
[in] ULONG MajorVersion,
[in] ULONG MinorVersion
);
View the official Windows Driver Kit DDI referenceNo description available.
[Applies to KMDF and UMDF]
The WDF_DRIVER_VERSION_AVAILABLE_PARAMS_INIT function initializes a WDF_DRIVER_VERSION_AVAILABLE_PARAMS structure.
Params [out]A pointer to a WDF_DRIVER_VERSION_AVAILABLE_PARAMS structure.
MajorVersion [in]A numeric value that represents the Kernel-Mode Driver Framework library's major version number.
MinorVersion [in]A numeric value that represents the Kernel-Mode Driver Framework library's minor version number.
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.
For a code example that uses WDF_DRIVER_VERSION_AVAILABLE_PARAMS_INIT, see WdfDriverIsVersionAvailable.
WDF_DRIVER_VERSION_AVAILABLE_PARAMS