ClusterNetworkCloseEnum function (clusapi.h)

Closes a network enumeration handle. The PCLUSAPI_CLUSTER_NETWORK_CLOSE_ENUM type defines a pointer to this function.

Syntax

DWORD ClusterNetworkCloseEnum(
  [in] HNETWORKENUM hNetworkEnum
);

Parameters

[in] hNetworkEnum

Handle to the network enumerator to close. This is a handle originally returned by the ClusterNetworkOpenEnum function.

Return value

If the operation succeeds, the function returns ERROR_SUCCESS.

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

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

ClusterNetworkEnum

ClusterNetworkOpenEnum