The CLUSCTL_NETINTERFACE_GET_NETWORK control code is used to retrieve the name of the network to which a network interface is connected.
Type: | External |
Access: | CLUS_ACCESS_READ |
Input: | None |
Output: | Null-terminated Unicode string |
Global: | CLUS_NOT_GLOBAL |
Modify: | CLUS_NO_MODIFY |
Code: | CLCTL_GET_NETWORK |
The network name is stored in the network interface's Network property. To retrieve the Network property along with the other common read-only properties for network interfaces, call ClusterNetInterfaceControl with the CLUSCTL_NETINTERFACE_GET_RO_COMMON_PROPERTIES control code.