ClusterGetEnumCount function (clusapi.h)

Returns the number of cluster objects associated with a cluster enumeration handle. The PCLUSAPI_CLUSTER_GET_ENUM_COUNT type defines a pointer to this function.

Syntax

DWORD ClusterGetEnumCount(
  [in] HCLUSENUM hEnum
);

Parameters

[in] hEnum

Handle to a cluster enumeration. This handle is obtained from ClusterOpenEnum. A valid handle is required. This parameter cannot be NULL.

Return value

ClusterGetEnumCount returns the number of objects associated with the enumeration handle.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008 Datacenter, Windows Server 2008 Enterprise
Target Platform Windows
Header clusapi.h
Library ClusAPI.lib
DLL ClusAPI.dll