Export (0) Print
Expand All

WDF_DRIVER_VERSION_AVAILABLE_PARAMS_INIT function

[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

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.

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

Minimum KMDF version

1.0

Minimum UMDF version

2.0

Header

Wdfdriver.h (include Wdf.h)

See also

WDF_DRIVER_VERSION_AVAILABLE_PARAMS

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft