16#define CSR_DEFAULT_CURSOR_SIZE 25
109#define PAUSED_FROM_KEYBOARD 0x1
110#define PAUSED_FROM_SCROLLBAR 0x2
111#define PAUSED_FROM_SELECTION 0x4
VOID ConioUnpause(PCONSRV_CONSOLE Console, UCHAR Flags)
struct _CONSRV_CONSOLE * PCONSRV_CONSOLE
NTSTATUS NTAPI ConSrvSetConsoleProcessFocus(IN PCONSRV_CONSOLE Console, IN BOOLEAN SetForeground)
struct _FRONTEND_VTBL * PFRONTEND_VTBL
VOID ConSrvSetProcessFocus(IN PCSR_PROCESS CsrProcess, IN BOOLEAN SetForeground)
struct _CONSRV_CONSOLE CONSRV_CONSOLE
NTSTATUS ConioProcessInputEvent(PCONSRV_CONSOLE Console, PINPUT_RECORD InputEvent)
VOID ConioDrawConsole(PCONSRV_CONSOLE Console)
PCONSOLE_PROCESS_DATA NTAPI ConSrvGetConsoleLeaderProcess(IN PCONSRV_CONSOLE Console)
VOID NTAPI ConioProcessKey(PCONSRV_CONSOLE Console, MSG *msg)
struct _FRONTEND_VTBL FRONTEND_VTBL
DWORD ConioEffectiveCursorSize(PCONSRV_CONSOLE Console, DWORD Scale)
NTSTATUS NTAPI ConSrvConsoleProcessCtrlEvent(IN PCONSRV_CONSOLE Console, IN ULONG ProcessGroupId, IN ULONG CtrlEvent)
VOID ConioPause(PCONSRV_CONSOLE Console, UCHAR Flags)
NTSTATUS ConSrvConsoleCtrlEvent(IN ULONG CtrlEvent, IN PCONSOLE_PROCESS_DATA ProcessData)
PCHAR_INFO ConioCoordToPointer(PTEXTMODE_SCREEN_BUFFER Buff, ULONG X, ULONG Y)
struct _CHAR_CELL CHAR_CELL
struct _CHAR_CELL * PCHAR_CELL
struct _FRONTEND * PFRONTEND
COORD WINAPI DECLSPEC_HOTPATCH GetLargestConsoleWindowSize(HANDLE hConsoleOutput)
static VOID DrawRegion(PGUI_CONSOLE_DATA GuiData, SMALL_RECT *Region)
ULONG MaxNumberOfHistoryBuffers
LIST_ENTRY HistoryBuffers
HANDLE InitEvents[MAX_INIT_EVENTS]
struct _ALIAS_HEADER * Aliases
HANDLE ErrorHardwareEvent
UNICODE_STRING OriginalTitle
ULONG NumberOfHistoryBuffers
LIST_ENTRY WriteWaitQueue
HANDLE StartHardwareEvent
PCONSOLE_PROCESS_DATA NotifiedLastCloseProcess
VOID(NTAPI *RefreshInternalInfo)(IN OUT PFRONTEND This)
VOID(NTAPI *RingBell)(IN OUT PFRONTEND This)
PCONSOLE_SCREEN_BUFFER SHORT OldCursorX
PCONSOLE_SCREEN_BUFFER ScreenBuffer
HDESK(NTAPI *GetThreadConsoleDesktop)(IN OUT PFRONTEND This)
VOID(NTAPI *DeinitFrontEnd)(IN OUT PFRONTEND This)
PCONSOLE_SCREEN_BUFFER SHORT SHORT OldCursorY
VOID(NTAPI *ResizeTerminal)(IN OUT PFRONTEND This)
ULONG(NTAPI *GetDisplayMode)(IN OUT PFRONTEND This)
BOOL(NTAPI *SetDisplayMode)(IN OUT PFRONTEND This
BOOL(NTAPI *SetCodePage)(IN OUT PFRONTEND This
SMALL_RECT SHORT SHORT UINT PWCHAR UINT Length
BOOL(NTAPI *SetScreenInfo)(IN OUT PFRONTEND This
SMALL_RECT SHORT SHORT UINT ScrolledLines
VOID(NTAPI *ChangeTitle)(IN OUT PFRONTEND This)
BOOL(NTAPI *SetMenuClose)(IN OUT PFRONTEND This
HMENU(NTAPI *MenuControl)(IN OUT PFRONTEND This
VOID(NTAPI *WriteStream)(IN OUT PFRONTEND This
BOOL(NTAPI *SetMouseCursor)(IN OUT PFRONTEND This
IN PCONSOLE_SCREEN_BUFFER ScreenBuffer
IN struct _CONSRV_CONSOLE * Console
VOID(NTAPI *GetLargestConsoleWindowSize)(IN OUT PFRONTEND This
VOID(NTAPI *ReleaseScreenBuffer)(IN OUT PFRONTEND This
VOID(NTAPI *DrawRegion)(IN OUT PFRONTEND This
SMALL_RECT SHORT SHORT CursorStartY
BOOL(NTAPI *GetSelectionInfo)(IN OUT PFRONTEND This
VOID(NTAPI *SetActiveScreenBuffer)(IN OUT PFRONTEND This)
INT(NTAPI *ShowMouseCursor)(IN OUT PFRONTEND This
BOOL(NTAPI *ChangeIcon)(IN OUT PFRONTEND This
SMALL_RECT SHORT SHORT UINT PWCHAR Buffer
BOOL(NTAPI *SetCursorInfo)(IN OUT PFRONTEND This
NTSTATUS(NTAPI *InitFrontEnd)(IN OUT PFRONTEND This
BOOL(NTAPI *SetPalette)(IN OUT PFRONTEND This
HPALETTE UINT PaletteUsage
HWND(NTAPI *GetConsoleWindowHandle)(IN OUT PFRONTEND This)
SMALL_RECT SHORT CursorStartX
PCONSOLE_SELECTION_INFO pSelectionInfo
struct _CONSRV_CONSOLE * Console
NTSTATUS(NTAPI *UnloadFrontEnd)(IN OUT PFRONTEND This)
static VOID SetActiveScreenBuffer(HANDLE ScreenBuffer)
TW_UINT32 TW_UINT16 TW_UINT16 MSG
NTSTATUS NTAPI GetThreadConsoleDesktop(IN ULONG_PTR ThreadId, OUT HDESK *ConsoleDesktop)
_Must_inspect_result_ _In_ ULONG Flags