Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CloseCluster function

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

Syntax


BOOL WINAPI CloseCluster(
  _In_ HCLUSTER hCluster
);

typedef BOOL (WINAPI *PCLUSAPI_CLOSE_CLUSTER)(
    _In_ HCLUSTER hCluster
);

Parameters

hCluster [in]

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

Header

ClusAPI.h

Library

ClusAPI.lib

DLL

ClusAPI.dll

See also

CreateCluster
OpenCluster

 

 

Show: