Skip to content

Latest commit

 

History

History
111 lines (77 loc) · 3.94 KB

ns-iptypes-ip_adapter_prefix_xp.md

File metadata and controls

111 lines (77 loc) · 3.94 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NS:iptypes._IP_ADAPTER_PREFIX_XP
IP_ADAPTER_PREFIX_XP (iptypes.h)
Stores an IP address prefix.I
*PIP_ADAPTER_PREFIX
*PIP_ADAPTER_PREFIX_XP
IP_ADAPTER_PREFIX
IP_ADAPTER_PREFIX structure [IP Helper]
IP_ADAPTER_PREFIX_XP
PIP_ADAPTER_PREFIX
PIP_ADAPTER_PREFIX structure pointer [IP Helper]
iphlp.ip_adapter_prefix
iptypes/IP_ADAPTER_PREFIX
iptypes/PIP_ADAPTER_PREFIX
iphlp\ip_adapter_prefix.htm
IpHlp
680b412d-2352-421d-ae58-dcf34ee6cf31
12/05/2018
*PIP_ADAPTER_PREFIX, *PIP_ADAPTER_PREFIX_XP, IP_ADAPTER_PREFIX, IP_ADAPTER_PREFIX structure [IP Helper], IP_ADAPTER_PREFIX_XP, PIP_ADAPTER_PREFIX, PIP_ADAPTER_PREFIX structure pointer [IP Helper], iphlp.ip_adapter_prefix, iptypes/IP_ADAPTER_PREFIX, iptypes/PIP_ADAPTER_PREFIX
iptypes.h
Iphlpapi.h
Windows
Windows Vista, Windows XP with SP1 [desktop apps only]
Windows Server 2003 [desktop apps only]
Windows
IP_ADAPTER_PREFIX_XP, *PIP_ADAPTER_PREFIX_XP
19H1
_IP_ADAPTER_PREFIX_XP
iptypes/_IP_ADAPTER_PREFIX_XP
PIP_ADAPTER_PREFIX_XP
iptypes/PIP_ADAPTER_PREFIX_XP
IP_ADAPTER_PREFIX_XP
iptypes/IP_ADAPTER_PREFIX_XP
c++
APIRef
kbSyntax
HeaderDef
Iptypes.h
IP_ADAPTER_PREFIX

IP_ADAPTER_PREFIX_XP structure

-description

The IP_ADAPTER_PREFIX structure stores an IP address prefix.

-struct-fields

-field Alignment

Reserved. Used by the compiler to align the structure.

-field Length

The length, in bytes, of this structure.

-field Flags

This member is reserved and should be set to zero.

-field Next

A pointer to the next adapter prefix structure in the list.

-field Address

The address prefix, in the form of a SOCKET_ADDRESS structure.

-field PrefixLength

The length of the prefix, in bits.

-remarks

The IP_ADAPTER_ADDRESSES structure is retrieved by the GetAdaptersAddresses function. On Windows XP with Service Pack 1 (SP1) and later, the FirstPrefix member of the IP_ADAPTER_ADDRESSES structure is a pointer to a linked list of IP_ADAPTER_PREFIX structures.

The SOCKET_ADDRESS structure is used in the IP_ADAPTER_PREFIX structure. On the Microsoft Windows Software Development Kit (SDK) released for Windows Vista and later, the organization of header files has changed and the SOCKET_ADDRESS structure is defined in the Ws2def.h header file which is automatically included by the Winsock2.h header file. On the Platform Software Development Kit (SDK) released for Windows Server 2003 and Windows XP, the SOCKET_ADDRESS structure is declared in the Winsock2.h header file. In order to use the IP_ADAPTER_PREFIX structure, the Winsock2.h header file must be included before the Iphlpapi.h header file.

-see-also

GetAdaptersAddresses

IP Helper Start Page

IP Helper Structures

IP_ADAPTER_ADDRESSES

SOCKET_ADDRESS