[PATCH] iphlpapi: call SetLastError in NotifyAddrChange/NotifyRouteChange(try 2)

Hao Peng penghao at linuxdeepin.com
Tue Nov 4 01:17:34 CST 2014


call SetLastError in NotifyAddrChange/NotifyRouteChange, to make apps can get
WSA_IO_PENDING error code after async operation through GetLastError.

Thanks to Sebastian Lackner for comments.

superseded patch 107390.
---
 dlls/iphlpapi/iphlpapi_main.c  | 18 ++++++++++++++++--
 dlls/iphlpapi/tests/iphlpapi.c | 39 +++++++++++++++++++++++----------------
 2 files changed, 39 insertions(+), 18 deletions(-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20141104/a5889e1f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-iphlpapi-call-SetLastError-in-NotifyAddrChange-NotifyR.txt
Type: application/octet-stream
Size: 7677 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20141104/a5889e1f/attachment-0001.obj>


More information about the wine-devel mailing list