Commit Graph

13 Commits

Author SHA1 Message Date
Jon Doron be25d225ad kernel32: Make GetEnvironmentStringsW returns a copy of the environment.
There are certain applications which try to traverse the environement
being returned, but this is problematic since they cannot acquire the
PEB Lock (i.e cl.exe on Visual Studio 14.15) .

Signed-off-by: Jon Doron <arilou@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-20 08:57:33 +01:00
Erich E. Hoover 4b559f02dd kernel32: Invalid console handles for new processes are 0, not INVALID_HANDLE_VALUE. 2015-04-23 15:06:36 +09:00
Frédéric Delanoy 1e214eb5d3 Assorted spelling/grammar fixes. 2014-10-02 16:58:53 +02:00
Austin English 2f3fc38ee0 kernel32: Add stubs for GetFirmwareEnvironmentVariableA/W. 2014-06-30 22:04:53 +02:00
Bruno Jesus 515b8bebb6 kernel32: Limit the environment variable size to 32767 in GetEnvironmentVariable. 2014-06-12 18:11:42 +02:00
Frédéric Delanoy 7ab78b4e03 kernel32: Use BOOL type where appropriate. 2013-10-24 10:49:11 +02:00
Peter Oberndorfer 9d74a70ad5 kernel32: Fix last error value of GetStdHandle/SetStdHandle when called with wrong std handle. 2010-09-23 12:00:44 +02:00
Alexandre Julliard 2b99e1c17d kernel32: Make sure we always have a valid process title. 2010-06-08 11:53:58 +02:00
Paul Vriens 4d6b74758f kernel32: Add a define for UNICODE_STRING_MAX_CHARS. 2009-12-14 16:14:37 +01:00
Andrew Talbot 54a376f228 kernel32: Assign to structs instead of using memcpy. 2008-03-04 11:54:20 +01:00
Francois Gouget e3e2a5c0ac kernel32/tests: Add more ExpandEnvironmentStringsA() tests.
Document the observed ExpandEnvironmentStrings() behavior.
2008-01-11 12:25:33 +01:00
Michael Stefaniuc 8c38b88068 kernel32: Win64 printf format warning fixes. 2006-10-13 12:08:25 +02:00
Alexandre Julliard 489d87d1e5 kernel32: Renamed the kernel directory to kernel32.
Also get rid of the kernel/messages subdirectory.
2006-09-12 13:34:06 +02:00