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

Louis Lenders xerox_xerox2000 at
Mon Jul 18 18:50:38 CDT 2011

fix for

ReadEventLog is typically used in a loop (see for example code sample

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: <>

More information about the wine-patches mailing list