mirror of
https://github.com/reactos/reactos.git
synced 2025-05-16 15:50:24 +00:00
Cleanup GetAdaptersAddresses.
Add GetIfTable2 and GetIfEntry2 stubs based on janderwald patch svn path=/trunk/; revision=41409
This commit is contained in:
parent
19a59aa438
commit
0328a24e07
4 changed files with 38 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
<module name="iphlpapi" type="win32dll" baseaddress="${BASEADDRESS_IPHLPAPI}" installbase="system32" installname="iphlpapi.dll" allowwarnings="true" unicode="yes" crt="msvcrt">
|
||||
<importlibrary definition="iphlpapi.spec" />
|
||||
<include base="iphlpapi">include</include>
|
||||
<include base="iphlpapi">.</include>
|
||||
<include base="ReactOS">include/reactos/wine</include>
|
||||
<library>wine</library>
|
||||
<library>ntdll</library>
|
||||
|
|
|
@ -40,8 +40,10 @@
|
|||
@ stub GetIcmpStatsFromStack
|
||||
@ stub GetIcmpStatsFromStackEx
|
||||
@ stdcall GetIfEntry( ptr )
|
||||
@ stdcall GetIfEntry2( ptr )
|
||||
@ stub GetIfEntryFromStack
|
||||
@ stdcall GetIfTable( ptr ptr long )
|
||||
@ stdcall GetIfTable2(ptr)
|
||||
@ stub GetIfTableFromStack
|
||||
@ stub GetIgmpList
|
||||
@ stdcall GetInterfaceInfo( ptr ptr )
|
||||
|
|
|
@ -2179,9 +2179,12 @@ PIP_ADAPTER_ORDER_MAP WINAPI GetAdapterOrderMap(VOID)
|
|||
DWORD WINAPI GetAdaptersAddresses(ULONG Family,ULONG Flags,PVOID Reserved,PIP_ADAPTER_ADDRESSES pAdapterAddresses,PULONG pOutBufLen)
|
||||
{
|
||||
if (!pOutBufLen) return ERROR_INVALID_PARAMETER;
|
||||
if (!pAdapterAddresses || *pOutBufLen == 0)
|
||||
return ERROR_BUFFER_OVERFLOW;
|
||||
if (Reserved) return ERROR_INVALID_PARAMETER;
|
||||
|
||||
FIXME(":stub\n");
|
||||
return 0L;
|
||||
return ERROR_NO_DATA;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -2220,4 +2223,33 @@ DWORD WINAPI GetIcmpStatisticsEx(PMIB_ICMP_EX pStats,DWORD dwFamily)
|
|||
return 0L;
|
||||
}
|
||||
|
||||
/******************************************************************
|
||||
* GetIfTable2 (IPHLPAPI.@)
|
||||
*
|
||||
* PARAMS
|
||||
* pIfTable [In/Out]
|
||||
*/
|
||||
|
||||
NETIOAPI_API WINAPI GetIfTable2(PMIB_IF_TABLE2 *pIfTable)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return ERROR_NOT_SUPPORTED;
|
||||
}
|
||||
|
||||
/******************************************************************
|
||||
* GetIfEntry2 (IPHLPAPI.@)
|
||||
*
|
||||
* PARAMS
|
||||
* pIfRow [In/Out]
|
||||
*/
|
||||
NETIOAPI_API WINAPI GetIfEntry2(IN OUT PMIB_IF_ROW2 pIfRow)
|
||||
{
|
||||
TRACE("pIfRow %p\n", pIfRow);
|
||||
if (!pIfRow)
|
||||
return ERROR_INVALID_PARAMETER;
|
||||
|
||||
UNIMPLEMENTED;
|
||||
return ERROR_NOT_SUPPORTED;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
#define _WIN32_WINNT 0x500
|
||||
#define WIN32_NO_STATUS
|
||||
#include <winsock2.h>
|
||||
#include <ws2tcpip.h>
|
||||
#include <windows.h>
|
||||
#define NTOS_MODE_USER
|
||||
#include <ndk/ntndk.h>
|
||||
|
@ -32,6 +33,7 @@
|
|||
#include "resinfo.h"
|
||||
#include "wine/debug.h"
|
||||
|
||||
//#include "ntddndis.h"
|
||||
#include "ddk/tdiinfo.h"
|
||||
#include "tcpioctl.h"
|
||||
|
||||
|
|
Loading…
Reference in a new issue