CreateClusterGroupSet function (clusapi.h)

Adds a groupset to a cluster and returns a handle to the newly added groupset.

Syntax

HGROUPSET CreateClusterGroupSet(
  [in] HCLUSTER hCluster,
  [in] LPCWSTR  groupSetName
);

Parameters

[in] hCluster

A handle to the target cluster.

[in] groupSetName

Pointer to a null-terminated Unicode string containing the name of the groupset to be added.

Return value

If the operation succeeds, returns a groupset handle.

If the operation fails, returns NULL. For more information about the error, call GetLastError.

Requirements

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