ClusterGroupOpenEnum

The ClusterGroupOpenEnum function opens an enumerator for iterating through a group's resources and/or the nodes that are included in its list of possible owners.

HGROUPENUM WINAPI ClusterGroupOpenEnum(
  HGROUP hGroup,  
  DWORD dwType    
);
 

Parameters

hGroup
[in] Handle to the group to be enumerated.
dwType
[in] Bitmask describing the objects to be enumerated. Valid values are:
CLUSTER_GROUP_ENUM_CONTAINS
Enumerate all of the resources in the group identified by hGroup.
CLUSTER_GROUP_ENUM_NODES
Enumerate all of the nodes that are in the possible owners list of the group identified by hGroup.

Return Values

NULL
The operation was unsuccessful. For more detailed information about the error, call the Win32 function GetLastError.

If the operation was successful, ClusterGroupOpenEnum returns a handle to an enumerator that can be passed to the ClusterGroupEnum function.

QuickInfo

  Version: Use Windows NT Server Enterprise Edition 4.0.
  Windows CE: Unsupported.
  Header: Declared in clusapi.h.