IPHlpAPI

IP Helper API (IPHlpAPI)

This library contains many routes for querying the IP-related state of the machine:

  • the network adapters, MAC addresses, IP addresses, even active UDP and TCP connections.

It also contains functions for setting some of that state. In Wine's implementation, most of the documented query functions are implemented, and some undocumented ones are too. The set functions are stubs, however: the UNIX equivalent of these functions typically requires the user to be root, and we strongly discourage Wine users from running programs as root.

TODO

GetAdaptersAddresses

This function, introduced in Windows XP, is missing from Wine's iphlpapi. It's similar to GetAdaptersInfo, which is implemented in Wine, but it allows querying the IPv6 addresses of an adapter, while GetAdaptersInfo is limited to IPv4 addresses. Part of implementing this will require switching from the current method of querying the IP addresses on a system (using the SIOCGIFCONF ioctl) to getifaddrs, when it's available.

IPHlpAPI (last edited 2008-05-03 03:59:09 by nathan.n)