CloseCluster function

Closes a cluster handle. The PCLUSAPI_CLOSE_CLUSTER type defines a pointer to this function.

Syntax

BOOL CloseCluster(
  HCLUSTER hCluster
);

Parameters

hCluster

Handle to the cluster to close.

Return Value

This function always returns TRUE.

Remarks

Do not close a cluster handle if there are any object handles still in use that were obtained from the cluster handle. After a cluster handle has been closed, all handles obtained from that handle are invalid.

Examples

See Using Object Handles.

Requirements

   
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

CreateCluster

OpenCluster