Re: [1/3] kernel32: Reset LastError if GetModuleFileName() succeeds.
29 Sep
2011
29 Sep
'11
7:37 p.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>
5186
Age (days ago)
5186
Last active (days ago)
0 comments
1 participants
participants (1)
-
Francois Gouget