iphlpapi: Add stub for NotifyIpInterfaceChange.

Based on a patch by Yann Leretaille.
This commit is contained in:
Sebastian Lackner 2014-10-27 02:50:05 +01:00 committed by Alexandre Julliard
parent 2eded57ffe
commit 7796661b4c
2 changed files with 14 additions and 1 deletions

View File

@ -233,7 +233,7 @@
@ stub NhpAllocateAndGetInterfaceInfoFromStack
@ stub NhpGetInterfaceIndexFromStack
@ stdcall NotifyAddrChange( ptr ptr )
#@ stub NotifyIpInterfaceChange
@ stdcall NotifyIpInterfaceChange( long ptr ptr long ptr )
@ stdcall NotifyRouteChange( ptr ptr )
#@ stub NotifyRouteChange2
@ stub NotifyRouteChangeEx

View File

@ -2292,6 +2292,19 @@ DWORD WINAPI NotifyAddrChange(PHANDLE Handle, LPOVERLAPPED overlapped)
}
/******************************************************************
* NotifyIpInterfaceChange (IPHLPAPI.@)
*/
DWORD WINAPI NotifyIpInterfaceChange(ULONG family, PVOID callback, PVOID context,
BOOLEAN init_notify, PHANDLE 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 ERROR_NOT_SUPPORTED;
}
/******************************************************************
* NotifyRouteChange (IPHLPAPI.@)
*