Platform SDK: Internet Protocol Helper |
IP Helper extends your abilities to manage network interfaces. Use the functions described following to manage interfaces on the local computer.
Interfaces are related to adapters in that there is a one-to-one correspondence between the interfaces and adapters on a given computer. An interface is an IP-level abstraction, whereas an adapter is a datalink-level abstraction.
The GetNumberOfInterfaces function returns the number of interfaces on the local computer.
The GetInterfaceInfo function returns a table that contains the names and corresponding indexes for the interfaces on the local computer.
The GetFriendlyIfIndex function takes an interface index and returns a backward-compatible interface index, that is, one that uses only the lower 24 bits. This type of index is sometimes referred to as a "friendly" interface index.
The GetIfEntry function returns a MIB_IFROW structure that contains information about a particular interface on the local computer. This function requires the caller to supply the index of the interface.
The GetIfTable function returns a table of MIB_IFROW entries, one for each interface on the computer.
Use the SetIfEntry function to modify the configuration of a particular interface.