WDF_DRIVER_VERSION_AVAILABLE_PARAMS_INIT - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdfdriver-wdf_driver_version_available_params_init)

WDF_DRIVER_VERSION_AVAILABLE_PARAMS_INIT function

Description

[Applies to KMDF and UMDF]

The WDF_DRIVER_VERSION_AVAILABLE_PARAMS_INIT function initializes a WDF_DRIVER_VERSION_AVAILABLE_PARAMS structure.

Parameters

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.

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.

See also

WDF_DRIVER_VERSION_AVAILABLE_PARAMS