The ClusterOpenEnum function opens an enumerator for iterating through objects in a cluster.
HCLUSENUM WINAPI ClusterOpenEnum(
HCLUSTER hCluster,
DWORD dwType
);
If the operation was successful, ClusterOpenEnum returns a handle to a cluster enumerator.
Applications call the ClusterOpenEnum function to create a particular type of enumerator. ClusterOpenEnum can create enumerators for iterating through groups, nodes, resource types, and/or resources. For example, an application can call ClusterOpenEnum to get an enumeration of all of the nodes and groups in a cluster by specifying CLUSTER_ENUM_GROUP | CLUSTER_ENUM_NODE in the dwType parameter. ClusterOpenEnum returns a handle that can be passed to ClusterEnum to access each of the cluster groups or nodes and to ClusterCloseEnum to release the enumerator.
Version: Use Windows NT Server Enterprise Edition 4.0.
Windows CE: Unsupported.
Header: Declared in clusapi.h.