mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
- Add SAL annotations; - Avoid using hardcoded buffer sizes in function calls. - If the start-application (Userinit) launched successfully, store in the logged-in user's Explorer key, value `"Logon User Name"`, the user name that was entered verbatim in the "Log On" dialog to log into the system. This value is used as a "convenience" to display the `"Log Off <username>"` item in the explorer's Start menu (see `explorer!util.cpp:GetCurrentLoggedOnUserName()`), and the corresponding item in the "Shut Down" dialog. - utils.c: Introduce the `RegOpenLoggedOnHKCU()` helper, for opening the current logged-in user HKCU key. NOTE: Regarding the `.Default` registry key, see: https://devblogs.microsoft.com/oldnewthing/20070302-00/?p=27783