Skip to content

Latest commit

 

History

History
83 lines (62 loc) · 3.4 KB

nf-cfgmgr32-cm_is_version_available.md

File metadata and controls

83 lines (62 loc) · 3.4 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:cfgmgr32.CM_Is_Version_Available
CM_Is_Version_Available function (cfgmgr32.h)
The CM_Is_Version_Available function indicates whether a specified version of the Plug and Play (PnP) Configuration Manager DLL (Cfgmgr32.dll) is supported by a local machine.
CM_Is_Version_Available
CM_Is_Version_Available function [Device and Driver Installation]
cfgmgr32/CM_Is_Version_Available
cfgmgrfn_dfae29e5-44ab-4bbc-b104-5ccd4914eea0.xml
devinst.cm_is_version_available
devinst\cm_is_version_available.htm
devinst
a7a1e8d0-7645-423a-8123-a58ed7ae9827
12/05/2018
CM_Is_Version_Available, CM_Is_Version_Available function [Device and Driver Installation], cfgmgr32/CM_Is_Version_Available, cfgmgrfn_dfae29e5-44ab-4bbc-b104-5ccd4914eea0.xml, devinst.cm_is_version_available
cfgmgr32.h
Cfgmgr32.h
Desktop
Available in Windows XP and later versions of Windows.
Cfgmgr32.lib
Cfgmgr32.dll
Windows
19H1
CM_Is_Version_Available
cfgmgr32/CM_Is_Version_Available
c++
APIRef
kbSyntax
DllExport
Cfgmgr32.dll
CM_Is_Version_Available

CM_Is_Version_Available function

-description

[Beginning with Windows 8 and Windows Server 2012, this function has been deprecated and should not be used.]

The CM_Is_Version_Available function indicates whether a specified version of the Plug and Play (PnP) Configuration Manager DLL (Cfgmgr32.dll) is supported by a local machine.

-parameters

-param wVersion [in]

Identifies a version of the configuration manager. The supported version of the configuration manager corresponds directly to the operating system version. The major version is specified by the high-order byte and the minor version is specified by the low-order byte.

For example, 0x0400 specifies version 4.0, which is supported by default by Microsoft Windows 2000 and later versions of Windows. 0x0501 specifies version 5.1, which is supported by Windows XP and later versions of Windows.

-returns

The function returns TRUE if the local machine supports the specified version of the configuration manager. Otherwise, the function returns FALSE.

-remarks

Use this function to determine whether a specified version of the configuration manager is supported by a local machine. If the specified version is supported, all versions earlier and including this version are supported by the machine. You can also use CM_Is_Version_Available_Ex to determine if a local or a remote machine supports a specific version of the configuration manager.

-see-also

CM_Get_Version

CM_Get_Version_Ex

CM_Is_Version_Available_Ex