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

Janne Hakonen joyer83 at live.fi
Mon Feb 7 14:59:39 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.

The same patch also contains test cases for the NotifyAddrChange() function,
with failing tests wrapped inside todo_wine.
 dlls/iphlpapi/iphlpapi_main.c  |    2 +-
 dlls/iphlpapi/tests/iphlpapi.c |   93 ++++++++++++++++++++++++++++++++++++++-
 2 files changed, 91 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: 6074 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20110207/d83e8832/attachment.bin>

More information about the wine-patches mailing list