Author: ekohl
Date: Thu May 13 22:38:16 2010
New Revision: 47194
URL:
http://svn.reactos.org/svn/reactos?rev=47194&view=rev
Log:
[USERENV]
CreateEnvironmentBlock: Also add the volatile environment values to the users environment
block.
Modified:
trunk/reactos/dll/win32/userenv/environment.c
Modified: trunk/reactos/dll/win32/userenv/environment.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/userenv/environm…
==============================================================================
--- trunk/reactos/dll/win32/userenv/environment.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/userenv/environment.c [iso-8859-1] Thu May 13 22:38:16 2010
@@ -439,12 +439,15 @@
FALSE);
}
-
-
/* Set user environment variables */
SetUserEnvironment(lpEnvironment,
hKeyUser,
L"Environment");
+
+ /* Set user volatile environment variables */
+ SetUserEnvironment(lpEnvironment,
+ hKeyUser,
+ L"Volatile Environment");
RegCloseKey(hKeyUser);