PCLUSTER_UPGRADE_PROGRESS_CALLBACK callback function (clusapi.h)

Retrieves status information for a rolling upgrade of the operating system on a cluster. PCLUSTER_UPGRADE_PROGRESS_CALLBACK type defines a pointer to this function.

Syntax

PCLUSTER_UPGRADE_PROGRESS_CALLBACK PclusterUpgradeProgressCallback;

BOOL PclusterUpgradeProgressCallback(
  PVOID pvCallbackArg,
  CLUSTER_UPGRADE_PHASE eUpgradePhase
)
{...}

Parameters

pvCallbackArg

A pointer to the arguments.

eUpgradePhase

A CLUSTER_UPGRADE_PHASE enumeration values that indicates the state of the rolling upgrade.

Return value

This function returns one of the following values:

Return code Description
TRUE
The operation was successful.
FALSE
The operation was not successful.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2016
Target Platform Windows
Header clusapi.h (include CluAPI.h)

See also

ClusterUpgradeFunctionalLevel

Failover Cluster Management Functions