Returns the current state of a network. The PCLUSAPI_GET_CLUSTER_NETWORK_STATE type defines a pointer to this function.
CLUSTER_NETWORK_STATE GetClusterNetworkState( HNETWORK hNetwork );
Handle to the network for which state information should be returned.
GetClusterNetworkState returns the current state of the network, which is represented by one of the following values enumerated by the CLUSTER_NETWORK_STATE enumeration.
||All of the network interfaces on the network are unavailable, which means that the nodes that own the network interfaces are down.|
||The network is not operational; none of the nodes on the network can communicate.|
||The network is operational, but two or more nodes on the network cannot communicate. Typically a path-specific problem has occurred.|
||The network is operational; all of the nodes in the cluster can communicate.|
||The operation was not successful. For more information about the error, call the function GetLastError.|
|Minimum supported client||None supported|
|Minimum supported server||Windows Server 2008 Enterprise, Windows Server 2008 Datacenter|