Partager via


Getting Network Interface Information

The following table lists network interface–related information and objects and the recommended API elements for obtaining them. If the specified API element does not have an example, look in the Index of Examples for a similar API element.

Information or Object to Get API element to Use
Cluster that contains the network interface GetClusterFromNetInterface
GUID identifying the network interface CLUSCTL_NETINTERFACE_GET_ID
Name of the network interface CLUSCTL_NETINTERFACE_GET_NAME
Network to which the network interface is attached CLUSCTL_NETINTERFACE_GET_NETWORK
Node to which the network interface is attached CLUSCTL_NETINTERFACE_GET_NODE
Properties of the network interface CLUSCTL_NETINTERFACE_GET_COMMON_PROPERTIES, CLUSCTL_NETINTERFACE_GET_RO_COMMON_PROPERTIES, CLUSCTL_NETINTERFACE_GET_PRIVATE_PROPERTIES, CLUSCTL_NETINTERFACE_GET_RO_PRIVATE_PROPERTIES,
Property names CLUSCTL_NETINTERFACE_ENUM_COMMON_PROPERTIES, CLUSCTL_NETINTERFACE_ENUM_PRIVATE_PROPERTIES
State of the network interface GetClusterNetInterfaceState

 

For additional network interface-related APIs elements, see Network Interface Management Functions and Network Interface Control Codes.