iphlpapi: Return NO_ERROR from NotifyUnicastIpAddressChange() semi-stub.

Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
feature/deterministic
Paul Gofman 2020-02-27 14:10:33 +03:00 committed by Alexandre Julliard
parent 5cdd3848f5
commit 1f2a7da28a
2 changed files with 2 additions and 2 deletions

View File

@ -2808,7 +2808,7 @@ DWORD WINAPI NotifyUnicastIpAddressChange(ADDRESS_FAMILY family, PUNICAST_IPADDR
if (init_notify)
callback(context, NULL, MibInitialNotification);
return ERROR_NOT_SUPPORTED;
return NO_ERROR;
}
/******************************************************************

View File

@ -2319,7 +2319,7 @@ static void test_NotifyUnicastIpAddressChange(void)
callback_called = FALSE;
ret = pNotifyUnicastIpAddressChange(AF_INET, test_ipaddtess_change_callback,
&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");
ret = pCancelMibChangeNotify2(handle);