ClusterCloseEnum function

Closes a cluster enumeration handle originally opened by ClusterOpenEnum.

Syntax

DWORD ClusterCloseEnum(
  HCLUSENUM hEnum
);

Parameters

hEnum

Cluster enumeration handle to close. This is a handle originally returned by the ClusterOpenEnum function.

Return Value

If the operation succeeds, the function returns ERROR_SUCCESS.

If the operation fails, the function returns a system error code.

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

ClusterEnum

ClusterOpenEnum