[WINLOGON]
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 18 Sep 2016 23:32:02 +0000 (23:32 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 18 Sep 2016 23:32:02 +0000 (23:32 +0000)
commit9481be0824a31974974d4f9bdf1b5b3b1358ca37
tree6864e908371790d2179ffae283fe06ec5d9a2833
parent4b29ab5690c88c5b1a423d33f8e164ef54ac7d06
[WINLOGON]
- CreateUserEnvironment: if user impersonation fails, just fail the call.
- SetDefaultLanguage: Use the *correct* HKEY_CURRENT_USER key to retrieve the lang., that is, first impersonate the user, then, call RegOpenCurrentUser. We do that because otherwise calling RegOpenKey(Ex) for HKEY_CURRENT_USER just uses the process cached value of HKEY_CURRENT_USER, which does not change *even if* one impersonates an user.

[MSGINA]
- Correctly impersonate the user when opening & initializing the shutdown dialog (in the same way as winlogon does), i.e. call ImpersonateLoggedOnUser and use RegOpenCurrentUser.
- Fill few (but not all) code holes in WlxScreenSaverNotify.

svn path=/trunk/; revision=72737
reactos/base/system/winlogon/environment.c
reactos/base/system/winlogon/sas.c
reactos/base/system/winlogon/screensaver.c
reactos/base/system/winlogon/winlogon.c
reactos/base/system/winlogon/winlogon.h
reactos/dll/win32/msgina/gui.c
reactos/dll/win32/msgina/msgina.c
reactos/dll/win32/msgina/shutdown.c