Commit 5a675ea4 authored by Louis Lenders's avatar Louis Lenders Committed by Alexandre Julliard

iphlpapi: Add stub for GetIpInterfaceTable.

parent 924fd31c
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
@ stdcall GetIpForwardTable2( long ptr ) @ stdcall GetIpForwardTable2( long ptr )
@ stub GetIpForwardTableFromStack @ stub GetIpForwardTableFromStack
#@ stub GetIpInterfaceEntry #@ stub GetIpInterfaceEntry
#@ stub GetIpInterfaceTable @ stdcall GetIpInterfaceTable( long ptr )
#@ stub GetIpNetEntry2 #@ stub GetIpNetEntry2
@ stdcall GetIpNetTable( ptr ptr long ) @ stdcall GetIpNetTable( ptr ptr long )
@ stdcall GetIpNetTable2( long ptr ) @ stdcall GetIpNetTable2( long ptr )
......
...@@ -3304,3 +3304,12 @@ DWORD WINAPI GetIpNetTable2(ADDRESS_FAMILY family, PMIB_IPNET_TABLE2 *table) ...@@ -3304,3 +3304,12 @@ DWORD WINAPI GetIpNetTable2(ADDRESS_FAMILY family, PMIB_IPNET_TABLE2 *table)
if (!once++) FIXME("(%u %p): stub\n", family, table); if (!once++) FIXME("(%u %p): stub\n", family, table);
return ERROR_NOT_SUPPORTED; return ERROR_NOT_SUPPORTED;
} }
/******************************************************************
* GetIpInterfaceTable (IPHLPAPI.@)
*/
DWORD WINAPI GetIpInterfaceTable(ADDRESS_FAMILY family, PMIB_IPINTERFACE_TABLE *table)
{
FIXME("(%u %p): stub\n", family, table);
return ERROR_NOT_SUPPORTED;
}
...@@ -140,6 +140,12 @@ typedef struct _MIB_IPINTERFACE_ROW ...@@ -140,6 +140,12 @@ typedef struct _MIB_IPINTERFACE_ROW
BOOLEAN DisableDefaultRoutes; BOOLEAN DisableDefaultRoutes;
} MIB_IPINTERFACE_ROW, *PMIB_IPINTERFACE_ROW; } MIB_IPINTERFACE_ROW, *PMIB_IPINTERFACE_ROW;
typedef struct _MIB_IPINTERFACE_TABLE
{
ULONG NumEntries;
MIB_IPINTERFACE_ROW Table[ANY_SIZE];
} MIB_IPINTERFACE_TABLE, *PMIB_IPINTERFACE_TABLE;
typedef struct _MIB_UNICASTIPADDRESS_ROW typedef struct _MIB_UNICASTIPADDRESS_ROW
{ {
SOCKADDR_INET Address; SOCKADDR_INET Address;
...@@ -242,6 +248,7 @@ DWORD WINAPI ConvertLengthToIpv4Mask(ULONG,ULONG*); ...@@ -242,6 +248,7 @@ DWORD WINAPI ConvertLengthToIpv4Mask(ULONG,ULONG*);
void WINAPI FreeMibTable(void*); void WINAPI FreeMibTable(void*);
DWORD WINAPI GetIfEntry2(MIB_IF_ROW2*); DWORD WINAPI GetIfEntry2(MIB_IF_ROW2*);
DWORD WINAPI GetIfTable2(MIB_IF_TABLE2**); DWORD WINAPI GetIfTable2(MIB_IF_TABLE2**);
DWORD WINAPI GetIpInterfaceTable(ADDRESS_FAMILY,MIB_IPINTERFACE_TABLE**);
DWORD WINAPI GetUnicastIpAddressEntry(MIB_UNICASTIPADDRESS_ROW*); DWORD WINAPI GetUnicastIpAddressEntry(MIB_UNICASTIPADDRESS_ROW*);
PCHAR WINAPI if_indextoname(NET_IFINDEX,PCHAR); PCHAR WINAPI if_indextoname(NET_IFINDEX,PCHAR);
NET_IFINDEX WINAPI if_nametoindex(PCSTR); NET_IFINDEX WINAPI if_nametoindex(PCSTR);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment