iphlpapi: Add GetBestRoute2 stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=44850 Signed-off-by: Austin English <austinenglish@gmail.com> Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
029a80aaf3
commit
d48ffbdc01
|
@ -78,7 +78,7 @@
|
|||
@ stdcall GetBestInterfaceEx( ptr ptr )
|
||||
@ stub GetBestInterfaceFromStack
|
||||
@ stdcall GetBestRoute( long long ptr )
|
||||
#@ stub GetBestRoute2
|
||||
@ stdcall GetBestRoute2( ptr long ptr ptr long ptr ptr )
|
||||
@ stub GetBestRouteFromStack
|
||||
#@ stub GetCurrentThreadCompartmentId
|
||||
@ stdcall GetExtendedTcpTable( ptr ptr long long long long )
|
||||
|
|
|
@ -3313,3 +3313,23 @@ DWORD WINAPI GetIpInterfaceTable(ADDRESS_FAMILY family, PMIB_IPINTERFACE_TABLE *
|
|||
FIXME("(%u %p): stub\n", family, table);
|
||||
return ERROR_NOT_SUPPORTED;
|
||||
}
|
||||
|
||||
/******************************************************************
|
||||
* GetBestRoute2 (IPHLPAPI.@)
|
||||
*/
|
||||
DWORD WINAPI GetBestRoute2(NET_LUID *luid, NET_IFINDEX index,
|
||||
const SOCKADDR_INET *source, const SOCKADDR_INET *destination,
|
||||
ULONG options, PMIB_IPFORWARD_ROW2 bestroute,
|
||||
SOCKADDR_INET *bestaddress)
|
||||
{
|
||||
static int once;
|
||||
|
||||
if (!once++)
|
||||
FIXME("(%p, %d, %p, %p, 0x%08x, %p, %p): stub\n", luid, index, source,
|
||||
destination, options, bestroute, bestaddress);
|
||||
|
||||
if (!destination || !bestroute || !bestaddress)
|
||||
return ERROR_INVALID_PARAMETER;
|
||||
|
||||
return ERROR_NOT_SUPPORTED;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue