iphlpapi: Changed return value of NotifyAddrChange() stub and added test cases. (try 2)

Janne Hakonen joyer83 at live.fi
Tue Feb 8 11:36:19 CST 2011


This patch changes return value of NotifyAddrChange() function (which is
currently implemented as a stub) to ERROR_IO_PENDING.
The change corrects crashes with Anarchy Online, Awesomium and Google Chrome.

This same patch also contains test cases for the NotifyAddrChange() and
CancelIPChangeNotify() functions, with failing tests wrapped inside todo_wine.

CancelIPChangeNotify() can be used also to cancel NotifyRouteChange() calls,
but there is no test cases made for that yet.
---
 dlls/iphlpapi/iphlpapi_main.c  |    2 +-
 dlls/iphlpapi/tests/iphlpapi.c |   87 ++++++++++++++++++++++++++++++++++++++-
 2 files changed, 85 insertions(+), 4 deletions(-)
 mode change 100644 => 100755 dlls/iphlpapi/tests/iphlpapi.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-iphlpapi-Changed-return-value-of-NotifyAddrChange-st.patch
Type: text/x-patch
Size: 6025 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20110208/fef6e277/attachment.bin>


More information about the wine-patches mailing list