mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
This feature is used to report errors when `LoadUserProfile()` fails. It is also meant to be used by other functions in the future. The error dialog is shown only when the `PI_NOUI` flag is _NOT_ set in `PROFILEINFO::dwFlags`. - Add support for retrieving USERENV-specific registry policies, in a systematic way. - Add support for "timed" dialogs that automatically close after a given timeout has elapsed. The default timeout is controlled by the `"ProfileDlgTimeOut"` policy: https://www.visualautomation.com/comprod/secure6/profile_.htm https://www.infania.net/misc/kbarchive/kb/196/Q196284/index.html - TODO for the future: report the error in the event log. - `LoadUserProfileW()`: Reset `ret` to `FALSE` after the call to `CreateUserProfileW()`; this allows to return failure in case any other function calls down the line fails. (`ret` is set to `TRUE` only when everything has succeeded.)