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;
|
2011-11-26 18:27:42 +00:00
|
|
|
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
|
|
|
|
2012-02-27 22:46:20 +00:00
|
|
|
BOOLEAN
|
2014-05-12 14:17:37 +00:00
|
|
|
IsLanguageAvailable(
|
|
|
|
PWCHAR LanguageId);
|
2012-02-27 22:46:20 +00:00
|
|
|
|
2007-12-13 16:15:43 +00:00
|
|
|
VOID
|
2014-05-12 14:17:37 +00:00
|
|
|
MUIDisplayPage(
|
|
|
|
ULONG PageNumber);
|
2007-12-12 00:05:00 +00:00
|
|
|
|
2011-11-26 18:27:42 +00:00
|
|
|
VOID
|
2014-05-12 14:17:37 +00:00
|
|
|
MUIClearPage(
|
|
|
|
ULONG PageNumber);
|
2011-11-26 18:27:42 +00:00
|
|
|
|
2008-01-02 14:34:51 +00:00
|
|
|
VOID
|
2014-05-12 14:17:37 +00:00
|
|
|
MUIDisplayError(
|
|
|
|
ULONG ErrorNum,
|
|
|
|
PINPUT_RECORD Ir,
|
2014-12-27 12:33:59 +00:00
|
|
|
ULONG WaitEvent,
|
|
|
|
...);
|
2008-01-02 14:34:51 +00:00
|
|
|
|
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
|
2014-05-12 14:17:37 +00:00
|
|
|
AddKbLayoutsToRegistry(
|
|
|
|
IN const MUI_LAYOUTS *MuiLayouts);
|
2008-06-01 12:52:18 +00:00
|
|
|
|
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
|
2014-05-12 14:17:37 +00:00
|
|
|
MUIGetString(
|
|
|
|
ULONG Number);
|
2008-02-08 04:14:09 +00:00
|
|
|
|
2008-04-28 14:04:22 +00:00
|
|
|
#define STRING_PLEASEWAIT 1
|
|
|
|
#define STRING_INSTALLCREATEPARTITION 2
|
2014-06-08 19:05:03 +00:00
|
|
|
#define STRING_INSTALLCREATELOGICAL 60
|
2008-04-28 14:04:22 +00:00
|
|
|
#define STRING_INSTALLDELETEPARTITION 3
|
2014-05-20 23:48:36 +00:00
|
|
|
#define STRING_DELETEPARTITION 59
|
2008-04-28 14:04:22 +00:00
|
|
|
#define STRING_PARTITIONSIZE 4
|
|
|
|
#define STRING_CHOOSENEWPARTITION 5
|
2014-05-20 23:48:36 +00:00
|
|
|
#define STRING_CHOOSE_NEW_EXTENDED_PARTITION 57
|
2014-06-09 01:49:24 +00:00
|
|
|
#define STRING_CHOOSE_NEW_LOGICAL_PARTITION 61
|
2008-04-28 14:04:22 +00:00
|
|
|
#define STRING_HDDSIZE 6
|
|
|
|
#define STRING_CREATEPARTITION 7
|
|
|
|
#define STRING_PARTFORMAT 8
|
|
|
|
#define STRING_NONFORMATTEDPART 9
|
2015-06-12 21:51:57 +00:00
|
|
|
#define STRING_NONFORMATTEDSYSTEMPART 62
|
|
|
|
#define STRING_NONFORMATTEDOTHERPART 63
|
2008-04-28 14:04:22 +00:00
|
|
|
#define STRING_INSTALLONPART 10
|
|
|
|
#define STRING_CHECKINGPART 11
|
2016-03-02 00:51:48 +00:00
|
|
|
#define STRING_CONTINUE 12
|
|
|
|
#define STRING_QUITCONTINUE 13
|
|
|
|
#define STRING_REBOOTCOMPUTER 14
|
|
|
|
#define STRING_TXTSETUPFAILED 15
|
|
|
|
#define STRING_COPYING 16
|
|
|
|
#define STRING_SETUPCOPYINGFILES 17
|
2008-04-28 14:04:22 +00:00
|
|
|
#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
|
2014-05-20 23:48:36 +00:00
|
|
|
#define STRING_EXTENDED_PARTITION 58
|
2008-04-28 14:04:22 +00:00
|
|
|
#define STRING_FORMATUNUSED 51
|
|
|
|
#define STRING_FORMATUNKNOWN 52
|
|
|
|
#define STRING_KB 53
|
|
|
|
#define STRING_MB 54
|
|
|
|
#define STRING_GB 55
|
|
|
|
#define STRING_ADDKBLAYOUTS 56
|