ClusterResourceGetEnumCount function (clusapi.h)

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


DWORD ClusterResourceGetEnumCount(
  [in] HRESENUM hResEnum


[in] hResEnum

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

Return value

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


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