Paul Gofman : iphlpapi: Return NO_ERROR from NotifyUnicastIpAddressChange() semi-stub.
Module: wine Branch: master Commit: 1f2a7da28a2f1b785b03a377234ea8a1be1a0517 URL: https://source.winehq.org/git/wine.git/?a=commit;h=1f2a7da28a2f1b785b03a3772... Author: Paul Gofman <gofmanp(a)gmail.com> Date: Thu Feb 27 14:10:33 2020 +0300 iphlpapi: Return NO_ERROR from NotifyUnicastIpAddressChange() semi-stub. Signed-off-by: Paul Gofman <gofmanp(a)gmail.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/iphlpapi/iphlpapi_main.c | 2 +- dlls/iphlpapi/tests/iphlpapi.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/iphlpapi/iphlpapi_main.c b/dlls/iphlpapi/iphlpapi_main.c index c248fb50b4..9ee85caeb3 100644 --- a/dlls/iphlpapi/iphlpapi_main.c +++ b/dlls/iphlpapi/iphlpapi_main.c @@ -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; } /****************************************************************** diff --git a/dlls/iphlpapi/tests/iphlpapi.c b/dlls/iphlpapi/tests/iphlpapi.c index 9979cd5abc..77475ca4df 100644 --- a/dlls/iphlpapi/tests/iphlpapi.c +++ b/dlls/iphlpapi/tests/iphlpapi.c @@ -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);
participants (1)
-
Alexandre Julliard