ReactOS  0.4.15-dev-1070-ge1a01de
mui.h
Go to the documentation of this file.
1 #pragma once
2 
3 typedef struct
4 {
11 
12 typedef struct
13 {
16 } MUI_ERROR;
17 
18 typedef struct
19 {
22 } MUI_PAGE;
23 
24 typedef struct
25 {
28 } MUI_STRING;
29 
30 typedef struct
31 {
34  const MUI_PAGE * MuiPages;
38 
39 #if 0
40 BOOLEAN
42  PWCHAR LanguageId);
43 #endif
44 
45 VOID
47  ULONG PageNumber);
48 
49 VOID
51  ULONG PageNumber);
52 
53 VOID
55  IN ULONG ErrorNum,
56  OUT PINPUT_RECORD Ir,
57  IN ULONG WaitEvent,
58  IN va_list args);
59 
60 VOID
61 __cdecl
63  ULONG ErrorNum,
64  PINPUT_RECORD Ir,
65  ULONG WaitEvent,
66  ...);
67 
68 VOID
70 
71 LPSTR
73  ULONG Number);
74 
75 const MUI_ENTRY *
77  IN ULONG Page,
78  IN INT TextID);
79 
80 VOID
82  IN ULONG Page,
83  IN INT TextID);
84 
85 VOID
87  IN ULONG Page,
88  IN INT TextID,
89  IN INT Flags);
90 
91 VOID
93  IN ULONG Page,
94  IN INT TextID);
95 
96 VOID
98  IN ULONG Page,
99  IN INT TextID,
100  IN INT Flags);
101 
102 /* MUI Text IDs */
103 
104 /* Static MUI Text */
105 #define TEXT_ID_STATIC (-1)
106 
107 /* Dynamic MUI Text IDs */
108 #define TEXT_ID_FORMAT_PROMPT 1
109 
110 /* MUI Strings */
111 #define STRING_PLEASEWAIT 1
112 #define STRING_INSTALLCREATEPARTITION 2
113 #define STRING_INSTALLCREATELOGICAL 60
114 #define STRING_INSTALLDELETEPARTITION 3
115 #define STRING_DELETEPARTITION 59
116 #define STRING_PARTITIONSIZE 4
117 #define STRING_CHOOSENEWPARTITION 5
118 #define STRING_CHOOSE_NEW_EXTENDED_PARTITION 57
119 #define STRING_CHOOSE_NEW_LOGICAL_PARTITION 61
120 #define STRING_HDDSIZE 6
121 #define STRING_CREATEPARTITION 7
122 #define STRING_PARTFORMAT 8
123 #define STRING_NONFORMATTEDPART 9
124 #define STRING_NONFORMATTEDSYSTEMPART 62
125 #define STRING_NONFORMATTEDOTHERPART 63
126 #define STRING_INSTALLONPART 10
127 #define STRING_CHECKINGPART 11
128 #define STRING_CONTINUE 12
129 #define STRING_QUITCONTINUE 13
130 #define STRING_REBOOTCOMPUTER 14
131 #define STRING_DELETING 15
132 #define STRING_MOVING 16
133 #define STRING_RENAMING 17
134 #define STRING_COPYING 18
135 #define STRING_SETUPCOPYINGFILES 19
136 #define STRING_REGHIVEUPDATE 20
137 #define STRING_IMPORTFILE 21
138 #define STRING_DISPLAYSETTINGSUPDATE 22
139 #define STRING_LOCALESETTINGSUPDATE 23
140 #define STRING_KEYBOARDSETTINGSUPDATE 24
141 #define STRING_CODEPAGEINFOUPDATE 25
142 #define STRING_DONE 26
143 #define STRING_REBOOTCOMPUTER2 27
144 #define STRING_CONSOLEFAIL1 28
145 #define STRING_CONSOLEFAIL2 29
146 #define STRING_CONSOLEFAIL3 30
147 #define STRING_FORMATTINGDISK 31
148 #define STRING_CHECKINGDISK 32
149 #define STRING_FORMATDISK1 33
150 #define STRING_FORMATDISK2 34
151 #define STRING_KEEPFORMAT 35
152 #define STRING_HDINFOPARTCREATE_1 36
153 #define STRING_HDINFOPARTCREATE_2 37
154 #define STRING_HDDINFOUNK2 38
155 #define STRING_HDINFOPARTDELETE_1 39
156 #define STRING_HDINFOPARTDELETE_2 40
157 #define STRING_HDINFOPARTZEROED_1 41
158 #define STRING_HDDINFOUNK4 42
159 #define STRING_HDINFOPARTEXISTS_1 43
160 #define STRING_HDDINFOUNK5 44
161 #define STRING_HDINFOPARTSELECT_1 45
162 #define STRING_HDINFOPARTSELECT_2 46
163 #define STRING_NEWPARTITION 47
164 #define STRING_UNPSPACE 48
165 #define STRING_MAXSIZE 49
166 #define STRING_UNFORMATTED 50
167 #define STRING_EXTENDED_PARTITION 58
168 #define STRING_FORMATUNUSED 51
169 #define STRING_FORMATUNKNOWN 52
170 #define STRING_KB 53
171 #define STRING_MB 54
172 #define STRING_GB 55
173 #define STRING_ADDKBLAYOUTS 56
174 #define STRING_REBOOTPROGRESSBAR 64
const uint16_t * PCWSTR
Definition: typedefs.h:57
#define IN
Definition: typedefs.h:39
PCWSTR LanguageID
Definition: mui.h:32
#define __cdecl
Definition: accygwin.h:79
VOID MUIClearStyledText(IN ULONG Page, IN INT TextID, IN INT Flags)
Definition: mui.c:363
VOID MUIDisplayPage(ULONG PageNumber)
BOOLEAN IsLanguageAvailable(IN PCWSTR LanguageId)
Definition: mui.c:70
Definition: mui.h:18
uint16_t * PWCHAR
Definition: typedefs.h:56
VOID __cdecl MUIDisplayError(ULONG ErrorNum, PINPUT_RECORD Ir, ULONG WaitEvent,...)
char * LPSTR
Definition: xmlstorage.h:182
const MUI_ERROR * MuiErrors
Definition: mui.h:35
Definition: match.c:390
int32_t INT
Definition: typedefs.h:58
DWORD Flags
Definition: mui.h:8
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
LPCSTR ErrorStatus
Definition: mui.h:15
long LONG
Definition: pedump.c:60
short SHORT
Definition: pedump.c:59
const MUI_PAGE * MuiPages
Definition: mui.h:34
VOID MUISetText(IN ULONG Page, IN INT TextID)
Definition: mui.c:401
unsigned char BOOLEAN
VOID MUIClearText(IN ULONG Page, IN INT TextID)
Definition: mui.c:323
char * va_list
Definition: acmsvcex.h:78
LPSTR MUIGetString(ULONG Number)
Definition: mui.c:230
const char * LPCSTR
Definition: xmlstorage.h:183
const MUI_STRING * MuiStrings
Definition: mui.h:36
VOID SetConsoleCodePage(VOID)
Definition: mui.c:456
LPCSTR ErrorText
Definition: mui.h:14
VOID MUIClearPage(ULONG PageNumber)
Definition: mui.h:24
PCWSTR LanguageDescriptor
Definition: mui.h:33
unsigned long DWORD
Definition: ntddk_ex.h:95
const MUI_ENTRY * MUIGetEntry(IN ULONG Page, IN INT TextID)
Definition: mui.c:276
LONG Number
Definition: mui.h:20
SHORT Y
Definition: mui.h:6
LPSTR String
Definition: mui.h:27
_In_opt_ PENTER_STATE_SYSTEM_HANDLER _In_opt_ PVOID _In_ LONG _In_opt_ LONG volatile * Number
Definition: ntpoapi.h:204
Definition: mui.h:3
Definition: mui.h:12
LPCSTR Buffer
Definition: mui.h:7
VOID MUIDisplayErrorV(IN ULONG ErrorNum, OUT PINPUT_RECORD Ir, IN ULONG WaitEvent, IN va_list args)
Definition: mui.c:178
#define OUT
Definition: typedefs.h:40
SHORT X
Definition: mui.h:5
LONG Number
Definition: mui.h:26
unsigned int ULONG
Definition: retypes.h:1
VOID MUISetStyledText(IN ULONG Page, IN INT TextID, IN INT Flags)
Definition: mui.c:438
struct MUI_ENTRY * PMUI_ENTRY
INT TextID
Definition: mui.h:9
MUI_ENTRY * MuiEntry
Definition: mui.h:21