GetClusterFromGroupSet function (clusapi.h)

Returns a handle to the cluster associated with a group set. The PCLUSAPI_GET_CLUSTER_FROM_GROUP_GROUPSET type defines a pointer to this function.

Syntax

HCLUSTER GetClusterFromGroupSet(
  [in] [in] HGROUPSET hGroupSet
);

Parameters

[in] [in] hGroupSet

A handle to the collection to be deleted

Return value

If the operation succeeds, the function returns a handle to the cluster that owns the group.

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 [desktop apps only]
Target Platform Windows
Header clusapi.h
Library ClusAPI.lib
DLL ClusAPI.dll