OpenClusterNetwork function

Opens a connection to a network and returns a handle to it. The PCLUSAPI_OPEN_CLUSTER_NETWORK type defines a pointer to this function.

Syntax

HNETWORK OpenClusterNetwork(
  HCLUSTER hCluster,
  LPCWSTR  lpszNetworkName
);

Parameters

hCluster

Handle to a cluster.

lpszNetworkName

Pointer to the name of an existing network.

Return Value

Return code Description
NULL
The operation was not successful. For more information about the error, call the function GetLastError.
 

If the operation was successful, OpenClusterNetwork returns a network handle.

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

CloseClusterNetwork

Failover Cluster Network Management Functions

OpenClusterNetworkEx