OpenCluster

The OpenCluster function opens a connection to a cluster and returns a handle to it.

HCLUSTER WINAPI OpenCluster(
  LPCWSTR lpszClusterName  
);
 

Parameters

lpszClusterName
[in] Pointer to the name of an existing cluster or NULL, indicating that a handle to the cluster to which the local computer belongs should be returned.

Return Values

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

If the operation was successful, OpenCluster returns a cluster handle.

QuickInfo

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