Re: [1/3] kernel32: Reset LastError if GetModuleFileName() succeeds.
30 Sep
2011
30 Sep
'11
1:37 a.m.
On Fri, 30 Sep 2011, Francois Gouget wrote:
This is necessary because LastError may already be set to ERROR_INSUFFICIENT_BUFFER which would mislead the caller.
And of course the older versions of Windows (up to XP SP3!) don't reset lasterror so the test bit of the patch cannot go in. I'd still argue that GetModuleFileNameW() should reset LastError though. -- Francois Gouget <fgouget(a)codeweavers.com>
5277
Age (days ago)
5277
Last active (days ago)
0 comments
1 participants
participants (1)
-
Francois Gouget