ReactOS
0.4.16-dev-732-g2d1144a
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
11
typedef
12
VOID
13
(
NTAPI
*
PPOPUP_INPUT_ROUTINE
)(
VOID
);
14
15
typedef
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 */
26
}
POPUP_WINDOW
, *
PPOPUP_WINDOW
;
27
28
29
PPOPUP_WINDOW
30
CreatePopupWindow
(
31
IN
PCONSRV_CONSOLE
Console
,
32
IN
PCONSOLE_SCREEN_BUFFER
ScreenBuffer
,
33
IN
SHORT
xLeft,
34
IN
SHORT
yTop,
35
IN
SHORT
Width
,
36
IN
SHORT
Height
);
37
38
VOID
39
DestroyPopupWindow
(
40
IN
PPOPUP_WINDOW
Popup
);
Console
CConsole Console
Definition:
RegistryExplorer.cpp:54
VOID
#define VOID
Definition:
acefi.h:82
Popup
@ Popup
Definition:
console.h:35
void
Definition:
nsiface.idl:2307
ScreenBuffer
HANDLE ScreenBuffer
Definition:
notevil.c:37
SHORT
short SHORT
Definition:
pedump.c:59
DestroyPopupWindow
VOID DestroyPopupWindow(IN PPOPUP_WINDOW Popup)
Definition:
popup.c:244
CreatePopupWindow
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
POPUP_WINDOW
struct _POPUP_WINDOW POPUP_WINDOW
PPOPUP_INPUT_ROUTINE
VOID(NTAPI * PPOPUP_INPUT_ROUTINE)(VOID)
Definition:
popup.h:13
PPOPUP_WINDOW
struct _POPUP_WINDOW * PPOPUP_WINDOW
_CHAR_INFO
Definition:
wincon.h:182
_CONSOLE_SCREEN_BUFFER
Definition:
conio.h:57
_CONSRV_CONSOLE
Definition:
conio_winsrv.h:114
_COORD
Definition:
bl.h:1338
_LIST_ENTRY
Definition:
typedefs.h:120
_POPUP_WINDOW
Definition:
popup.h:16
_POPUP_WINDOW::OldContents
PCHAR_INFO OldContents
Definition:
popup.h:24
_POPUP_WINDOW::Origin
COORD Origin
Definition:
popup.h:21
_POPUP_WINDOW::ScreenBuffer
PTEXTMODE_SCREEN_BUFFER ScreenBuffer
Definition:
popup.h:18
_POPUP_WINDOW::ListEntry
LIST_ENTRY ListEntry
Definition:
popup.h:17
_POPUP_WINDOW::Size
COORD Size
Definition:
popup.h:22
_POPUP_WINDOW::PopupInputRoutine
PPOPUP_INPUT_ROUTINE PopupInputRoutine
Definition:
popup.h:25
_TEXTMODE_SCREEN_BUFFER
Definition:
conio.h:125
NTAPI
#define NTAPI
Definition:
typedefs.h:36
IN
#define IN
Definition:
typedefs.h:39
Width
_In_ HFONT _Out_ PUINT _Out_ PUINT Width
Definition:
font.h:89
Height
_In_ HFONT _Out_ PUINT Height
Definition:
font.h:88
win32ss
user
winsrv
consrv
popup.h
Generated on Sat Feb 8 2025 06:16:26 for ReactOS by
1.9.6