ReactOS  0.4.15-dev-5492-g47f3a4e
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 PCSTR
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 /* Special characters */
103 extern CHAR CharBullet;
104 extern CHAR CharBlock;
105 extern CHAR CharHalfBlock;
106 extern CHAR CharUpArrow;
107 extern CHAR CharDownArrow;
108 extern CHAR CharHorizontalLine;
109 extern CHAR CharVerticalLine;
122 
123 /* MUI Text IDs */
124 
125 /* Static MUI Text */
126 #define TEXT_ID_STATIC (-1)
127 
128 /* Dynamic MUI Text IDs */
129 #define TEXT_ID_FORMAT_PROMPT 1
130 
131 /* MUI Strings */
132 #define STRING_PLEASEWAIT 1
133 #define STRING_INSTALLCREATEPARTITION 2
134 #define STRING_INSTALLCREATELOGICAL 60
135 #define STRING_INSTALLDELETEPARTITION 3
136 #define STRING_DELETEPARTITION 59
137 #define STRING_PARTITIONSIZE 4
138 #define STRING_CHOOSENEWPARTITION 5
139 #define STRING_CHOOSE_NEW_EXTENDED_PARTITION 57
140 #define STRING_CHOOSE_NEW_LOGICAL_PARTITION 61
141 #define STRING_HDDSIZE 6
142 #define STRING_CREATEPARTITION 7
143 #define STRING_PARTFORMAT 8
144 #define STRING_NONFORMATTEDPART 9
145 #define STRING_NONFORMATTEDSYSTEMPART 62
146 #define STRING_NONFORMATTEDOTHERPART 63
147 #define STRING_INSTALLONPART 10
148 #define STRING_CONTINUE 12
149 #define STRING_QUITCONTINUE 13
150 #define STRING_REBOOTCOMPUTER 14
151 #define STRING_DELETING 15
152 #define STRING_MOVING 16
153 #define STRING_RENAMING 17
154 #define STRING_COPYING 18
155 #define STRING_SETUPCOPYINGFILES 19
156 #define STRING_REGHIVEUPDATE 20
157 #define STRING_IMPORTFILE 21
158 #define STRING_DISPLAYSETTINGSUPDATE 22
159 #define STRING_LOCALESETTINGSUPDATE 23
160 #define STRING_KEYBOARDSETTINGSUPDATE 24
161 #define STRING_CODEPAGEINFOUPDATE 25
162 #define STRING_DONE 26
163 #define STRING_REBOOTCOMPUTER2 27
164 #define STRING_CONSOLEFAIL1 28
165 #define STRING_CONSOLEFAIL2 29
166 #define STRING_CONSOLEFAIL3 30
167 #define STRING_FORMATTINGDISK 31
168 #define STRING_CHECKINGDISK 32
169 #define STRING_FORMATDISK1 33
170 #define STRING_FORMATDISK2 34
171 #define STRING_KEEPFORMAT 35
172 #define STRING_HDINFOPARTCREATE_1 36
173 #define STRING_HDINFOPARTDELETE_1 39
174 #define STRING_PARTTYPE 42
175 #define STRING_HDDINFO_1 45
176 #define STRING_HDDINFO_2 46
177 #define STRING_NEWPARTITION 47
178 #define STRING_UNPSPACE 48
179 #define STRING_MAXSIZE 49
180 #define STRING_UNFORMATTED 50
181 #define STRING_EXTENDED_PARTITION 58
182 #define STRING_FORMATUNUSED 51
183 #define STRING_FORMATUNKNOWN 52
184 #define STRING_KB 53
185 #define STRING_MB 54
186 #define STRING_GB 55
187 #define STRING_ADDKBLAYOUTS 56
188 #define STRING_REBOOTPROGRESSBAR 64
const uint16_t * PCWSTR
Definition: typedefs.h:57
#define IN
Definition: typedefs.h:39
PCWSTR LanguageID
Definition: mui.h:32
CHAR CharUpperRightCorner
Definition: mui.c:42
#define __cdecl
Definition: accygwin.h:79
CHAR CharHorizontalLine
Definition: mui.c:39
VOID MUIClearStyledText(IN ULONG Page, IN INT TextID, IN INT Flags)
Definition: mui.c:399
CHAR CharBullet
Definition: mui.c:34
char CHAR
Definition: xmlstorage.h:175
VOID MUIDisplayPage(ULONG PageNumber)
CHAR CharLeftHorizLineAndVertLine
Definition: mui.c:46
BOOLEAN IsLanguageAvailable(IN PCWSTR LanguageId)
Definition: mui.c:70
PCSTR Buffer
Definition: mui.h:7
Definition: mui.h:18
uint16_t * PWCHAR
Definition: typedefs.h:56
VOID __cdecl MUIDisplayError(ULONG ErrorNum, PINPUT_RECORD Ir, ULONG WaitEvent,...)
PCSTR String
Definition: mui.h:27
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
CHAR CharDoubleLowerRightCorner
Definition: mui.c:52
_In_ PVOID _Out_opt_ BOOLEAN _Out_opt_ PPFN_NUMBER Page
Definition: mm.h:1295
long LONG
Definition: pedump.c:60
short SHORT
Definition: pedump.c:59
CHAR CharDoubleUpperLeftCorner
Definition: mui.c:49
CHAR CharLowerRightCorner
Definition: mui.c:44
const MUI_PAGE * MuiPages
Definition: mui.h:34
VOID MUISetText(IN ULONG Page, IN INT TextID)
Definition: mui.c:452
unsigned char BOOLEAN
VOID MUIClearText(IN ULONG Page, IN INT TextID)
Definition: mui.c:344
char * va_list
Definition: acmsvcex.h:78
const MUI_STRING * MuiStrings
Definition: mui.h:36
VOID SetConsoleCodePage(VOID)
Definition: mui.c:537
VOID MUIClearPage(ULONG PageNumber)
PCSTR MUIGetString(ULONG Number)
Definition: mui.c:251
Definition: mui.h:24
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
PCWSTR LanguageDescriptor
Definition: mui.h:33
CHAR CharDoubleUpperRightCorner
Definition: mui.c:50
CHAR CharUpArrow
Definition: mui.c:37
CHAR CharDownArrow
Definition: mui.c:38
CHAR CharDoubleLowerLeftCorner
Definition: mui.c:51
unsigned long DWORD
Definition: ntddk_ex.h:95
const MUI_ENTRY * MUIGetEntry(IN ULONG Page, IN INT TextID)
Definition: mui.c:297
LONG Number
Definition: mui.h:20
SHORT Y
Definition: mui.h:6
CHAR CharLowerLeftCorner
Definition: mui.c:43
PCSTR ErrorText
Definition: mui.h:14
CHAR CharBlock
Definition: mui.c:35
CHAR CharVertLineAndRightHorizLine
Definition: mui.c:45
_In_opt_ PENTER_STATE_SYSTEM_HANDLER _In_opt_ PVOID _In_ LONG _In_opt_ LONG volatile * Number
Definition: ntpoapi.h:204
Definition: mui.h:3
CHAR CharHalfBlock
Definition: mui.c:36
Definition: mui.h:12
VOID MUIDisplayErrorV(IN ULONG ErrorNum, OUT PINPUT_RECORD Ir, IN ULONG WaitEvent, IN va_list args)
Definition: mui.c:199
#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
CHAR CharUpperLeftCorner
Definition: mui.c:41
VOID MUISetStyledText(IN ULONG Page, IN INT TextID, IN INT Flags)
Definition: mui.c:504
const char * PCSTR
Definition: typedefs.h:52
struct MUI_ENTRY * PMUI_ENTRY
CHAR CharDoubleVerticalLine
Definition: mui.c:48
CHAR CharVerticalLine
Definition: mui.c:40
INT TextID
Definition: mui.h:9
CHAR CharDoubleHorizontalLine
Definition: mui.c:47
MUI_ENTRY * MuiEntry
Definition: mui.h:21
PCSTR ErrorStatus
Definition: mui.h:15