Re: [1/3] kernel32: Reset LastError if GetModuleFileName() succeeds.
Sept. 30, 2011
12: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>
5291
Age (days ago)
5291
Last active (days ago)
0 comments
1 participants
participants (1)
-
Francois Gouget