ReactOS 0.4.15-dev-7924-g5949c20
popup.h
Go to the documentation of this file.
1/*
2 * LICENSE: GPL - See COPYING in the top level directory
3 * PROJECT: ReactOS Console Server DLL
4 * FILE: win32ss/user/winsrv/consrv/popup.h
5 * PURPOSE: Console popup windows
6 * PROGRAMMERS: Hermes Belusca-Maito (hermes.belusca@sfr.fr)
7 */
8
9#pragma once
10
11typedef
14
15typedef struct _POPUP_WINDOW
16{
17 LIST_ENTRY ListEntry; /* Entry in console's list of popups */
18 PTEXTMODE_SCREEN_BUFFER ScreenBuffer; /* Associated screen-buffer */
19
20 // SMALL_RECT Region; /* The region the popup occupies */
21 COORD Origin; /* Origin of the popup window */
22 COORD Size; /* Size of the popup window */
23
24 PCHAR_INFO OldContents; /* The data under the popup window */
25 PPOPUP_INPUT_ROUTINE PopupInputRoutine; /* Routine called when input is received */
27
28
33 IN SHORT xLeft,
34 IN SHORT yTop,
37
38VOID
CConsole Console
#define VOID
Definition: acefi.h:82
@ Popup
Definition: console.h:35
HANDLE ScreenBuffer
Definition: notevil.c:37
short SHORT
Definition: pedump.c:59
VOID DestroyPopupWindow(IN PPOPUP_WINDOW Popup)
Definition: popup.c:244
PPOPUP_WINDOW CreatePopupWindow(IN PCONSRV_CONSOLE Console, IN PCONSOLE_SCREEN_BUFFER ScreenBuffer, IN SHORT xLeft, IN SHORT yTop, IN SHORT Width, IN SHORT Height)
Definition: popup.c:184
struct _POPUP_WINDOW POPUP_WINDOW
VOID(NTAPI * PPOPUP_INPUT_ROUTINE)(VOID)
Definition: popup.h:13
struct _POPUP_WINDOW * PPOPUP_WINDOW
Definition: bl.h:1338
Definition: typedefs.h:120
PCHAR_INFO OldContents
Definition: popup.h:24
COORD Origin
Definition: popup.h:21
PTEXTMODE_SCREEN_BUFFER ScreenBuffer
Definition: popup.h:18
LIST_ENTRY ListEntry
Definition: popup.h:17
COORD Size
Definition: popup.h:22
PPOPUP_INPUT_ROUTINE PopupInputRoutine
Definition: popup.h:25
#define NTAPI
Definition: typedefs.h:36
#define IN
Definition: typedefs.h:39
_In_ HFONT _Out_ PUINT _Out_ PUINT Width
Definition: font.h:89
_In_ HFONT _Out_ PUINT Height
Definition: font.h:88