Bewerken

Delen via


IWDFDriver::IsVersionAvailable method (wudfddi.h)

[Warning: UMDF 2 is the latest version of UMDF and supersedes UMDF 1. All new UMDF drivers should be written using UMDF 2. No new features are being added to UMDF 1 and there is limited support for UMDF 1 on newer versions of Windows 10. Universal Windows drivers must use UMDF 2. For more info, see Getting Started with UMDF.]

The IsVersionAvailable method determines whether the specified version of the framework is available.

Syntax

BOOL IsVersionAvailable(
  [in] UMDF_VERSION_DATA *pMinimumVersion
);

Parameters

[in] pMinimumVersion

A pointer to a UMDF_VERSION_DATA structure that describes the minimum version of the framework that the driver supports.

Return value

IsVersionAvailable returns a BOOL value that indicates whether the given version of the framework is available. TRUE indicates the version of the framework is available. FALSE indicates the version of the framework is not available.

Requirements

Requirement Value
End of support Unavailable in UMDF 2.0 and later.
Target Platform Desktop
Minimum UMDF version 1.5
Header wudfddi.h (include Wudfddi.h)
DLL WUDFx.dll

See also

IWDFDriver

UMDF_VERSION_DATA