Returns the current state of a network interface. The PCLUSAPI_GET_CLUSTER_NET_INTERFACE_STATE type defines a pointer to this function.
CLUSTER_NETINTERFACE_STATE GetClusterNetInterfaceState( HNETINTERFACE hNetInterface );
Handle to the network interface for which state information should be returned.
GetClusterNetInterfaceState returns the current state of the network interface, which is represented by one of the following values enumerated by the CLUSTER_NETINTERFACE_STATE enumeration.
||The network interface cannot communicate with any other network interface.|
||The network interface cannot communicate with at least one other network interface whose state is not ClusterNetInterfaceFailed or ClusterNetInterfaceUnavailable.|
||The network interface can communicate with all other network interfaces whose state is not ClusterNetInterfaceFailed or ClusterNetInterfaceUnavailable.|
||The node that owns the network interface is down.|
||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|