[USERENV]
authorEric Kohl <eric.kohl@reactos.org>
Thu, 13 May 2010 20:38:16 +0000 (20:38 +0000)
committerEric Kohl <eric.kohl@reactos.org>
Thu, 13 May 2010 20:38:16 +0000 (20:38 +0000)
CreateEnvironmentBlock: Also add the volatile environment values to the users environment block.

svn path=/trunk/; revision=47194

reactos/dll/win32/userenv/environment.c

index 5bb38a6..0a148ab 100644 (file)
@@ -439,13 +439,16 @@ CreateEnvironmentBlock(LPVOID *lpEnvironment,
                                    FALSE);
     }
 
-
-
     /* Set user environment variables */
     SetUserEnvironment(lpEnvironment,
                        hKeyUser,
                        L"Environment");
 
+    /* Set user volatile environment variables */
+    SetUserEnvironment(lpEnvironment,
+                       hKeyUser,
+                       L"Volatile Environment");
+
     RegCloseKey(hKeyUser);
 
     return TRUE;