WDF_DRIVER_VERSION_AVAILABLE_PARAMS structure (wdfdriver.h)
[Applies to KMDF and UMDF]
The WDF_DRIVER_VERSION_AVAILABLE_PARAMS structure specifies major and minor version numbers for the Kernel-Mode Driver Framework's library.
Syntax
typedef struct _WDF_DRIVER_VERSION_AVAILABLE_PARAMS {
ULONG Size;
ULONG MajorVersion;
ULONG MinorVersion;
} WDF_DRIVER_VERSION_AVAILABLE_PARAMS, *PWDF_DRIVER_VERSION_AVAILABLE_PARAMS;
Members
Size
The size, in bytes, of this structure.
MajorVersion
A numeric value that represents the Kernel-Mode Driver Framework library's major version number.
MinorVersion
A numeric value that represents the Kernel-Mode Driver Framework library's minor version number.
Remarks
The WDF_DRIVER_VERSION_AVAILABLE_PARAMS structure is used as input to the WdfDriverIsVersionAvailable method. Drivers should call WDF_DRIVER_VERSION_AVAILABLE_PARAMS_INIT to initialize this structure before calling WdfDriverIsVersionAvailable.
Requirements
Requirement | Value |
---|---|
Minimum KMDF version | 1.0 |
Minimum UMDF version | 2.0 |
Header | wdfdriver.h (include Wdf.h) |