IP_PER_ADAPTER_INFO_W2KSP1 structure (iptypes.h)

The IP_PER_ADAPTER_INFO structure contains information specific to a particular adapter.

Syntax

typedef struct _IP_PER_ADAPTER_INFO_W2KSP1 {
  UINT            AutoconfigEnabled;
  UINT            AutoconfigActive;
  PIP_ADDR_STRING CurrentDnsServer;
  IP_ADDR_STRING  DnsServerList;
} IP_PER_ADAPTER_INFO_W2KSP1, *PIP_PER_ADAPTER_INFO_W2KSP1;

Members

AutoconfigEnabled

Specifies whether IP address auto-configuration (APIPA) is enabled on this adapter. See Remarks.

AutoconfigActive

Specifies whether this adapter's IP address is currently auto-configured by APIPA.

CurrentDnsServer

Reserved. Use the DnsServerList member to obtain the DNS servers for the local computer.

DnsServerList

A linked list of IP_ADDR_STRING structures that specify the set of DNS servers used by the local computer.

Remarks

APIPA enables automatic IP address configuration on networks without DHCP servers, using the IANA-reserved Class B network 169.254.0.0, with a subnet mask of 255.255.0.0. Clients send ARP messages to ensure the selected address is not currently in use. Clients auto-configured in this fashion continue to poll for a valid DHCP server every five minutes, and if found, the DHCP server configuration overrides all auto-configuration settings.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header iptypes.h (include Iphlpapi.h)

See also

GetPerAdapterInfo

IP Helper Start Page

IP Helper Structures

IP_ADDR_STRING