[NTGDI][FONT] Don't rely FT_FaceRec.style_name (#2064)
[reactos.git] / base / setup / usetup / mui.h
1 #pragma once
2
3 typedef struct
4 {
5 BYTE X;
6 BYTE Y;
7 LPCSTR Buffer;
8 DWORD Flags;
9 } MUI_ENTRY, *PMUI_ENTRY;
10
11 typedef struct
12 {
13 LPCSTR ErrorText;
14 LPCSTR ErrorStatus;
15 } MUI_ERROR;
16
17 typedef struct
18 {
19 LONG Number;
20 MUI_ENTRY * MuiEntry;
21 } MUI_PAGE;
22
23 typedef struct
24 {
25 LONG Number;
26 LPSTR String;
27 } MUI_STRING;
28
29 typedef struct
30 {
31 PCWSTR LanguageID;
32 PCWSTR LanguageDescriptor;
33 const MUI_PAGE * MuiPages;
34 const MUI_ERROR * MuiErrors;
35 const MUI_STRING * MuiStrings;
36 } MUI_LANGUAGE_RESOURCE;
37
38 #if 0
39 BOOLEAN
40 IsLanguageAvailable(
41 PWCHAR LanguageId);
42 #endif
43
44 VOID
45 MUIDisplayPage(
46 ULONG PageNumber);
47
48 VOID
49 MUIClearPage(
50 ULONG PageNumber);
51
52 VOID
53 MUIDisplayErrorV(
54 IN ULONG ErrorNum,
55 OUT PINPUT_RECORD Ir,
56 IN ULONG WaitEvent,
57 IN va_list args);
58
59 VOID
60 __cdecl
61 MUIDisplayError(
62 ULONG ErrorNum,
63 PINPUT_RECORD Ir,
64 ULONG WaitEvent,
65 ...);
66
67 VOID
68 SetConsoleCodePage(VOID);
69
70 LPSTR
71 MUIGetString(
72 ULONG Number);
73
74 #define STRING_PLEASEWAIT 1
75 #define STRING_INSTALLCREATEPARTITION 2
76 #define STRING_INSTALLCREATELOGICAL 60
77 #define STRING_INSTALLDELETEPARTITION 3
78 #define STRING_DELETEPARTITION 59
79 #define STRING_PARTITIONSIZE 4
80 #define STRING_CHOOSENEWPARTITION 5
81 #define STRING_CHOOSE_NEW_EXTENDED_PARTITION 57
82 #define STRING_CHOOSE_NEW_LOGICAL_PARTITION 61
83 #define STRING_HDDSIZE 6
84 #define STRING_CREATEPARTITION 7
85 #define STRING_PARTFORMAT 8
86 #define STRING_NONFORMATTEDPART 9
87 #define STRING_NONFORMATTEDSYSTEMPART 62
88 #define STRING_NONFORMATTEDOTHERPART 63
89 #define STRING_INSTALLONPART 10
90 #define STRING_CHECKINGPART 11
91 #define STRING_CONTINUE 12
92 #define STRING_QUITCONTINUE 13
93 #define STRING_REBOOTCOMPUTER 14
94 #define STRING_DELETING 15
95 #define STRING_MOVING 16
96 #define STRING_RENAMING 17
97 #define STRING_COPYING 18
98 #define STRING_SETUPCOPYINGFILES 19
99 #define STRING_REGHIVEUPDATE 20
100 #define STRING_IMPORTFILE 21
101 #define STRING_DISPLAYSETTINGSUPDATE 22
102 #define STRING_LOCALESETTINGSUPDATE 23
103 #define STRING_KEYBOARDSETTINGSUPDATE 24
104 #define STRING_CODEPAGEINFOUPDATE 25
105 #define STRING_DONE 26
106 #define STRING_REBOOTCOMPUTER2 27
107 #define STRING_CONSOLEFAIL1 28
108 #define STRING_CONSOLEFAIL2 29
109 #define STRING_CONSOLEFAIL3 30
110 #define STRING_FORMATTINGDISK 31
111 #define STRING_CHECKINGDISK 32
112 #define STRING_FORMATDISK1 33
113 #define STRING_FORMATDISK2 34
114 #define STRING_KEEPFORMAT 35
115 #define STRING_HDINFOPARTCREATE_1 36
116 #define STRING_HDINFOPARTCREATE_2 37
117 #define STRING_HDDINFOUNK2 38
118 #define STRING_HDINFOPARTDELETE_1 39
119 #define STRING_HDINFOPARTDELETE_2 40
120 #define STRING_HDINFOPARTZEROED_1 41
121 #define STRING_HDDINFOUNK4 42
122 #define STRING_HDINFOPARTEXISTS_1 43
123 #define STRING_HDDINFOUNK5 44
124 #define STRING_HDINFOPARTSELECT_1 45
125 #define STRING_HDINFOPARTSELECT_2 46
126 #define STRING_NEWPARTITION 47
127 #define STRING_UNPSPACE 48
128 #define STRING_MAXSIZE 49
129 #define STRING_UNFORMATTED 50
130 #define STRING_EXTENDED_PARTITION 58
131 #define STRING_FORMATUNUSED 51
132 #define STRING_FORMATUNKNOWN 52
133 #define STRING_KB 53
134 #define STRING_MB 54
135 #define STRING_GB 55
136 #define STRING_ADDKBLAYOUTS 56
137 #define STRING_REBOOTPROGRESSBAR 64