310#define LIGHT_FILL 0xB0
311#define MEDIUM_FILL 0xB1
312#define DARK_FILL 0xB2
317#define ATTR(cFore, cBack) ((cBack << 4) | cFore)
327#define COLOR_MAGENTA 5
331#define COLOR_DARKGRAY 8
332#define COLOR_LIGHTBLUE 9
333#define COLOR_LIGHTGREEN 10
334#define COLOR_LIGHTCYAN 11
335#define COLOR_LIGHTRED 12
336#define COLOR_LIGHTMAGENTA 13
337#define COLOR_YELLOW 14
338#define COLOR_WHITE 15
static LPHIST_ENTRY Bottom
BOOLEAN UiEditBox(PCSTR MessageText, PCHAR EditTextBuffer, ULONG Length)
struct tagUIVTBL * PUIVTBL
struct _UI_PROGRESS_BAR UI_PROGRESS_BAR
UCHAR UiMessageBoxFgColor
UCHAR UiTextToFillStyle(PCSTR FillStyleText)
UCHAR UiMessageBoxBgColor
UI_PROGRESS_BAR UiProgressBar
VOID UiSetProgressBarText(_In_ PCSTR ProgressText)
UCHAR UiTextToColor(PCSTR ColorText)
BOOLEAN UiDisplayMenu(IN PCSTR MenuHeader, IN PCSTR MenuFooter OPTIONAL, IN BOOLEAN ShowBootOptions, IN PCSTR MenuItemList[], IN ULONG MenuItemCount, IN ULONG DefaultMenuItem, IN LONG MenuTimeOut, OUT PULONG SelectedMenuItem, IN BOOLEAN CanEscape, IN UiMenuKeyPressFilterCallback KeyPressFilter OPTIONAL, IN PVOID Context OPTIONAL)
VOID UiDrawText(_In_ ULONG X, _In_ ULONG Y, _In_ PCSTR Text, _In_ UCHAR Attr)
BOOLEAN UiUseSpecialEffects
VOID UiDrawText2(_In_ ULONG X, _In_ ULONG Y, _In_opt_ ULONG MaxNumChars, _In_reads_or_z_(MaxNumChars) PCSTR Text, _In_ UCHAR Attr)
VOID UiShowMessageBoxesInArgv(IN ULONG Argc, IN PCHAR Argv[])
VOID UiIndicateProgress(VOID)
const PCSTR UiMonthNames[12]
VOID UiShowMessageBoxesInSection(IN ULONG_PTR SectionId)
VOID UiInfoBox(_In_ PCSTR MessageText)
struct tagUI_MENU_INFO * PUI_MENU_INFO
VOID UiDrawShadow(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom)
BOOLEAN(* UiMenuKeyPressFilterCallback)(IN ULONG KeyPress, IN ULONG SelectedMenuItem, IN PVOID Context OPTIONAL)
struct _UI_PROGRESS_BAR * PUI_PROGRESS_BAR
struct tagUI_MENU_INFO UI_MENU_INFO
VOID UiUpdateProgressBar(_In_ ULONG Percentage, _In_opt_ PCSTR ProgressText)
CHAR UiTitleBoxTitleText[260]
UCHAR UiBackdropFillStyle
VOID UiFillArea(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom, CHAR FillChar, UCHAR Attr)
VOID UiMessageBoxCritical(_In_ PCSTR MessageText)
VOID UiSetProgressBarSubset(_In_ ULONG Floor, _In_ ULONG Ceiling)
VOID UiUnInitialize(PCSTR BootText)
VOID UiDrawBackdrop(VOID)
VOID UiDrawProgressBar(_In_ ULONG Left, _In_ ULONG Top, _In_ ULONG Right, _In_ ULONG Bottom, _In_ PCSTR ProgressText)
VOID UiDrawProgressBarCenter(_In_ PCSTR ProgressText)
VOID UiDrawStatusText(PCSTR StatusText)
VOID UiDrawBox(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom, UCHAR VertStyle, UCHAR HorzStyle, BOOLEAN Fill, BOOLEAN Shadow, UCHAR Attr)
UCHAR UiSelectedTextColor
UCHAR UiSelectedTextBgColor
BOOLEAN UiInitialize(BOOLEAN ShowUi)
VOID UiInitProgressBar(_In_ ULONG Left, _In_ ULONG Top, _In_ ULONG Right, _In_ ULONG Bottom, _In_ PCSTR ProgressText)
VOID UiDrawCenteredText(_In_ ULONG Left, _In_ ULONG Top, _In_ ULONG Right, _In_ ULONG Bottom, _In_ PCSTR TextString, _In_ UCHAR Attr)
VOID UiInit(const char *CmdLine)
VOID UiUpdateDateTime(VOID)
VOID UiFadeInBackdrop(VOID)
VOID UiMessageBox(_In_ PCSTR Format,...)
static const WCHAR CmdLine[]
void Fill(HDC hdc, LONG x, LONG y, COLORREF color)
#define _In_reads_or_z_(size)
_In_ ULONG _In_ ULONG _In_ ULONG Length
PULONG MinorVersion OPTIONAL
struct _UI_PROGRESS_BAR::@178 State
struct _UI_PROGRESS_BAR::@179 Indicator
VOID(* DrawBackdrop)(VOID)
VOID(* FadeInBackdrop)(VOID)
VOID(* DrawText)(ULONG X, ULONG Y, PCSTR Text, UCHAR Attr)
VOID(* FillArea)(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom, CHAR FillChar, UCHAR Attr)
VOID(* DrawBox)(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom, UCHAR VertStyle, UCHAR HorzStyle, BOOLEAN Fill, BOOLEAN Shadow, UCHAR Attr)
VOID(* DrawMenu)(PUI_MENU_INFO MenuInfo)
VOID(* DrawStatusText)(PCSTR StatusText)
UCHAR(* TextToFillStyle)(PCSTR FillStyleText)
VOID(* TickProgressBar)(_In_ ULONG SubPercentTimes100)
BOOLEAN(* EditBox)(PCSTR MessageText, PCHAR EditTextBuffer, ULONG Length)
VOID(* DrawCenteredText)(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom, PCSTR TextString, UCHAR Attr)
VOID(* MessageBox)(PCSTR MessageText)
BOOLEAN(* Initialize)(VOID)
VOID(* DrawProgressBarCenter)(_In_ PCSTR ProgressText)
VOID(* UnInitialize)(VOID)
VOID(* DrawShadow)(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom)
VOID(* DrawProgressBar)(_In_ ULONG Left, _In_ ULONG Top, _In_ ULONG Right, _In_ ULONG Bottom, _In_ PCSTR ProgressText)
VOID(* MessageBoxCritical)(PCSTR MessageText)
VOID(* DrawText2)(ULONG X, ULONG Y, ULONG MaxNumChars, PCSTR Text, UCHAR Attr)
VOID(* SetProgressBarText)(_In_ PCSTR ProgressText)
VOID(* UpdateDateTime)(VOID)
UCHAR(* TextToColor)(PCSTR ColorText)
BOOLEAN(* DisplayMenu)(IN PCSTR MenuHeader, IN PCSTR MenuFooter OPTIONAL, IN BOOLEAN ShowBootOptions, IN PCSTR MenuItemList[], IN ULONG MenuItemCount, IN ULONG DefaultMenuItem, IN LONG MenuTimeOut, OUT PULONG SelectedMenuItem, IN BOOLEAN CanEscape, IN UiMenuKeyPressFilterCallback KeyPressFilter OPTIONAL, IN PVOID Context OPTIONAL)