OpenClusterGroup function (clusapi.h)

Opens a failover cluster group and returns a handle to it.

Syntax

HGROUP OpenClusterGroup(
  [in] HCLUSTER hCluster,
  [in] LPCWSTR  lpszGroupName
);

Parameters

[in] hCluster

Handle to a cluster that includes the group to open.

[in] lpszGroupName

Name of the group to open.

Return value

Return code Description
NULL
The operation was not successful. For information about the error, call the function GetLastError.
 

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

Requirements

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

See also

CloseClusterGroup

Group Management Functions

OpenClusterGroupEx