CreateClusterGroup

The CreateClusterGroup function adds a group to a cluster and returns a handle to the newly added group.

HGROUP WINAPI CreateClusterGroup(
  HCLUSTER hCluster,     
  LPCWSTR lpszGroupName  
);
 

Parameters

hCluster
[in] Handle to the target cluster.
lpszGroupName
[in] Pointer to the name of the group to be added to the cluster identified by hCluster. If there is not a group by this name, CreateClusterGroup creates it.

Return Values

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

If the operation was successful, CreateClusterGroup returns a group handle.

QuickInfo

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