[ros-diffs] [ekohl] 47194: [USERENV] CreateEnvironmentBlock: Also add the volatile environment values to the users environment block.

ekohl at svn.reactos.org ekohl at svn.reactos.org
Thu May 13 22:38:17 CEST 2010


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/environment.c?rev=47194&r1=47193&r2=47194&view=diff
==============================================================================
--- 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);
 




More information about the Ros-diffs mailing list