Commit 1f2a7da2 authored by Paul Gofman's avatar Paul Gofman Committed by Alexandre Julliard

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

parent 5cdd3848
......@@ -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;
}
/******************************************************************
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment