mirror of
https://github.com/reactos/reactos.git
synced 2025-04-18 03:34:11 +00:00
[USERENV]
CreateEnvironmentBlock: Also add the volatile environment values to the users environment block. svn path=/trunk/; revision=47194
This commit is contained in:
parent
df33b38ed0
commit
0ca885a586
1 changed files with 5 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue