- Show localized error messages
[reactos.git] / reactos / base / setup / usetup / mui.h
1 #ifndef MUI_H__
2 #define MUI_H__
3
4 typedef struct
5 {
6 BYTE X;
7 BYTE Y;
8 CHAR * Buffer;
9 BYTE Flags;
10 }MUI_ENTRY, *PMUI_ENTRY;
11
12 typedef struct
13 {
14 CHAR * ErrorText;
15 CHAR * ErrorStatus;
16 }MUI_ERROR;
17
18 typedef struct
19 {
20 long Number;
21 MUI_ENTRY * MuiEntry;
22 }MUI_PAGE;
23
24 typedef struct
25 {
26 PWCHAR LanguageID;
27 PWCHAR LanguageKeyboardLayoutID;
28 PWCHAR LanguageDescriptor;
29 MUI_PAGE * MuiPages;
30 MUI_ERROR * MuiErrors;
31 }MUI_LANGUAGE;
32
33
34 #define TEXT_NORMAL 0
35 #define TEXT_HIGHLIGHT 1
36 #define TEXT_UNDERLINE 2
37 #define TEXT_STATUS 4
38
39 #define TEXT_ALIGN_DEFAULT 8
40 #define TEXT_ALIGN_RIGHT 16
41 #define TEXT_ALIGN_LEFT 32
42 #define TEXT_ALIGN_CENTER 64
43
44 VOID
45 MUIDisplayPage (ULONG PageNumber);
46
47 VOID
48 MUIDisplayError (ULONG ErrorNum, PINPUT_RECORD Ir, ULONG WaitEvent);
49
50 #endif