OfflineClusterGroup function (clusapi.h)

Takes a group offline. The PCLUSAPI_OFFLINE_CLUSTER_GROUP type defines a pointer to this function.

Syntax

DWORD OfflineClusterGroup(
  [in] HGROUP hGroup
);

Parameters

[in] hGroup

Handle to the group to be taken offline.

Return value

If the operation succeeds, the function returns ERROR_SUCCESS.

If the operation fails, the function returns a system error code. The following is one of the possible error codes.

Return code Description
ERROR_IO_PENDING
The operation is in progress.

Remarks

Do not call OfflineClusterGroup from a resource DLL. For more information, see Function Calls to Avoid in Resource DLLs.

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

OnlineClusterGroup

OpenClusterGroup