iphlpapi: Add stub for NotifyRouteChange2.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48775
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Louis Lenders 2020-05-08 17:59:23 +02:00 committed by Alexandre Julliard
parent 8045167117
commit 62b89ad0a5
3 changed files with 15 additions and 1 deletions

View File

@ -236,7 +236,7 @@
@ stdcall NotifyAddrChange( ptr ptr )
@ stdcall NotifyIpInterfaceChange( long ptr ptr long ptr )
@ stdcall NotifyRouteChange( ptr ptr )
#@ stub NotifyRouteChange2
@ stdcall NotifyRouteChange2( long ptr ptr long ptr )
@ stub NotifyRouteChangeEx
#@ stub NotifyStableUnicastIpAddressTable
#@ stub NotifyTeredoPortChange

View File

@ -2817,6 +2817,18 @@ DWORD WINAPI NotifyIpInterfaceChange(ADDRESS_FAMILY family, PIPINTERFACE_CHANGE_
return NO_ERROR;
}
/******************************************************************
* NotifyRouteChange2 (IPHLPAPI.@)
*/
DWORD WINAPI NotifyRouteChange2(ADDRESS_FAMILY family, PIPFORWARD_CHANGE_CALLBACK callback, VOID* context,
BOOLEAN init_notify, HANDLE* handle)
{
FIXME("(family %d, callback %p, context %p, init_notify %d, handle %p): stub\n",
family, callback, context, init_notify, handle);
if (handle) *handle = NULL;
return NO_ERROR;
}
/******************************************************************
* NotifyRouteChange (IPHLPAPI.@)

View File

@ -236,6 +236,8 @@ typedef VOID (WINAPI *PIPINTERFACE_CHANGE_CALLBACK)(PVOID, PMIB_IPINTERFACE_ROW,
typedef VOID (WINAPI *PUNICAST_IPADDRESS_CHANGE_CALLBACK)(PVOID, PMIB_UNICASTIPADDRESS_ROW,
MIB_NOTIFICATION_TYPE);
typedef VOID (WINAPI *PIPFORWARD_CHANGE_CALLBACK)(VOID*,MIB_IPFORWARD_ROW2*,MIB_NOTIFICATION_TYPE);
DWORD WINAPI ConvertInterfaceGuidToLuid(const GUID*,NET_LUID*);
DWORD WINAPI ConvertInterfaceIndexToLuid(NET_IFINDEX,NET_LUID*);
DWORD WINAPI ConvertInterfaceLuidToGuid(const NET_LUID*,GUID*);