OpenClusterNetwork function (clusapi.h)
Opens a connection to a network and returns a handle to it. The PCLUSAPI_OPEN_CLUSTER_NETWORK type defines a pointer to this function.
HNETWORK OpenClusterNetwork(
[in] HCLUSTER hCluster,
[in] LPCWSTR lpszNetworkName
);
[in] hCluster
Handle to a cluster.
[in] lpszNetworkName
Pointer to the name of an existing network.
Return code | Description |
---|---|
|
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.
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 |