#include <usetup.h>
#include <debug.h>
Go to the source code of this file.
|
BOOLEAN | CONSOLE_Init (VOID) |
|
VOID | CONSOLE_ConInKey (OUT PINPUT_RECORD Buffer) |
|
BOOLEAN | CONSOLE_ConInKeyPeek (OUT PINPUT_RECORD Buffer) |
|
VOID | CONSOLE_ConOutChar (IN CHAR c) |
|
VOID | CONSOLE_ConOutPuts (IN LPCSTR szText) |
|
VOID | CONSOLE_ConOutPrintfV (IN LPCSTR szFormat, IN va_list args) |
|
VOID __cdecl | CONSOLE_ConOutPrintf (IN LPCSTR szFormat,...) |
|
BOOL | CONSOLE_Flush (VOID) |
|
VOID | CONSOLE_GetCursorXY (OUT PSHORT x, OUT PSHORT y) |
|
SHORT | CONSOLE_GetCursorX (VOID) |
|
SHORT | CONSOLE_GetCursorY (VOID) |
|
VOID | CONSOLE_SetCursorType (IN BOOL bInsert, IN BOOL bVisible) |
|
VOID | CONSOLE_SetCursorXY (IN SHORT x, IN SHORT y) |
|
VOID | CONSOLE_ClearScreen (VOID) |
|
VOID | CONSOLE_InvertTextXY (IN SHORT x, IN SHORT y, IN SHORT col, IN SHORT row) |
|
VOID | CONSOLE_NormalTextXY (IN SHORT x, IN SHORT y, IN SHORT col, IN SHORT row) |
|
VOID | CONSOLE_SetTextXY (IN SHORT x, IN SHORT y, IN LPCSTR Text) |
|
VOID | CONSOLE_ClearTextXY (IN SHORT x, IN SHORT y, IN SHORT Length) |
|
VOID | CONSOLE_SetInputTextXY (IN SHORT x, IN SHORT y, IN SHORT len, IN LPCWSTR Text) |
|
VOID | CONSOLE_SetUnderlinedTextXY (IN SHORT x, IN SHORT y, IN LPCSTR Text) |
|
VOID | CONSOLE_SetStatusTextXV (IN SHORT x, IN LPCSTR fmt, IN va_list args) |
|
VOID __cdecl | CONSOLE_SetStatusTextX (IN SHORT x, IN LPCSTR fmt,...) |
|
VOID | CONSOLE_SetStatusTextV (IN LPCSTR fmt, IN va_list args) |
|
VOID __cdecl | CONSOLE_SetStatusText (IN LPCSTR fmt,...) |
|
static VOID | CONSOLE_ClearStatusTextX (IN SHORT x, IN SHORT Length) |
|
VOID __cdecl | CONSOLE_SetStatusTextAutoFitX (IN SHORT x, IN LPCSTR fmt,...) |
|
VOID | CONSOLE_SetInvertedTextXY (IN SHORT x, IN SHORT y, IN LPCSTR Text) |
|
VOID | CONSOLE_SetHighlightedTextXY (IN SHORT x, IN SHORT y, IN LPCSTR Text) |
|
VOID __cdecl | CONSOLE_PrintTextXY (IN SHORT x, IN SHORT y, IN LPCSTR fmt,...) |
|
VOID __cdecl | CONSOLE_PrintTextXYN (IN SHORT x, IN SHORT y, IN SHORT len, IN LPCSTR fmt,...) |
|
VOID | CONSOLE_SetStyledText (IN SHORT x, IN SHORT y, IN INT Flags, IN LPCSTR Text) |
|
VOID | CONSOLE_ClearStyledText (IN SHORT x, IN SHORT y, IN INT Flags, IN SHORT Length) |
|
◆ NDEBUG
◆ CONSOLE_ClearScreen()
Definition at line 239 of file consup.c.
BOOL WINAPI FillConsoleOutputAttribute(IN HANDLE hConsoleOutput, IN WORD wAttribute, IN DWORD nLength, IN COORD dwWriteCoord, OUT LPDWORD lpNumberOfAttrsWritten)
BOOL WINAPI FillConsoleOutputCharacterA(IN HANDLE hConsoleOutput, IN CHAR cCharacter, IN DWORD nLength, IN COORD dwWriteCoord, OUT LPDWORD lpNumberOfCharsWritten)
Referenced by CommandCls(), RecoveryConsole(), RunUSetup(), and SelectFileSystemPage().
◆ CONSOLE_ClearStatusTextX()
Definition at line 499 of file consup.c.
_In_ ULONG _In_ ULONG _In_ ULONG Length
GLint GLint GLint GLint GLint x
BOOL WINAPI FillConsoleOutputCharacterA(IN HANDLE hConsoleOutput, IN CHAR cCharacter, IN DWORD nLength, IN COORD dwWriteCoord, OUT LPDWORD lpNumberOfCharsWritten)
Referenced by CONSOLE_ClearStyledText().
◆ CONSOLE_ClearStyledText()
Definition at line 755 of file consup.c.
_In_ ULONG _In_ ULONG _In_ ULONG Length
VOID CONSOLE_ClearTextXY(IN SHORT x, IN SHORT y, IN SHORT Length)
#define TEXT_PADDING_MEDIUM
static VOID CONSOLE_ClearStatusTextX(IN SHORT x, IN SHORT Length)
#define TEXT_ALIGN_CENTER
GLint GLint GLint GLint GLint x
_Must_inspect_result_ _In_ ULONG Flags
GLint GLint GLint GLint GLint GLint y
#define TEXT_PADDING_SMALL
Referenced by MUIClearPage(), and MUIClearStyledText().
◆ CONSOLE_ClearTextXY()
Definition at line 339 of file consup.c.
_In_ ULONG _In_ ULONG _In_ ULONG Length
GLint GLint GLint GLint GLint x
BOOL WINAPI FillConsoleOutputCharacterA(IN HANDLE hConsoleOutput, IN CHAR cCharacter, IN DWORD nLength, IN COORD dwWriteCoord, OUT LPDWORD lpNumberOfCharsWritten)
GLint GLint GLint GLint GLint GLint y
Referenced by CONSOLE_ClearStyledText(), and MUIClearText().
◆ CONSOLE_ConInKey()
Definition at line 70 of file consup.c.
Referenced by BootLoaderFloppyPage(), BootLoaderPage(), CheckFileSystemPage(), ConfirmDeleteSystemPartitionPage(), ConfirmQuit(), DeletePartitionPage(), DeviceSettingsPage(), FormatPartitionPage(), HandleGenericList(), InstallDirectoryPage(), InstallIntroPage(), LanguagePage(), LicensePage(), PopupError(), ReadCommand(), RepairIntroPage(), SelectFileSystemPage(), SelectPartitionPage(), ShowPartitionSizeInputBox(), UpgradeRepairPage(), and WelcomePage().
◆ CONSOLE_ConInKeyPeek()
Definition at line 89 of file consup.c.
BOOL WINAPI PeekConsoleInput(IN HANDLE hConsoleInput, OUT PINPUT_RECORD lpBuffer, IN DWORD nLength, OUT LPDWORD lpNumberOfEventsRead)
Referenced by ProgressCountdown().
◆ CONSOLE_ConOutChar()
◆ CONSOLE_ConOutPrintf()
Definition at line 163 of file consup.c.
VOID CONSOLE_ConOutPrintfV(IN LPCSTR szFormat, IN va_list args)
Referenced by CommandDumpSector(), CommandHelp(), CommandPartInfo(), HelpCls(), HelpDumpSector(), HelpExit(), HelpHelp(), HelpPartInfo(), HexDump(), ReadCommand(), and RecoveryConsole().
◆ CONSOLE_ConOutPrintfV()
Definition at line 145 of file consup.c.
ACPI_SIZE strlen(const char *String)
int __cdecl vsprintf(char *_Dest, const char *_Format, va_list _Args)
Referenced by CONSOLE_ConOutPrintf().
◆ CONSOLE_ConOutPuts()
◆ CONSOLE_Flush()
◆ CONSOLE_GetCursorX()
Definition at line 194 of file consup.c.
BOOL WINAPI GetConsoleScreenBufferInfo(IN HANDLE hConsoleOutput, OUT PCONSOLE_SCREEN_BUFFER_INFO lpConsoleScreenBufferInfo)
Referenced by ReadCommand().
◆ CONSOLE_GetCursorXY()
Definition at line 181 of file consup.c.
GLint GLint GLint GLint GLint x
BOOL WINAPI GetConsoleScreenBufferInfo(IN HANDLE hConsoleOutput, OUT PCONSOLE_SCREEN_BUFFER_INFO lpConsoleScreenBufferInfo)
GLint GLint GLint GLint GLint GLint y
Referenced by ReadCommand().
◆ CONSOLE_GetCursorY()
Definition at line 204 of file consup.c.
BOOL WINAPI GetConsoleScreenBufferInfo(IN HANDLE hConsoleOutput, OUT PCONSOLE_SCREEN_BUFFER_INFO lpConsoleScreenBufferInfo)
Referenced by ReadCommand().
◆ CONSOLE_Init()
Definition at line 45 of file consup.c.
BOOL WINAPI AllocConsole(VOID)
HANDLE WINAPI GetStdHandle(IN DWORD nStdHandle)
BOOL WINAPI GetConsoleScreenBufferInfo(IN HANDLE hConsoleOutput, OUT PCONSOLE_SCREEN_BUFFER_INFO lpConsoleScreenBufferInfo)
BOOL WINAPI FreeConsole(VOID)
#define STD_OUTPUT_HANDLE
Referenced by RunUSetup().
◆ CONSOLE_InvertTextXY()
Definition at line 276 of file consup.c.
285 for (coPos.
Y =
y; coPos.
Y <
y +
row; coPos.
Y++)
BOOL WINAPI FillConsoleOutputAttribute(IN HANDLE hConsoleOutput, IN WORD wAttribute, IN DWORD nLength, IN COORD dwWriteCoord, OUT LPDWORD lpNumberOfAttrsWritten)
GLint GLint GLint GLint GLint x
GLint GLint GLint GLint GLint GLint y
struct png_info_def *typedef unsigned char **typedef struct png_info_def *typedef struct png_info_def *typedef struct png_info_def *typedef unsigned char ** row
Referenced by BootLoaderPage(), and DeviceSettingsPage().
◆ CONSOLE_NormalTextXY()
Definition at line 298 of file consup.c.
307 for (coPos.
Y =
y; coPos.
Y <
y +
row; coPos.
Y++)
BOOL WINAPI FillConsoleOutputAttribute(IN HANDLE hConsoleOutput, IN WORD wAttribute, IN DWORD nLength, IN COORD dwWriteCoord, OUT LPDWORD lpNumberOfAttrsWritten)
GLint GLint GLint GLint GLint x
GLint GLint GLint GLint GLint GLint y
struct png_info_def *typedef unsigned char **typedef struct png_info_def *typedef struct png_info_def *typedef struct png_info_def *typedef unsigned char ** row
Referenced by BootLoaderPage(), and DeviceSettingsPage().
◆ CONSOLE_PrintTextXY()
Definition at line 601 of file consup.c.
ACPI_SIZE strlen(const char *String)
GLint GLint GLint GLint GLint x
BOOL WINAPI WriteConsoleOutputCharacterA(HANDLE hConsoleOutput, IN LPCSTR lpCharacter, IN DWORD nLength, IN COORD dwWriteCoord, OUT LPDWORD lpNumberOfCharsWritten)
int __cdecl vsprintf(char *_Dest, const char *_Format, va_list _Args)
GLint GLint GLint GLint GLint GLint y
void int int ULONGLONG int va_list * ap
Referenced by CreateExtendedPartitionPage(), CreateLogicalPartitionPage(), CreatePrimaryPartitionPage(), DeletePartitionPage(), and SelectFileSystemPage().
◆ CONSOLE_PrintTextXYN()
Definition at line 628 of file consup.c.
_In_ ULONG _In_ ULONG _In_ ULONG Length
ACPI_SIZE strlen(const char *String)
GLint GLint GLint GLint GLint x
BOOL WINAPI FillConsoleOutputCharacterA(IN HANDLE hConsoleOutput, IN CHAR cCharacter, IN DWORD nLength, IN COORD dwWriteCoord, OUT LPDWORD lpNumberOfCharsWritten)
BOOL WINAPI WriteConsoleOutputCharacterA(HANDLE hConsoleOutput, IN LPCSTR lpCharacter, IN DWORD nLength, IN COORD dwWriteCoord, OUT LPDWORD lpNumberOfCharsWritten)
int __cdecl vsprintf(char *_Dest, const char *_Format, va_list _Args)
GLint GLint GLint GLint GLint GLint y
void int int ULONGLONG int va_list * ap
◆ CONSOLE_SetCursorType()
◆ CONSOLE_SetCursorXY()
◆ CONSOLE_SetHighlightedTextXY()
Definition at line 572 of file consup.c.
_In_ ULONG _In_ ULONG _In_ ULONG Length
BOOL WINAPI FillConsoleOutputAttribute(IN HANDLE hConsoleOutput, IN WORD wAttribute, IN DWORD nLength, IN COORD dwWriteCoord, OUT LPDWORD lpNumberOfAttrsWritten)
ACPI_SIZE strlen(const char *String)
GLint GLint GLint GLint GLint x
BOOL WINAPI WriteConsoleOutputCharacterA(HANDLE hConsoleOutput, IN LPCSTR lpCharacter, IN DWORD nLength, IN COORD dwWriteCoord, OUT LPDWORD lpNumberOfCharsWritten)
#define FOREGROUND_INTENSITY
GLint GLint GLint GLint GLint GLint y
Referenced by CONSOLE_SetStyledText().
◆ CONSOLE_SetInputTextXY()
Definition at line 357 of file consup.c.
_In_ ULONG _In_ ULONG _In_ ULONG Length
BOOL WINAPI FillConsoleOutputAttribute(IN HANDLE hConsoleOutput, IN WORD wAttribute, IN DWORD nLength, IN COORD dwWriteCoord, OUT LPDWORD lpNumberOfAttrsWritten)
GLint GLint GLint GLint GLint x
BOOL WINAPI FillConsoleOutputCharacterA(IN HANDLE hConsoleOutput, IN CHAR cCharacter, IN DWORD nLength, IN COORD dwWriteCoord, OUT LPDWORD lpNumberOfCharsWritten)
BOOL WINAPI WriteConsoleOutputCharacterW(HANDLE hConsoleOutput, IN LPCWSTR lpCharacter, IN DWORD nLength, IN COORD dwWriteCoord, OUT LPDWORD lpNumberOfCharsWritten)
GLint GLint GLint GLint GLint GLint y
_CRTIMP size_t __cdecl wcslen(_In_z_ const wchar_t *_Str)
Referenced by InstallDirectoryPage(), and ShowPartitionSizeInputBox().
◆ CONSOLE_SetInvertedTextXY()
Definition at line 544 of file consup.c.
_In_ ULONG _In_ ULONG _In_ ULONG Length
BOOL WINAPI FillConsoleOutputAttribute(IN HANDLE hConsoleOutput, IN WORD wAttribute, IN DWORD nLength, IN COORD dwWriteCoord, OUT LPDWORD lpNumberOfAttrsWritten)
ACPI_SIZE strlen(const char *String)
GLint GLint GLint GLint GLint x
BOOL WINAPI WriteConsoleOutputCharacterA(HANDLE hConsoleOutput, IN LPCSTR lpCharacter, IN DWORD nLength, IN COORD dwWriteCoord, OUT LPDWORD lpNumberOfCharsWritten)
GLint GLint GLint GLint GLint GLint y
Referenced by DrawFileSystemList().
◆ CONSOLE_SetStatusText()
Definition at line 486 of file consup.c.
VOID CONSOLE_SetStatusTextV(IN LPCSTR fmt, IN va_list args)
void int int ULONGLONG int va_list * ap
Referenced by BootLoaderPage(), CreateExtendedPartitionPage(), CreateLogicalPartitionPage(), CreatePrimaryPartitionPage(), FileCopyCallback(), FormatPartitionPage(), QuitPage(), RegistryPage(), RegistryStatus(), and SelectPartitionPage().
◆ CONSOLE_SetStatusTextAutoFitX()
Definition at line 518 of file consup.c.
_In_ ULONG _In_ ULONG _In_ ULONG Length
ACPI_SIZE strlen(const char *String)
GLint GLint GLint GLint GLint x
VOID __cdecl CONSOLE_SetStatusTextX(IN SHORT x, IN LPCSTR fmt,...)
int __cdecl vsprintf(char *_Dest, const char *_Format, va_list _Args)
void int int ULONGLONG int va_list * ap
◆ CONSOLE_SetStatusTextV()
◆ CONSOLE_SetStatusTextX()
◆ CONSOLE_SetStatusTextXV()
Definition at line 427 of file consup.c.
BOOL WINAPI FillConsoleOutputAttribute(IN HANDLE hConsoleOutput, IN WORD wAttribute, IN DWORD nLength, IN COORD dwWriteCoord, OUT LPDWORD lpNumberOfAttrsWritten)
ACPI_SIZE strlen(const char *String)
GLint GLint GLint GLint GLint x
BOOL WINAPI FillConsoleOutputCharacterA(IN HANDLE hConsoleOutput, IN CHAR cCharacter, IN DWORD nLength, IN COORD dwWriteCoord, OUT LPDWORD lpNumberOfCharsWritten)
BOOL WINAPI WriteConsoleOutputCharacterA(HANDLE hConsoleOutput, IN LPCSTR lpCharacter, IN DWORD nLength, IN COORD dwWriteCoord, OUT LPDWORD lpNumberOfCharsWritten)
int __cdecl vsprintf(char *_Dest, const char *_Format, va_list _Args)
Referenced by CONSOLE_SetStatusTextV(), and CONSOLE_SetStatusTextX().
◆ CONSOLE_SetStyledText()
Definition at line 671 of file consup.c.
_In_ ULONG _In_ ULONG _In_ ULONG Length
VOID CONSOLE_SetTextXY(IN SHORT x, IN SHORT y, IN LPCSTR Text)
ACPI_SIZE strlen(const char *String)
#define TEXT_PADDING_MEDIUM
#define TEXT_ALIGN_CENTER
GLint GLint GLint GLint GLint x
#define TEXT_STYLE_UNDERLINE
#define TEXT_STYLE_HIGHLIGHT
_Must_inspect_result_ _In_ ULONG Flags
VOID __cdecl CONSOLE_SetStatusTextX(IN SHORT x, IN LPCSTR fmt,...)
VOID CONSOLE_SetHighlightedTextXY(IN SHORT x, IN SHORT y, IN LPCSTR Text)
VOID CONSOLE_SetUnderlinedTextXY(IN SHORT x, IN SHORT y, IN LPCSTR Text)
GLint GLint GLint GLint GLint GLint y
#define TEXT_PADDING_SMALL
Referenced by MUIDisplayPage(), and MUISetStyledText().
◆ CONSOLE_SetTextXY()
Definition at line 320 of file consup.c.
ACPI_SIZE strlen(const char *String)
GLint GLint GLint GLint GLint x
BOOL WINAPI WriteConsoleOutputCharacterA(HANDLE hConsoleOutput, IN LPCSTR lpCharacter, IN DWORD nLength, IN COORD dwWriteCoord, OUT LPDWORD lpNumberOfCharsWritten)
GLint GLint GLint GLint GLint GLint y
Referenced by CONSOLE_SetStyledText(), CreateExtendedPartitionPage(), CreateLogicalPartitionPage(), CreatePrimaryPartitionPage(), DrawFileSystemList(), DrawGenericListCurrentItem(), DrawProgressBar(), MUISetText(), and SelectFileSystemPage().
◆ CONSOLE_SetUnderlinedTextXY()
Definition at line 398 of file consup.c.
_In_ ULONG _In_ ULONG _In_ ULONG Length
ACPI_SIZE strlen(const char *String)
GLint GLint GLint GLint GLint x
BOOL WINAPI FillConsoleOutputCharacterA(IN HANDLE hConsoleOutput, IN CHAR cCharacter, IN DWORD nLength, IN COORD dwWriteCoord, OUT LPDWORD lpNumberOfCharsWritten)
BOOL WINAPI WriteConsoleOutputCharacterA(HANDLE hConsoleOutput, IN LPCSTR lpCharacter, IN DWORD nLength, IN COORD dwWriteCoord, OUT LPDWORD lpNumberOfCharsWritten)
GLint GLint GLint GLint GLint GLint y
Referenced by CONSOLE_SetStyledText().
◆ StdInput
◆ StdOutput
Definition at line 37 of file consup.c.
Referenced by AllocConsole(), CONSOLE_ClearScreen(), CONSOLE_ClearStatusTextX(), CONSOLE_ClearTextXY(), CONSOLE_ConOutChar(), CONSOLE_ConOutPrintfV(), CONSOLE_ConOutPuts(), CONSOLE_GetCursorX(), CONSOLE_GetCursorXY(), CONSOLE_GetCursorY(), CONSOLE_Init(), CONSOLE_InvertTextXY(), CONSOLE_NormalTextXY(), CONSOLE_PrintTextXY(), CONSOLE_PrintTextXYN(), CONSOLE_SetCursorType(), CONSOLE_SetCursorXY(), CONSOLE_SetHighlightedTextXY(), CONSOLE_SetInputTextXY(), CONSOLE_SetInvertedTextXY(), CONSOLE_SetStatusTextXV(), CONSOLE_SetTextXY(), CONSOLE_SetUnderlinedTextXY(), DrawBorder(), DrawBox(), DrawFileSystemList(), DrawListEntries(), DrawListFrame(), DrawPartitionList(), DrawProgressBar(), DrawScrollBarGenericList(), DrawThickBorder(), FreeConsole(), GetStdHandle(), PopupError(), PrintDiskData(), PrintEmptyLine(), PrintPartitionData(), ProgressSetStep(), and ShowPartitionSizeInputBox().
◆ xScreen
Definition at line 39 of file consup.c.
Referenced by ComputerSettingsPage(), CONSOLE_ClearScreen(), CONSOLE_ClearStyledText(), CONSOLE_Init(), CONSOLE_SetStatusTextXV(), CONSOLE_SetStyledText(), CreateExtendedPartitionPage(), CreateLogicalPartitionPage(), CreatePrimaryPartitionPage(), DisplaySettingsPage(), DoChkdsk(), DoFormat(), FileCopyPage(), KeyboardSettingsPage(), LanguagePage(), LayoutSettingsPage(), PopupError(), ProgressCountdown(), SelectPartitionPage(), and UpgradeRepairPage().
◆ yScreen
Definition at line 40 of file consup.c.
Referenced by ComputerSettingsPage(), CONSOLE_ClearScreen(), CONSOLE_ClearStatusTextX(), CONSOLE_ClearStyledText(), CONSOLE_Init(), CONSOLE_SetStatusTextXV(), CONSOLE_SetStyledText(), DisplaySettingsPage(), DoChkdsk(), DoFormat(), FileCopyPage(), KeyboardSettingsPage(), LanguagePage(), LayoutSettingsPage(), PopupError(), ProgressCountdown(), SelectPartitionPage(), and UpgradeRepairPage().