Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

325 lines
5.3 KiB

#include "netpch.h"
#pragma hdrstop
#include <winsock2.h>
#include <iphlpapi.h>
static
DWORD
WINAPI
GetIfTable(
OUT PMIB_IFTABLE pIfTable,
IN OUT PULONG pdwSize,
IN BOOL bOrder
)
{
return ERROR_PROC_NOT_FOUND;
}
static
DWORD
WINAPI
GetInterfaceInfo(
IN PIP_INTERFACE_INFO pIfTable,
OUT PULONG dwOutBufLen
)
{
return ERROR_PROC_NOT_FOUND;
}
static
DWORD
WINAPI
GetIpAddrTable(
OUT PMIB_IPADDRTABLE pIpAddrTable,
IN OUT PULONG pdwSize,
IN BOOL bOrder
)
{
return ERROR_PROC_NOT_FOUND;
}
static
DWORD
WINAPI
GetIpNetTable(
OUT PMIB_IPNETTABLE pIpNetTable,
IN OUT PULONG pdwSize,
IN BOOL bOrder
)
{
return ERROR_PROC_NOT_FOUND;
}
static
DWORD
WINAPI
GetIpForwardTable(
OUT PMIB_IPFORWARDTABLE pIpForwardTable,
IN OUT PULONG pdwSize,
IN BOOL bOrder
)
{
return ERROR_PROC_NOT_FOUND;
}
static
DWORD
WINAPI
GetIpStatistics(
OUT PMIB_IPSTATS pStats
)
{
return ERROR_PROC_NOT_FOUND;
}
static
DWORD
WINAPI
GetIpStatisticsEx(
OUT PMIB_IPSTATS pStats,
IN DWORD dwFamily
)
{
return ERROR_PROC_NOT_FOUND;
}
static
DWORD
WINAPI
GetIcmpStatistics(
OUT PMIB_ICMP pStats
)
{
return ERROR_PROC_NOT_FOUND;
}
static
DWORD
WINAPI
GetNumberOfInterfaces(
OUT PDWORD pdwNumIf
)
{
return ERROR_PROC_NOT_FOUND;
}
static
DWORD
WINAPI
GetTcpStatistics(
OUT PMIB_TCPSTATS pStats
)
{
return ERROR_PROC_NOT_FOUND;
}
static
DWORD
WINAPI
GetTcpStatisticsEx(
OUT PMIB_TCPSTATS pStats,
IN DWORD dwFamily
)
{
return ERROR_PROC_NOT_FOUND;
}
static
DWORD
WINAPI
GetUdpStatistics(
OUT PMIB_UDPSTATS pStats
)
{
return ERROR_PROC_NOT_FOUND;
}
static
DWORD
WINAPI
GetUdpStatisticsEx(
OUT PMIB_UDPSTATS pStats,
IN DWORD dwFamily
)
{
return ERROR_PROC_NOT_FOUND;
}
static
DWORD
WINAPI
GetBestInterface(
IN IPAddr dwDestAddr,
OUT PDWORD pdwBestIfIndex
)
{
return ERROR_PROC_NOT_FOUND;
}
static
DWORD
WINAPI
GetBestInterfaceEx(
IN struct sockaddr *pDestAddr,
OUT PDWORD pdwBestIfIndex
)
{
return ERROR_PROC_NOT_FOUND;
}
static
DWORD
WINAPI
GetBestRoute(
IN DWORD dwDestAddr,
IN DWORD dwSourceAddr, OPTIONAL
OUT PMIB_IPFORWARDROW pBestRoute
)
{
return ERROR_PROC_NOT_FOUND;
}
static
DWORD
WINAPI
NotifyAddrChange(
OUT PHANDLE Handle,
IN LPOVERLAPPED overlapped
)
{
return ERROR_PROC_NOT_FOUND;
}
static
DWORD
WINAPI
NotifyRouteChange(
OUT PHANDLE Handle,
IN LPOVERLAPPED overlapped
)
{
return ERROR_PROC_NOT_FOUND;
}
static
BOOL
WINAPI
GetRTTAndHopCount(
IPAddr DestIpAddress,
PULONG HopCount,
ULONG MaxHops,
PULONG RTT
)
{
SetLastError(ERROR_PROC_NOT_FOUND);
return FALSE;
}
static
DWORD
WINAPI
GetFriendlyIfIndex(
DWORD IfIndex
)
{
return ERROR_PROC_NOT_FOUND;
}
static
DWORD
WINAPI
GetAdaptersAddresses(
IN ULONG Family,
IN DWORD Flags,
IN PVOID Reserved,
OUT PIP_ADAPTER_ADDRESSES pAdapterAddresses,
IN OUT PULONG pOutBufLen
)
{
return ERROR_PROC_NOT_FOUND;
}
static
DWORD
WINAPI
GetAdaptersInfo(
PIP_ADAPTER_INFO pAdapterInfo,
PULONG pOutBufLen
)
{
return ERROR_PROC_NOT_FOUND;
}
static
DWORD
WINAPI
GetIfEntry(
IN OUT PMIB_IFROW pIfRow
)
{
return ERROR_PROC_NOT_FOUND;
}
static
DWORD
WINAPI
GetPerAdapterInfo(
ULONG IfIndex,
PIP_PER_ADAPTER_INFO pPerAdapterInfo,
PULONG pOutBufLen
)
{
return ERROR_PROC_NOT_FOUND;
}
static
DWORD
NhGetInterfaceNameFromDeviceGuid(
IN GUID *pGuid,
OUT PWCHAR pwszBuffer,
IN OUT PULONG pulBufferSize,
IN BOOL bCache,
IN BOOL bRefresh
)
{
return ERROR_PROC_NOT_FOUND;
}
//
// !! WARNING !! The entries below must be in alphabetical order, and are CASE SENSITIVE (eg lower case comes last!)
//
DEFINE_PROCNAME_ENTRIES(iphlpapi)
{
DLPENTRY(GetAdaptersAddresses)
DLPENTRY(GetAdaptersInfo)
DLPENTRY(GetBestInterface)
DLPENTRY(GetBestInterfaceEx)
DLPENTRY(GetBestRoute)
DLPENTRY(GetFriendlyIfIndex)
DLPENTRY(GetIcmpStatistics)
DLPENTRY(GetIfEntry)
DLPENTRY(GetIfTable)
DLPENTRY(GetInterfaceInfo)
DLPENTRY(GetIpAddrTable)
DLPENTRY(GetIpForwardTable)
DLPENTRY(GetIpNetTable)
DLPENTRY(GetIpStatistics)
DLPENTRY(GetIpStatisticsEx)
DLPENTRY(GetNumberOfInterfaces)
DLPENTRY(GetPerAdapterInfo)
DLPENTRY(GetRTTAndHopCount)
DLPENTRY(GetTcpStatistics)
DLPENTRY(GetTcpStatisticsEx)
DLPENTRY(GetUdpStatistics)
DLPENTRY(GetUdpStatisticsEx)
DLPENTRY(NhGetInterfaceNameFromDeviceGuid)
DLPENTRY(NotifyAddrChange)
DLPENTRY(NotifyRouteChange)
};
DEFINE_PROCNAME_MAP(iphlpapi)