advapi32: SetLastError in ReadEventLog{A, W} stub to avoid applications from looping forever.

Louis Lenders xerox_xerox2000 at yahoo.co.uk
Mon Jul 18 18:50:38 CDT 2011


fix for http://bugs.winehq.org/show_bug.cgi?id=9228

ReadEventLog is typically used in a loop (see for example code sample http://msdn.microsoft.com/en-us/library/bb427356%28v=vs.85%29.aspx)

Current stub will keep looping forever, setting error different from ERROR_SUCCES will break us out of the loop, making PartyPoker happy.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-advapi32-SetLastError-in-ReadEventLog-A-W-stub-to-avoi.txt
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20110719/3aa97374/attachment.txt>


More information about the wine-patches mailing list