iphlpapi: Add stub for NotifyUnicastIpAddressChange.

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Bruno Jesus <bjesus@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
André Hentschel 2017-03-08 21:22:22 +01:00 committed by Alexandre Julliard
parent 3b684f8175
commit 0bf31be76e
3 changed files with 24 additions and 1 deletions

View File

@ -239,7 +239,7 @@
@ stub NotifyRouteChangeEx
#@ stub NotifyStableUnicastIpAddressTable
#@ stub NotifyTeredoPortChange
#@ stub NotifyUnicastIpAddressChange
@ stdcall NotifyUnicastIpAddressChange(long ptr ptr long ptr)
#@ stub NTPTimeToNTFileTime
#@ stub NTTimeToNTPTime
#@ stub ParseNetworkString

View File

@ -2673,6 +2673,18 @@ DWORD WINAPI NotifyRouteChange(PHANDLE Handle, LPOVERLAPPED overlapped)
}
/******************************************************************
* NotifyUnicastIpAddressChange (IPHLPAPI.@)
*/
DWORD WINAPI NotifyUnicastIpAddressChange(ADDRESS_FAMILY family, PUNICAST_IPADDRESS_CHANGE_CALLBACK 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;
}
/******************************************************************
* SendARP (IPHLPAPI.@)
*

View File

@ -21,6 +21,14 @@
#include <ntddndis.h>
typedef enum _MIB_NOTIFICATION_TYPE
{
MibParameterNotification,
MibAddInstance,
MibDeleteInstance,
MibInitialNotification,
} MIB_NOTIFICATION_TYPE, *PMIB_NOTIFICATION_TYPE;
typedef struct _MIB_IF_ROW2
{
NET_LUID InterfaceLuid;
@ -98,6 +106,9 @@ typedef struct _MIB_UNICASTIPADDRESS_ROW
LARGE_INTEGER CreationTimeStamp;
} MIB_UNICASTIPADDRESS_ROW, *PMIB_UNICASTIPADDRESS_ROW;
typedef VOID (WINAPI *PUNICAST_IPADDRESS_CHANGE_CALLBACK)(PVOID, PMIB_UNICASTIPADDRESS_ROW,
MIB_NOTIFICATION_TYPE);
DWORD WINAPI ConvertInterfaceGuidToLuid(const GUID*,NET_LUID*);
DWORD WINAPI ConvertInterfaceIndexToLuid(NET_IFINDEX,NET_LUID*);
DWORD WINAPI ConvertInterfaceLuidToGuid(const NET_LUID*,GUID*);