mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13: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.)
42 lines
971 B
C
42 lines
971 B
C
/*
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
* PROJECT: ReactOS system libraries
|
|
* FILE: dll/win32/userenv/resource.h
|
|
* PURPOSE: Resource IDs
|
|
* PROGRAMMER: Eric Kohl
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#define IDC_STATIC (-1)
|
|
|
|
/* Icons */
|
|
#define IDI_USERENV 1
|
|
|
|
/* Dialogs */
|
|
#define IDD_ERRORDLG 3000
|
|
#define IDC_ERRORDESC 3001
|
|
#define IDC_TIMEOUTSTATIC 1005
|
|
#define IDC_TIMEOUT 1004
|
|
|
|
/* Strings */
|
|
#define IDS_PROFILEPATH 1
|
|
#define IDS_APPDATA 2
|
|
#define IDS_DESKTOP 3
|
|
#define IDS_FAVORITES 4
|
|
#define IDS_MYDOCUMENTS 5
|
|
#define IDS_NETHOOD 6
|
|
#define IDS_PRINTHOOD 7
|
|
#define IDS_RECENT 8
|
|
#define IDS_SENDTO 9
|
|
#define IDS_TEMPLATES 10
|
|
#define IDS_STARTMENU 11
|
|
#define IDS_PROGRAMS 12
|
|
#define IDS_STARTUP 13
|
|
#define IDS_LOCALSETTINGS 14
|
|
#define IDS_LOCALAPPDATA 15
|
|
#define IDS_TEMP 16
|
|
#define IDS_CACHE 17
|
|
#define IDS_HISTORY 18
|
|
#define IDS_COOKIES 19
|