mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
5a1a35ca5a
- Cache localized hard error message components: the status severity, the system process name and the unhandled exception debug strings. - Try not to fail too much. In particular, don't fail if a string could not be correctly captured in UserpCaptureStringParameters() (we then use a default empty string). The next aim is to make UserpFormatMessages() not failing at all. - Use RtlStringCbPrintf(Ex)W where possible so that one can use counted (and not NULL-terminated) UNICODE_STRINGs where possible. This allows using counted resource strings without having to allocate memory. - If available, prepend the window title of the application that triggered the hard error to the hard error message box caption.
27 lines
700 B
C
27 lines
700 B
C
/*
|
|
* PROJECT: ReactOS User API Server DLL
|
|
* LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
|
|
* PURPOSE: Resource #defines.
|
|
* COPYRIGHT: Copyright 2012-2018 Hermes Belusca-Maito
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#define IDD_END_NOW 10
|
|
#define IDD_NOT_RESPONDING 11
|
|
|
|
#define IDC_STATIC -1
|
|
|
|
#define IDC_PROGRESS 20
|
|
#define IDC_END_NOW 21
|
|
|
|
/* Strings */
|
|
#define IDS_SEVERITY_SUCCESS 100
|
|
#define IDS_SEVERITY_INFORMATIONAL 101
|
|
#define IDS_SEVERITY_WARNING 102
|
|
#define IDS_SEVERITY_ERROR 103
|
|
|
|
#define IDS_SYSTEM_PROCESS 104
|
|
#define IDS_UNKNOWN_SOFTWARE_EXCEPT 105
|
|
#define IDS_OK_TERMINATE_PROGRAM 106
|
|
#define IDS_CANCEL_DEBUG_PROGRAM 107
|