CLUSTER_GET_MAJOR_VERSION macro (clusapi.h)

Extracts the major version portion of a Cluster service version number.

Syntax

void CLUSTER_GET_MAJOR_VERSION(
   _ver
);

Parameters

_ver

Cluster service version number.

Return value

None

Remarks

Cluster service version numbers are obtained from the NodeHighestVersion and NodeLowestVersion properties as well as the function GetClusterInformation. For more information, see Version Compatibility.

In Windows Server 2016 Minor version has been renamed to upgrade version, but the CLUSTER_GET_MINOR_VERSION macro remains for compatibility.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008 Enterprise, Windows Server 2008 Datacenter
Target Platform Windows
Header clusapi.h

See also

CLUSTER_GET_MINOR_VERSION

CLUSTER_GET_UPGRADE_VERSION

CLUSTER_MAKE_VERSION