[USERENV]

CreateEnvironmentBlock: Also add the volatile environment values to the users environment block.

svn path=/trunk/; revision=47194
This commit is contained in:
Eric Kohl 2010-05-13 20:38:16 +00:00
parent df33b38ed0
commit 0ca885a586

View 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;