ReactOS 0.4.16-dev-329-g9223134
mui.h
Go to the documentation of this file.
1#pragma once
2
3typedef struct
4{
11
12typedef struct
13{
16} MUI_ERROR;
17
18typedef struct
19{
22} MUI_PAGE;
23
24typedef struct
25{
29
30typedef struct
31{
38
39#if 0
42 PWCHAR LanguageId);
43#endif
44
45VOID
47 ULONG PageNumber);
48
49VOID
51 ULONG PageNumber);
52
53VOID
55 IN ULONG ErrorNum,
57 IN ULONG WaitEvent,
59
60VOID
63 ULONG ErrorNum,
65 ULONG WaitEvent,
66 ...);
67
68VOID
70
74
75const MUI_ENTRY *
78 IN INT TextID);
79
80VOID
83 IN INT TextID);
84
85VOID
88 IN INT TextID,
89 IN INT Flags);
90
91VOID
94 IN INT TextID);
95
96VOID
99 IN INT TextID,
100 IN INT Flags);
101
102/* Special characters */
103extern CHAR CharBullet;
104extern CHAR CharBlock;
105extern CHAR CharHalfBlock;
106extern CHAR CharUpArrow;
107extern CHAR CharDownArrow;
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 3
135#define STRING_INSTALLDELETEPARTITION 4
136#define STRING_DELETEPARTITION 5
137#define STRING_PARTITIONSIZE 6
138#define STRING_CHOOSE_NEW_PARTITION 7
139#define STRING_CHOOSE_NEW_EXTENDED_PARTITION 8
140#define STRING_CHOOSE_NEW_LOGICAL_PARTITION 9
141#define STRING_HDPARTSIZE 10
142#define STRING_CREATEPARTITION 11
143#define STRING_NEWPARTITION 12
144#define STRING_PARTFORMAT 13
145#define STRING_NONFORMATTEDPART 14
146#define STRING_NONFORMATTEDSYSTEMPART 15
147#define STRING_NONFORMATTEDOTHERPART 16
148#define STRING_INSTALLONPART 17
149#define STRING_CONTINUE 18
150#define STRING_QUITCONTINUE 19
151#define STRING_REBOOTCOMPUTER 20
152#define STRING_DELETING 21
153#define STRING_MOVING 22
154#define STRING_RENAMING 23
155#define STRING_COPYING 24
156#define STRING_SETUPCOPYINGFILES 25
157#define STRING_REGHIVEUPDATE 26
158#define STRING_IMPORTFILE 27
159#define STRING_DISPLAYSETTINGSUPDATE 28
160#define STRING_LOCALESETTINGSUPDATE 29
161#define STRING_KEYBOARDSETTINGSUPDATE 30
162#define STRING_CODEPAGEINFOUPDATE 31
163#define STRING_DONE 32
164#define STRING_REBOOTCOMPUTER2 33
165#define STRING_CONSOLEFAIL1 34
166#define STRING_CONSOLEFAIL2 35
167#define STRING_CONSOLEFAIL3 36
168#define STRING_FORMATTINGPART 37
169#define STRING_CHECKINGDISK 38
170#define STRING_FORMATDISK1 39
171#define STRING_FORMATDISK2 40
172#define STRING_KEEPFORMAT 41
173#define STRING_HDDISK1 42
174#define STRING_HDDISK2 43
175#define STRING_PARTTYPE 44
176#define STRING_HDDINFO1 45
177#define STRING_HDDINFO2 46
178#define STRING_UNPSPACE 47
179#define STRING_MAXSIZE 48
180#define STRING_UNFORMATTED 49
181#define STRING_EXTENDED_PARTITION 50
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 57
unsigned char BOOLEAN
#define __cdecl
Definition: accygwin.h:79
char * va_list
Definition: acmsvcex.h:78
unsigned long DWORD
Definition: ntddk_ex.h:95
BOOLEAN IsLanguageAvailable(IN PCWSTR LanguageId)
Definition: mui.c:70
_In_ PVOID _Out_opt_ BOOLEAN _Out_opt_ PPFN_NUMBER Page
Definition: mm.h:1306
_In_opt_ PENTER_STATE_SYSTEM_HANDLER _In_opt_ PVOID _In_ LONG _In_opt_ LONG volatile * Number
Definition: ntpoapi.h:207
short SHORT
Definition: pedump.c:59
long LONG
Definition: pedump.c:60
Definition: mui.h:4
SHORT Y
Definition: mui.h:6
PCSTR Buffer
Definition: mui.h:7
SHORT X
Definition: mui.h:5
INT TextID
Definition: mui.h:9
DWORD Flags
Definition: mui.h:8
Definition: mui.h:13
PCSTR ErrorStatus
Definition: mui.h:15
PCSTR ErrorText
Definition: mui.h:14
PCWSTR LanguageID
Definition: mui.h:32
PCWSTR LanguageDescriptor
Definition: mui.h:33
const MUI_STRING * MuiStrings
Definition: mui.h:36
const MUI_ERROR * MuiErrors
Definition: mui.h:35
const MUI_PAGE * MuiPages
Definition: mui.h:34
Definition: mui.h:19
LONG Number
Definition: mui.h:20
MUI_ENTRY * MuiEntry
Definition: mui.h:21
Definition: mui.h:25
PCSTR String
Definition: mui.h:27
LONG Number
Definition: mui.h:26
Definition: match.c:390
const uint16_t * PCWSTR
Definition: typedefs.h:57
int32_t INT
Definition: typedefs.h:58
const char * PCSTR
Definition: typedefs.h:52
#define IN
Definition: typedefs.h:39
uint16_t * PWCHAR
Definition: typedefs.h:56
uint32_t ULONG
Definition: typedefs.h:59
#define OUT
Definition: typedefs.h:40
CHAR CharHorizontalLine
Definition: mui.c:39
CHAR CharHalfBlock
Definition: mui.c:36
CHAR CharBlock
Definition: mui.c:35
struct MUI_ENTRY * PMUI_ENTRY
CHAR CharBullet
Definition: mui.c:34
VOID MUIDisplayPage(ULONG PageNumber)
CHAR CharDoubleLowerRightCorner
Definition: mui.c:52
CHAR CharDoubleUpperRightCorner
Definition: mui.c:50
CHAR CharUpperRightCorner
Definition: mui.c:42
CHAR CharDoubleLowerLeftCorner
Definition: mui.c:51
CHAR CharDownArrow
Definition: mui.c:38
const MUI_ENTRY * MUIGetEntry(IN ULONG Page, IN INT TextID)
Definition: mui.c:297
VOID SetConsoleCodePage(VOID)
Definition: mui.c:537
CHAR CharDoubleUpperLeftCorner
Definition: mui.c:49
VOID MUISetText(IN ULONG Page, IN INT TextID)
Definition: mui.c:452
CHAR CharLeftHorizLineAndVertLine
Definition: mui.c:46
VOID MUIClearText(IN ULONG Page, IN INT TextID)
Definition: mui.c:344
CHAR CharVertLineAndRightHorizLine
Definition: mui.c:45
CHAR CharDoubleHorizontalLine
Definition: mui.c:47
VOID MUIDisplayErrorV(IN ULONG ErrorNum, OUT PINPUT_RECORD Ir, IN ULONG WaitEvent, IN va_list args)
Definition: mui.c:199
CHAR CharLowerRightCorner
Definition: mui.c:44
PCSTR MUIGetString(ULONG Number)
Definition: mui.c:251
CHAR CharUpperLeftCorner
Definition: mui.c:41
VOID MUIClearStyledText(IN ULONG Page, IN INT TextID, IN INT Flags)
Definition: mui.c:399
VOID MUISetStyledText(IN ULONG Page, IN INT TextID, IN INT Flags)
Definition: mui.c:504
CHAR CharDoubleVerticalLine
Definition: mui.c:48
VOID __cdecl MUIDisplayError(ULONG ErrorNum, PINPUT_RECORD Ir, ULONG WaitEvent,...)
VOID MUIClearPage(ULONG PageNumber)
CHAR CharVerticalLine
Definition: mui.c:40
CHAR CharLowerLeftCorner
Definition: mui.c:43
CHAR CharUpArrow
Definition: mui.c:37
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
char CHAR
Definition: xmlstorage.h:175