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)
13 (NTAPI
*PPOPUP_INPUT_ROUTINE
)(VOID
);
15 typedef struct _POPUP_WINDOW
17 LIST_ENTRY ListEntry
; /* Entry in console's list of popups */
18 PTEXTMODE_SCREEN_BUFFER ScreenBuffer
; /* Associated screen-buffer */
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 */
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
;
30 CreatePopupWindow(PCONSRV_CONSOLE Console
,
31 PTEXTMODE_SCREEN_BUFFER Buffer
,
37 DestroyPopupWindow(PPOPUP_WINDOW Popup
);