; --------------------------------------------------------------------------------------------------
;                          iphlpapi.inc Copyright The MASM32 SDK 1998-2010
; --------------------------------------------------------------------------------------------------

IFNDEF IPHLPAPI_INC
IPHLPAPI_INC equ <1>

AddIPAddress PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
AllocateAndGetArpEntTableFromStack PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
AllocateAndGetIfTableFromStack PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
AllocateAndGetIpAddrTableFromStack PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
AllocateAndGetIpForwardTableFromStack PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
AllocateAndGetIpNetTableFromStack PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
AllocateAndGetTcpExTable2FromStack PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
AllocateAndGetTcpExTableFromStack PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
AllocateAndGetTcpTableFromStack PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
AllocateAndGetUdpExTable2FromStack PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
AllocateAndGetUdpExTableFromStack PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
AllocateAndGetUdpTableFromStack PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
CancelIPChangeNotify PROTO STDCALL :DWORD
CreateIpForwardEntry PROTO STDCALL :DWORD
CreateIpNetEntry PROTO STDCALL :DWORD
CreateProxyArpEntry PROTO STDCALL :DWORD,:DWORD,:DWORD
DeleteIPAddress PROTO STDCALL :DWORD
DeleteIpForwardEntry PROTO STDCALL :DWORD
DeleteIpNetEntry PROTO STDCALL :DWORD
DeleteProxyArpEntry PROTO STDCALL :DWORD,:DWORD,:DWORD
DisableMediaSense PROTO STDCALL :DWORD,:DWORD
EnableRouter PROTO STDCALL :DWORD,:DWORD
FlushIpNetTable PROTO STDCALL :DWORD
FlushIpNetTableFromStack PROTO STDCALL :DWORD
GetAdapterIndex PROTO STDCALL :DWORD,:DWORD
GetAdapterOrderMap PROTO STDCALL
GetAdaptersAddresses PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
GetAdaptersInfo PROTO STDCALL :DWORD,:DWORD
GetBestInterface PROTO STDCALL :DWORD,:DWORD
GetBestInterfaceEx PROTO STDCALL :DWORD,:DWORD
GetBestInterfaceFromStack PROTO STDCALL :DWORD,:DWORD
GetBestRoute PROTO STDCALL :DWORD,:DWORD,:DWORD
GetBestRouteFromStack PROTO STDCALL :DWORD,:DWORD,:DWORD
GetExtendedTcpTable PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
GetExtendedUdpTable PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
GetFriendlyIfIndex PROTO STDCALL :DWORD
GetIcmpStatistics PROTO STDCALL :DWORD
GetIcmpStatisticsEx PROTO STDCALL :DWORD,:DWORD
GetIcmpStatsFromStack PROTO STDCALL :DWORD
GetIcmpStatsFromStackEx PROTO STDCALL :DWORD,:DWORD
GetIfEntry PROTO STDCALL :DWORD
GetIfEntryFromStack PROTO STDCALL :DWORD,:DWORD,:DWORD
GetIfTable PROTO STDCALL :DWORD,:DWORD,:DWORD
GetIfTableFromStack PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
GetIgmpList PROTO STDCALL :DWORD,:DWORD,:DWORD
GetInterfaceInfo PROTO STDCALL :DWORD,:DWORD
GetIpAddrTable PROTO STDCALL :DWORD,:DWORD,:DWORD
GetIpAddrTableFromStack PROTO STDCALL :DWORD,:DWORD,:DWORD
GetIpErrorString PROTO STDCALL :DWORD,:DWORD,:DWORD
GetIpForwardTable PROTO STDCALL :DWORD,:DWORD,:DWORD
GetIpForwardTableFromStack PROTO STDCALL :DWORD,:DWORD,:DWORD
GetIpNetTable PROTO STDCALL :DWORD,:DWORD,:DWORD
GetIpNetTableFromStack PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
GetIpStatistics PROTO STDCALL :DWORD
GetIpStatisticsEx PROTO STDCALL :DWORD,:DWORD
GetIpStatsFromStack PROTO STDCALL :DWORD
GetIpStatsFromStackEx PROTO STDCALL :DWORD,:DWORD
GetNetworkParams PROTO STDCALL :DWORD,:DWORD
GetNumberOfInterfaces PROTO STDCALL :DWORD
GetOwnerModuleFromTcp6Entry PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
GetOwnerModuleFromTcpEntry PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
GetOwnerModuleFromUdp6Entry PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
GetOwnerModuleFromUdpEntry PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
GetPerAdapterInfo PROTO STDCALL :DWORD,:DWORD,:DWORD
GetRTTAndHopCount PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
GetTcpExTable2FromStack PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
GetTcpStatistics PROTO STDCALL :DWORD
GetTcpStatisticsEx PROTO STDCALL :DWORD,:DWORD
GetTcpStatsFromStack PROTO STDCALL :DWORD
GetTcpStatsFromStackEx PROTO STDCALL :DWORD,:DWORD
GetTcpTable PROTO STDCALL :DWORD,:DWORD,:DWORD
GetTcpTableFromStack PROTO STDCALL :DWORD,:DWORD,:DWORD
GetUdpExTable2FromStack PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
GetUdpStatistics PROTO STDCALL :DWORD
GetUdpStatisticsEx PROTO STDCALL :DWORD,:DWORD
GetUdpStatsFromStack PROTO STDCALL :DWORD
GetUdpStatsFromStackEx PROTO STDCALL :DWORD,:DWORD
GetUdpTable PROTO STDCALL :DWORD,:DWORD,:DWORD
GetUdpTableFromStack PROTO STDCALL :DWORD,:DWORD,:DWORD
GetUniDirectionalAdapterInfo PROTO STDCALL :DWORD,:DWORD
Icmp6CreateFile PROTO STDCALL
Icmp6ParseReplies PROTO STDCALL :DWORD,:DWORD
Icmp6SendEcho2 PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IcmpCloseHandle PROTO STDCALL :DWORD
IcmpCreateFile PROTO STDCALL
IcmpParseReplies PROTO STDCALL :DWORD,:DWORD
IcmpSendEcho2 PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IcmpSendEcho PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
InternalCreateIpForwardEntry PROTO STDCALL :DWORD
InternalCreateIpNetEntry PROTO STDCALL :DWORD
InternalDeleteIpForwardEntry PROTO STDCALL :DWORD
InternalDeleteIpNetEntry PROTO STDCALL :DWORD
InternalGetIfTable PROTO STDCALL :DWORD,:DWORD,:DWORD
InternalGetIpAddrTable PROTO STDCALL :DWORD,:DWORD,:DWORD
InternalGetIpForwardTable PROTO STDCALL :DWORD,:DWORD,:DWORD
InternalGetIpNetTable PROTO STDCALL :DWORD,:DWORD,:DWORD
InternalGetTcpTable PROTO STDCALL :DWORD,:DWORD,:DWORD
InternalGetUdpTable PROTO STDCALL :DWORD,:DWORD,:DWORD
InternalSetIfEntry PROTO STDCALL :DWORD
InternalSetIpForwardEntry PROTO STDCALL :DWORD
InternalSetIpNetEntry PROTO STDCALL :DWORD
InternalSetIpStats PROTO STDCALL :DWORD
InternalSetTcpEntry PROTO STDCALL :DWORD
IpReleaseAddress PROTO STDCALL :DWORD
IpRenewAddress PROTO STDCALL :DWORD
IsLocalAddress PROTO STDCALL :DWORD
NTPTimeToNTFileTime PROTO STDCALL :DWORD,:DWORD,:DWORD
NTTimeToNTPTime PROTO STDCALL :DWORD,:DWORD
NhGetGuidFromInterfaceName PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
NhGetInterfaceNameFromDeviceGuid PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
NhGetInterfaceNameFromGuid PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
NhpAllocateAndGetInterfaceInfoFromStack PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
NhpGetInterfaceIndexFromStack PROTO STDCALL :DWORD,:DWORD
NotifyAddrChange PROTO STDCALL :DWORD,:DWORD
NotifyRouteChange PROTO STDCALL :DWORD,:DWORD
NotifyRouteChangeEx PROTO STDCALL :DWORD,:DWORD,:DWORD
PfAddFiltersToInterface PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
PfAddGlobalFilterToInterface PROTO STDCALL :DWORD,:DWORD
PfBindInterfaceToIPAddress PROTO STDCALL :DWORD,:DWORD,:DWORD
PfBindInterfaceToIndex PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
PfCreateInterface PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
PfDeleteInterface PROTO STDCALL :DWORD
PfDeleteLog PROTO STDCALL
PfGetInterfaceStatistics PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
PfMakeLog PROTO STDCALL :DWORD
PfRebindFilters PROTO STDCALL :DWORD,:DWORD
PfRemoveFilterHandles PROTO STDCALL :DWORD,:DWORD,:DWORD
PfRemoveFiltersFromInterface PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
PfRemoveGlobalFilterFromInterface PROTO STDCALL :DWORD,:DWORD
PfSetLogBuffer PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
PfTestPacket PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
PfUnBindInterface PROTO STDCALL :DWORD
RestoreMediaSense PROTO STDCALL :DWORD,:DWORD
SendARP PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
SetAdapterIpAddress PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
SetBlockRoutes PROTO STDCALL :DWORD,:DWORD,:DWORD
SetIfEntry PROTO STDCALL :DWORD
SetIfEntryToStack PROTO STDCALL :DWORD,:DWORD
SetIpForwardEntry PROTO STDCALL :DWORD
SetIpForwardEntryToStack PROTO STDCALL :DWORD
SetIpMultihopRouteEntryToStack PROTO STDCALL :DWORD
SetIpNetEntry PROTO STDCALL :DWORD
SetIpNetEntryToStack PROTO STDCALL :DWORD,:DWORD
SetIpRouteEntryToStack PROTO STDCALL :DWORD
SetIpStatistics PROTO STDCALL :DWORD
SetIpStatsToStack PROTO STDCALL :DWORD
SetIpTTL PROTO STDCALL :DWORD
SetProxyArpEntryToStack PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
SetRouteWithRef PROTO STDCALL :DWORD
SetTcpEntry PROTO STDCALL :DWORD
SetTcpEntryToStack PROTO STDCALL :DWORD
UnenableRouter PROTO STDCALL :DWORD,:DWORD
do_echo_rep PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
do_echo_req PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
register_icmp PROTO STDCALL

ELSE
  echo -------------------------------------------
  echo WARNING duplicate include file iphlpapi.inc
  echo -------------------------------------------
ENDIF
