iphlpapi: Return NO_ERROR from NotifyUnicastIpAddressChange() semi-stub.
Signed-off-by: Paul Gofman <gofmanp@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
5cdd3848f5
commit
1f2a7da28a
|
@ -2808,7 +2808,7 @@ DWORD WINAPI NotifyUnicastIpAddressChange(ADDRESS_FAMILY family, PUNICAST_IPADDR
|
||||||
if (init_notify)
|
if (init_notify)
|
||||||
callback(context, NULL, MibInitialNotification);
|
callback(context, NULL, MibInitialNotification);
|
||||||
|
|
||||||
return ERROR_NOT_SUPPORTED;
|
return NO_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
/******************************************************************
|
/******************************************************************
|
||||||
|
|
|
@ -2319,7 +2319,7 @@ static void test_NotifyUnicastIpAddressChange(void)
|
||||||
callback_called = FALSE;
|
callback_called = FALSE;
|
||||||
ret = pNotifyUnicastIpAddressChange(AF_INET, test_ipaddtess_change_callback,
|
ret = pNotifyUnicastIpAddressChange(AF_INET, test_ipaddtess_change_callback,
|
||||||
&callback_called, TRUE, &handle);
|
&callback_called, TRUE, &handle);
|
||||||
todo_wine ok(ret == NO_ERROR, "Unexpected ret %#x.\n", ret);
|
ok(ret == NO_ERROR, "Unexpected ret %#x.\n", ret);
|
||||||
ok(callback_called, "Callback was not called.\n");
|
ok(callback_called, "Callback was not called.\n");
|
||||||
|
|
||||||
ret = pCancelMibChangeNotify2(handle);
|
ret = pCancelMibChangeNotify2(handle);
|
||||||
|
|
Loading…
Reference in New Issue