113 while (Pages[muiIndex].MuiEntry !=
NULL)
115 if (Pages[muiIndex].
Number == PageNumber)
151 PopupError(
"Error: Failed to find translated page",
179 PopupError(
"Error: Failed to find translated page",
211 "Press ENTER to continue",
220 PopupError(
"Error: Failed to find translated error message",
230 entry[ErrorNum].ErrorStatus,
261 for (
i = 0;
entry[
i].Number != 0;
i++)
308 DPRINT(
"MUIGetEntryData(): Failed to get the translated entry page!\n");
323 DPRINT(
"Couldn't get the MUI entry field from the page!\n");
CHAR CharUpperRightCorner
CHAR CharDoubleLowerRightCorner
BOOL WINAPI SetConsoleOutputCP(IN UINT wCodepage)
VOID CONSOLE_SetTextXY(IN SHORT x, IN SHORT y, IN LPCSTR Text)
CHAR CharDoubleHorizontalLine
ACPI_SIZE strlen(const char *String)
VOID CONSOLE_ClearTextXY(IN SHORT x, IN SHORT y, IN SHORT Length)
VOID MUIDisplayPage(IN ULONG page)
VOID PopupError(PCCH Text, PCCH Status, PINPUT_RECORD Ir, ULONG WaitEvent)
CHAR CharDoubleUpperRightCorner
CHAR CharDoubleVerticalLine
_Check_return_ unsigned long __cdecl wcstoul(_In_z_ const wchar_t *_Str, _Out_opt_ _Deref_post_z_ wchar_t **_EndPtr, _In_ int _Radix)
CHAR CharLowerRightCorner
static const MUI_STRING * FindMUIStringEntries(VOID)
_Must_inspect_result_ _In_ WDFIORESREQLIST _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFIORESLIST * ResourceList
PCWSTR MUIGetOEMCodePage(IN PCWSTR LanguageId)
VOID MUISetStyledText(IN ULONG Page, IN INT TextID, IN INT Flags)
#define sprintf(buf, format,...)
_In_ PVOID _Out_opt_ BOOLEAN _Out_opt_ PPFN_NUMBER Page
VOID MUIClearStyledText(IN ULONG Page, IN INT TextID, IN INT Flags)
PCSTR MUIGetString(ULONG Number)
CHAR CharVertLineAndRightHorizLine
static const MUI_ERROR * FindMUIErrorEntries(VOID)
CHAR CharDoubleLowerLeftCorner
_Must_inspect_result_ _In_ ULONG Flags
_In_ WDFCOLLECTION _In_ ULONG Index
VOID MUIClearPage(IN ULONG page)
VOID CONSOLE_SetStyledText(IN SHORT x, IN SHORT y, IN INT Flags, IN LPCSTR Text)
PCWSTR SelectedLanguageId
CHAR CharLeftHorizLineAndVertLine
VOID __cdecl MUIDisplayError(IN ULONG ErrorNum, OUT PINPUT_RECORD Ir, IN ULONG WaitEvent,...)
_In_opt_ PENTER_STATE_SYSTEM_HANDLER _In_opt_ PVOID _In_ LONG _In_opt_ LONG volatile * Number
static ULONG FindLanguageIndex(VOID)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
VOID MUIClearText(IN ULONG Page, IN INT TextID)
int __cdecl vsprintf(char *_Dest, const char *_Format, va_list _Args)
CHAR CharDoubleUpperLeftCorner
BOOLEAN IsLanguageAvailable(IN PCWSTR LanguageId)
VOID MUIDisplayErrorV(IN ULONG ErrorNum, OUT PINPUT_RECORD Ir, IN ULONG WaitEvent, IN va_list args)
const MUI_ENTRY * MUIGetEntry(IN ULONG Page, IN INT TextID)
VOID CONSOLE_ClearStyledText(IN SHORT x, IN SHORT y, IN INT Flags, IN SHORT Length)
static const MUI_ENTRY * FindMUIEntriesOfPage(IN ULONG PageNumber)
VOID MUISetText(IN ULONG Page, IN INT TextID)
_Check_return_ _CRTIMP int __cdecl _wcsicmp(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2)
VOID SetConsoleCodePage(VOID)