OpenClusterGroupSet function (clusapi.h)

Opens a handle to the specified groupset.

Syntax

HGROUPSET OpenClusterGroupSet(
  [in] HCLUSTER hCluster,
  [in] LPCWSTR  lpszGroupSetName
);

Parameters

[in] hCluster

A handle to the cluster containing the collection.

[in] lpszGroupSetName

The name of the collection to be opened

Return value

If the operation succeeds, the function returns a groupset handle.

If the operation fails, the function 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