OpenClusterNetwork

The OpenClusterNetwork function opens a connection to a network and returns a handle to it.

HNETWORK WINAPI OpenClusterNetwork(
  HCLUSTER hCluster,
  LPCWSTR lpszNetworkName
);
 

Parameters

hCluster
[in] Handle to a network.
lpszNetworkName
[in] Pointer to the name of an existing network.

Return Values

NULL
The operation was unsuccessful. For more detailed information about the error, call the Win32 function GetLastError.

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

QuickInfo

  Version: Use Windows NT Server Enterprise Edition 4.0.
  Windows CE: Unsupported.
  Header: Declared in clusapi.h.