ReactOS 0.4.16-dev-297-gc569aee
gui.h File Reference

Go to the source code of this file.

Macros

#define TITLE_BOX_CHAR_HEIGHT   5
 

Functions

VOID GuiDrawBackdrop (VOID)
 
VOID GuiFillArea (ULONG Left, ULONG Top, ULONG Right, ULONG Bottom, UCHAR FillChar, UCHAR Attr)
 
VOID GuiDrawShadow (ULONG Left, ULONG Top, ULONG Right, ULONG Bottom)
 
VOID GuiDrawBox (ULONG Left, ULONG Top, ULONG Right, ULONG Bottom, UCHAR VertStyle, UCHAR HorzStyle, BOOLEAN Fill, BOOLEAN Shadow, UCHAR Attr)
 
VOID GuiDrawText (ULONG X, ULONG Y, PUCHAR Text, UCHAR Attr)
 
VOID GuiDrawText2 (ULONG X, ULONG Y, ULONG MaxNumChars, PUCHAR Text, UCHAR Attr)
 
VOID GuiDrawStatusText (PCSTR StatusText)
 
VOID GuiUpdateDateTime (VOID)
 
_Ret_maybenull_ __drv_allocatesMem (Mem) PUCHAR GuiSaveScreen(VOID)
 
VOID GuiRestoreScreen (_In_opt_ __drv_freesMem(Mem) PUCHAR Buffer)
 
VOID GuiMessageBox (_In_ PCSTR MessageText)
 
VOID GuiMessageBoxCritical (_In_ PCSTR MessageText)
 
VOID GuiDrawProgressBar (ULONG Position, ULONG Range)
 
UCHAR GuiTextToColor (PCSTR ColorText)
 
UCHAR GuiTextToFillStyle (PCSTR FillStyleText)
 
BOOLEAN GuiDisplayMenu (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)
 

Variables

const UIVTBL GuiVtbl
 

Macro Definition Documentation

◆ TITLE_BOX_CHAR_HEIGHT

#define TITLE_BOX_CHAR_HEIGHT   5

Definition at line 22 of file gui.h.

Function Documentation

◆ __drv_allocatesMem()

__drv_allocatesMem ( Mem  )

Definition at line 1476 of file exfuncs.h.

1484{
1485 PVOID Entry;
1486
1487 Lookaside->L.TotalAllocates++;
1488#ifdef NONAMELESSUNION
1489#if defined(_WIN2K_COMPAT_SLIST_USAGE) && defined(_X86_)
1491 &Lookaside->Lock__ObsoleteButDoNotDelete);
1492#else
1493 Entry = InterlockedPopEntrySList(&Lookaside->L.u.ListHead);
1494#endif
1495 if (Entry == NULL) {
1496 Lookaside->L.u2.AllocateMisses++;
1497 Entry = (Lookaside->L.u4.Allocate)(Lookaside->L.Type,
1498 Lookaside->L.Size,
1499 Lookaside->L.Tag);
1500 }
1501#else /* NONAMELESSUNION */
1502#if defined(_WIN2K_COMPAT_SLIST_USAGE) && defined(_X86_)
1504 &Lookaside->Lock__ObsoleteButDoNotDelete);
1505#else
1507#endif
1508 if (Entry == NULL) {
1509 Lookaside->L.AllocateMisses++;
1510 Entry = (Lookaside->L.Allocate)(Lookaside->L.Type,
1511 Lookaside->L.Size,
1512 Lookaside->L.Tag);
1513 }
1514#endif /* NONAMELESSUNION */
1515 return Entry;
1516}
#define NULL
Definition: types.h:112
base of all file and directory entries
Definition: entries.h:83
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ _In_ _Strict_type_match_ POOL_TYPE _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_opt_ ULONG _Out_ WDFLOOKASIDE * Lookaside
Definition: wdfmemory.h:414
_In_ PVOID Entry
Definition: exfuncs.h:229
#define ExInterlockedPopEntrySList(SListHead, Lock)
Definition: exfuncs.h:166
#define InterlockedPopEntrySList(SListHead)
Definition: rtlfuncs.h:3409

◆ GuiDisplayMenu()

BOOLEAN GuiDisplayMenu ( 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 
)

◆ GuiDrawBackdrop()

VOID GuiDrawBackdrop ( VOID  )

Definition at line 22 of file gui.c.

23{
24}

◆ GuiDrawBox()

VOID GuiDrawBox ( ULONG  Left,
ULONG  Top,
ULONG  Right,
ULONG  Bottom,
UCHAR  VertStyle,
UCHAR  HorzStyle,
BOOLEAN  Fill,
BOOLEAN  Shadow,
UCHAR  Attr 
)

Definition at line 34 of file gui.c.

35{
36}

◆ GuiDrawProgressBar()

VOID GuiDrawProgressBar ( ULONG  Position,
ULONG  Range 
)

Definition at line 80 of file gui.c.

81{
82}

◆ GuiDrawShadow()

VOID GuiDrawShadow ( ULONG  Left,
ULONG  Top,
ULONG  Right,
ULONG  Bottom 
)

Definition at line 30 of file gui.c.

31{
32}

◆ GuiDrawStatusText()

VOID GuiDrawStatusText ( PCSTR  StatusText)

Definition at line 46 of file gui.c.

47{
48}

◆ GuiDrawText()

VOID GuiDrawText ( ULONG  X,
ULONG  Y,
PUCHAR  Text,
UCHAR  Attr 
)

Definition at line 38 of file gui.c.

39{
40}

◆ GuiDrawText2()

VOID GuiDrawText2 ( ULONG  X,
ULONG  Y,
ULONG  MaxNumChars,
PUCHAR  Text,
UCHAR  Attr 
)

Definition at line 42 of file gui.c.

43{
44}

◆ GuiFillArea()

VOID GuiFillArea ( ULONG  Left,
ULONG  Top,
ULONG  Right,
ULONG  Bottom,
UCHAR  FillChar,
UCHAR  Attr 
)

Definition at line 26 of file gui.c.

27{
28}

◆ GuiMessageBox()

VOID GuiMessageBox ( _In_ PCSTR  MessageText)

Definition at line 69 of file gui.c.

71{
72}

◆ GuiMessageBoxCritical()

VOID GuiMessageBoxCritical ( _In_ PCSTR  MessageText)

Definition at line 75 of file gui.c.

77{
78}

◆ GuiRestoreScreen()

VOID GuiRestoreScreen ( _In_opt_ __drv_freesMem(Mem) PUCHAR  Buffer)

Definition at line 63 of file gui.c.

65{
66}

◆ GuiTextToColor()

UCHAR GuiTextToColor ( PCSTR  ColorText)

Definition at line 84 of file gui.c.

85{
86 return 0;
87}

◆ GuiTextToFillStyle()

UCHAR GuiTextToFillStyle ( PCSTR  FillStyleText)

Definition at line 89 of file gui.c.

90{
91 return 0;
92}

◆ GuiUpdateDateTime()

VOID GuiUpdateDateTime ( VOID  )

Definition at line 50 of file gui.c.

51{
52}

Variable Documentation

◆ GuiVtbl

const UIVTBL GuiVtbl
extern

Definition at line 94 of file gui.c.

Referenced by UiInitialize().