2010-02-26 11:43:19 +00:00
|
|
|
#pragma once
|
2007-12-12 00:05:00 +00:00
|
|
|
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
BYTE X;
|
|
|
|
BYTE Y;
|
2008-01-09 09:40:47 +00:00
|
|
|
LPCSTR Buffer;
|
2008-03-19 04:43:40 +00:00
|
|
|
DWORD Flags;
|
2007-12-12 00:05:00 +00:00
|
|
|
}MUI_ENTRY, *PMUI_ENTRY;
|
|
|
|
|
2008-01-02 14:34:51 +00:00
|
|
|
typedef struct
|
|
|
|
{
|
2008-01-09 09:40:47 +00:00
|
|
|
LPCSTR ErrorText;
|
|
|
|
LPCSTR ErrorStatus;
|
2008-01-02 14:34:51 +00:00
|
|
|
}MUI_ERROR;
|
|
|
|
|
2007-12-12 00:05:00 +00:00
|
|
|
typedef struct
|
|
|
|
{
|
2008-01-09 09:40:47 +00:00
|
|
|
LONG Number;
|
2007-12-12 00:05:00 +00:00
|
|
|
MUI_ENTRY * MuiEntry;
|
2008-05-31 13:29:45 +00:00
|
|
|
} MUI_PAGE;
|
2007-12-12 00:05:00 +00:00
|
|
|
|
2008-02-08 04:14:09 +00:00
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
LONG Number;
|
|
|
|
LPSTR String;
|
|
|
|
} MUI_STRING;
|
|
|
|
|
2008-05-31 13:29:45 +00:00
|
|
|
typedef struct
|
|
|
|
{
|
2008-06-01 12:52:18 +00:00
|
|
|
PWCHAR FontName;
|
|
|
|
PWCHAR SubFontName;
|
2008-05-31 13:29:45 +00:00
|
|
|
} MUI_SUBFONT;
|
|
|
|
|
2008-06-01 12:52:18 +00:00
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
PWCHAR LangID; // Language ID (like "0409")
|
|
|
|
PWCHAR LayoutID; // Layout ID (like "00000409")
|
|
|
|
} MUI_LAYOUTS;
|
|
|
|
|
2007-12-12 00:05:00 +00:00
|
|
|
typedef struct
|
|
|
|
{
|
2007-12-23 20:29:52 +00:00
|
|
|
PWCHAR LanguageID;
|
2008-01-07 12:34:54 +00:00
|
|
|
PWCHAR ACPage;
|
|
|
|
PWCHAR OEMCPage;
|
|
|
|
PWCHAR MACCPage;
|
2007-12-23 20:29:52 +00:00
|
|
|
PWCHAR LanguageDescriptor;
|
2009-02-05 13:50:49 +00:00
|
|
|
PWCHAR GeoID;
|
2008-01-09 09:40:47 +00:00
|
|
|
const MUI_PAGE * MuiPages;
|
|
|
|
const MUI_ERROR * MuiErrors;
|
2008-02-08 04:14:09 +00:00
|
|
|
const MUI_STRING * MuiStrings;
|
2008-05-31 13:29:45 +00:00
|
|
|
const MUI_SUBFONT * MuiSubFonts;
|
2008-06-01 12:52:18 +00:00
|
|
|
const MUI_LAYOUTS * MuiLayouts;
|
2008-05-31 13:29:45 +00:00
|
|
|
} MUI_LANGUAGE;
|
2007-12-12 00:05:00 +00:00
|
|
|
|
2007-12-13 16:15:43 +00:00
|
|
|
VOID
|
2007-12-25 20:24:19 +00:00
|
|
|
MUIDisplayPage (ULONG PageNumber);
|
2007-12-12 00:05:00 +00:00
|
|
|
|
2008-01-02 14:34:51 +00:00
|
|
|
VOID
|
|
|
|
MUIDisplayError (ULONG ErrorNum, PINPUT_RECORD Ir, ULONG WaitEvent);
|
|
|
|
|
2008-01-09 09:40:47 +00:00
|
|
|
LPCWSTR
|
|
|
|
MUIDefaultKeyboardLayout(VOID);
|
2008-01-06 23:36:01 +00:00
|
|
|
|
2009-02-05 13:50:49 +00:00
|
|
|
PWCHAR
|
|
|
|
MUIGetGeoID(VOID);
|
|
|
|
|
2008-06-01 12:52:18 +00:00
|
|
|
const MUI_LAYOUTS *
|
|
|
|
MUIGetLayoutsList(VOID);
|
|
|
|
|
|
|
|
BOOLEAN
|
|
|
|
AddKbLayoutsToRegistry(IN const MUI_LAYOUTS * MuiLayouts);
|
|
|
|
|
2008-01-07 14:51:42 +00:00
|
|
|
BOOLEAN
|
|
|
|
AddCodePage(VOID);
|
|
|
|
|
2008-04-28 14:04:22 +00:00
|
|
|
BOOLEAN
|
|
|
|
AddKeyboardLayouts(VOID);
|
|
|
|
|
2008-01-21 13:33:52 +00:00
|
|
|
VOID
|
|
|
|
SetConsoleCodePage(VOID);
|
2008-01-06 23:36:01 +00:00
|
|
|
|
2008-02-08 04:14:09 +00:00
|
|
|
LPSTR
|
|
|
|
MUIGetString(ULONG Number);
|
|
|
|
|
2008-04-28 14:04:22 +00:00
|
|
|
#define STRING_PLEASEWAIT 1
|
|
|
|
#define STRING_INSTALLCREATEPARTITION 2
|
|
|
|
#define STRING_INSTALLDELETEPARTITION 3
|
|
|
|
#define STRING_PARTITIONSIZE 4
|
|
|
|
#define STRING_CHOOSENEWPARTITION 5
|
|
|
|
#define STRING_HDDSIZE 6
|
|
|
|
#define STRING_CREATEPARTITION 7
|
|
|
|
#define STRING_PARTFORMAT 8
|
|
|
|
#define STRING_NONFORMATTEDPART 9
|
|
|
|
#define STRING_INSTALLONPART 10
|
|
|
|
#define STRING_CHECKINGPART 11
|
|
|
|
#define STRING_QUITCONTINUE 12
|
|
|
|
#define STRING_REBOOTCOMPUTER 13
|
|
|
|
#define STRING_TXTSETUPFAILED 14
|
|
|
|
#define STRING_COPYING 15
|
|
|
|
#define STRING_SETUPCOPYINGFILES 16
|
|
|
|
#define STRING_REGHIVEUPDATE 20
|
|
|
|
#define STRING_IMPORTFILE 21
|
|
|
|
#define STRING_DISPLAYETTINGSUPDATE 22
|
|
|
|
#define STRING_LOCALESETTINGSUPDATE 23
|
|
|
|
#define STRING_KEYBOARDSETTINGSUPDATE 24
|
|
|
|
#define STRING_CODEPAGEINFOUPDATE 25
|
|
|
|
#define STRING_DONE 26
|
|
|
|
#define STRING_REBOOTCOMPUTER2 27
|
|
|
|
#define STRING_CONSOLEFAIL1 28
|
|
|
|
#define STRING_CONSOLEFAIL2 29
|
|
|
|
#define STRING_CONSOLEFAIL3 30
|
|
|
|
#define STRING_FORMATTINGDISK 31
|
|
|
|
#define STRING_CHECKINGDISK 32
|
|
|
|
#define STRING_FORMATDISK1 33
|
|
|
|
#define STRING_FORMATDISK2 34
|
|
|
|
#define STRING_KEEPFORMAT 35
|
|
|
|
#define STRING_HDINFOPARTCREATE 36
|
|
|
|
#define STRING_HDDINFOUNK1 37
|
|
|
|
#define STRING_HDDINFOUNK2 38
|
|
|
|
#define STRING_HDINFOPARTDELETE 39
|
|
|
|
#define STRING_HDDINFOUNK3 40
|
|
|
|
#define STRING_HDINFOPARTZEROED 41
|
|
|
|
#define STRING_HDDINFOUNK4 42
|
|
|
|
#define STRING_HDINFOPARTEXISTS 43
|
|
|
|
#define STRING_HDDINFOUNK5 44
|
|
|
|
#define STRING_HDINFOPARTSELECT 45
|
|
|
|
#define STRING_HDDINFOUNK6 46
|
|
|
|
#define STRING_NEWPARTITION 47
|
|
|
|
#define STRING_UNPSPACE 48
|
|
|
|
#define STRING_MAXSIZE 49
|
|
|
|
#define STRING_UNFORMATTED 50
|
|
|
|
#define STRING_FORMATUNUSED 51
|
|
|
|
#define STRING_FORMATUNKNOWN 52
|
|
|
|
#define STRING_KB 53
|
|
|
|
#define STRING_MB 54
|
|
|
|
#define STRING_GB 55
|
|
|
|
#define STRING_ADDKBLAYOUTS 56
|