Export (0) Print
Expand All

OpenClusterGroup function

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

Syntax


HGROUP WINAPI OpenClusterGroup(
  _In_ HCLUSTER hCluster,
  _In_ LPCWSTR  lpszGroupName
);

typedef HGROUP (WINAPI *PCLUSAPI_OPEN_CLUSTER_GROUP)(
    _In_     HCLUSTER hCluster,
    _In_opt_ LPCWSTR  lpszGroupName
);

Parameters

hCluster [in]

Handle to a cluster that includes the group to open.

lpszGroupName [in]

Name of the group to open.

Return value

Return codeDescription
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.

Examples

See Using Object Handles.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2003 Enterprise, Windows Server 2003 Datacenter

Header

ClusAPI.h

Library

ClusAPI.lib

DLL

ClusAPI.dll

See also

Group Management Functions
CloseClusterGroup
OpenClusterGroupEx

 

 

Show:
© 2015 Microsoft