Platform SDK: Internet Protocol Helper

Managing Network Adapters

IP Helper provides capabilities for managing network adapters. The functions described following are used to retrieve information about the network adapters in the local computer.

The GetAdaptersInfo function returns an array of IP_ADAPTER_INFO structures, one for each adapter in the local computer. The GetPerAdapterInfo function returns additional information about a specific adapter. The GetPerAdapterInfo function requires the caller to specify the index of the adapter. To obtain the adapter index from the adapter name, use the GetAdapterIndex function.

Some applications use adapters that can receive datagrams, but cannot transmit them. To obtain information about such adapters, use the GetUniDirectionalAdapterInfo function.