Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
1f2a7da2
Commit
1f2a7da2
authored
Feb 27, 2020
by
Paul Gofman
Committed by
Alexandre Julliard
Feb 27, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
iphlpapi: Return NO_ERROR from NotifyUnicastIpAddressChange() semi-stub.
Signed-off-by:
Paul Gofman
<
gofmanp@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5cdd3848
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
iphlpapi_main.c
dlls/iphlpapi/iphlpapi_main.c
+1
-1
iphlpapi.c
dlls/iphlpapi/tests/iphlpapi.c
+1
-1
No files found.
dlls/iphlpapi/iphlpapi_main.c
View file @
1f2a7da2
...
@@ -2808,7 +2808,7 @@ DWORD WINAPI NotifyUnicastIpAddressChange(ADDRESS_FAMILY family, PUNICAST_IPADDR
...
@@ -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
;
}
}
/******************************************************************
/******************************************************************
...
...
dlls/iphlpapi/tests/iphlpapi.c
View file @
1f2a7da2
...
@@ -2319,7 +2319,7 @@ static void test_NotifyUnicastIpAddressChange(void)
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment