#include "precomp.h"
Go to the source code of this file.
Functions | |
ULONG | SrvGetConsoleMode (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
ULONG | SrvGetConsoleNumberOfFonts (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
ULONG | SrvGetConsoleNumberOfInputEvents (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
ULONG | SrvGetConsoleScreenBufferInfo (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
ULONG | SrvGetConsoleCursorInfo (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
ULONG | SrvGetConsoleMouseInfo (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
ULONG | SrvGetConsoleFontInfo (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
ULONG | SrvGetConsoleFontSize (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
ULONG | SrvGetConsoleCurrentFont (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
ULONG | SrvSetConsoleMode (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
ULONG | SrvGenerateConsoleCtrlEvent (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
ULONG | SrvSetConsoleActiveScreenBuffer (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
ULONG | SrvFlushConsoleInputBuffer (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
ULONG | SrvGetLargestConsoleWindowSize (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
ULONG | SrvSetConsoleScreenBufferSize (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
ULONG | SrvSetConsoleCursorPosition (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
ULONG | SrvSetConsoleCursorInfo (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
ULONG | SrvSetConsoleWindowInfo (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
ULONG | SrvScrollConsoleScreenBuffer (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
VOID | UpdatePopups (IN PCONSOLE_INFORMATION Console, IN WORD NewAttributes, IN WORD NewPopupAttributes, IN WORD OldAttributes, IN WORD OldPopupAttributes) |
NTSTATUS | SetScreenColors (IN PSCREEN_INFORMATION ScreenInfo, IN WORD Attributes, IN WORD PopupAttributes, IN BOOL UpdateWholeScreen) |
ULONG | SrvSetConsoleTextAttribute (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
ULONG | SrvSetConsoleFont (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
ULONG | SrvSetConsoleIcon (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
ULONG | SrvSetConsoleCP (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
ULONG | SrvGetConsoleCP (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
ULONG | SrvGetConsoleKeyboardLayoutName (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
ULONG | SrvGetConsoleWindow (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
|
Definition at line 1002 of file ntcon/server/getset.c. References ACTIVE_SCREEN_BUFFER, _ATTR_PAIR::Attr, _ROW::AttrRow, _ATTR_ROW::Attrs, CONSOLE_TEXTMODE_BUFFER, ConvertAttrToRGB, _CONSOLE_INFORMATION::hDC, _CONSOLE_INFORMATION::hWnd, _CONSOLE_INFORMATION::LastAttributes, _ATTR_ROW::Length, LOBYTE, _CONSOLE_INFORMATION::PopupCount, SetConsoleBkColor, SHORT, TEXT_VALID_HINT, UpdatePopups(), and WriteToScreen. Referenced by ConsoleWindowProc(), CreateWindowsWindow(), PropertiesUpdate(), SetActiveScreenBuffer(), and SrvSetConsoleTextAttribute().
|
|
Definition at line 524 of file ntcon/server/getset.c. References ApiPreamble(), _HANDLE_DATA::Buffer, CONSOLE_INPUT_HANDLE, CONSOLE_PERPROCESSDATA, _CONSOLE_FLUSHINPUTBUFFER_MSG::ConsoleHandle, DereferenceIoHandle(), FlushInputBuffer(), _CONSOLE_FLUSHINPUTBUFFER_MSG::InputHandle, NT_SUCCESS, NTSTATUS(), Status, and UnlockConsole().
|
|
Definition at line 444 of file ntcon/server/getset.c. References ApiPreamble(), CONSOLE_PROCESS_HANDLE, _CONSOLE_CTRLEVENT_MSG::ConsoleHandle, _CONSOLE_CTRLEVENT_MSG::CtrlEvent, HandleCtrlEvent(), _CONSOLE_INFORMATION::LimitingProcessId, NT_SUCCESS, NTSTATUS(), PCONSOLE_PROCESS_HANDLE, _CONSOLE_PROCESS_HANDLE::Process, _CONSOLE_CTRLEVENT_MSG::ProcessGroupId, _CONSOLE_INFORMATION::ProcessHandleList, Status, and UnlockConsole().
|
|
Definition at line 1359 of file ntcon/server/getset.c. References ApiPreamble(), _CONSOLE_GETCP_MSG::ConsoleHandle, _CONSOLE_INFORMATION::CP, NT_SUCCESS, NTSTATUS(), _CONSOLE_GETCP_MSG::Output, _CONSOLE_INFORMATION::OutputCP, Status, UnlockConsole(), and _CONSOLE_GETCP_MSG::wCodePageID.
|
|
Definition at line 315 of file ntcon/server/getset.c. References ApiPreamble(), _HANDLE_DATA::Buffer, CONSOLE_OUTPUT_HANDLE, CONSOLE_PERPROCESSDATA, _CONSOLE_GETCURRENTFONT_MSG::ConsoleHandle, DereferenceIoHandle(), _CONSOLE_GETCURRENTFONT_MSG::FontIndex, _CONSOLE_GETCURRENTFONT_MSG::FontSize, GetCurrentFont(), _CONSOLE_GETCURRENTFONT_MSG::MaximumWindow, NT_SUCCESS, NTSTATUS(), _CONSOLE_GETCURRENTFONT_MSG::OutputHandle, Status, and UnlockConsole().
|
|
Definition at line 179 of file ntcon/server/getset.c. References ApiPreamble(), _HANDLE_DATA::Buffer, CONSOLE_OUTPUT_HANDLE, CONSOLE_PERPROCESSDATA, _CONSOLE_GETCURSORINFO_MSG::ConsoleHandle, _CONSOLE_GETCURSORINFO_MSG::CursorSize, DereferenceIoHandle(), NT_SUCCESS, NTSTATUS(), _CONSOLE_GETCURSORINFO_MSG::OutputHandle, Status, UnlockConsole(), and _CONSOLE_GETCURSORINFO_MSG::Visible.
|
|
Definition at line 233 of file ntcon/server/getset.c. References ApiPreamble(), _HANDLE_DATA::Buffer, _CONSOLE_GETFONTINFO_MSG::BufPtr, CONSOLE_OUTPUT_HANDLE, CONSOLE_PERPROCESSDATA, _CONSOLE_GETFONTINFO_MSG::ConsoleHandle, DereferenceIoHandle(), GetAvailableFonts(), _CONSOLE_GETFONTINFO_MSG::MaximumWindow, NT_SUCCESS, NTSTATUS(), _CONSOLE_GETFONTINFO_MSG::NumFonts, _CONSOLE_GETFONTINFO_MSG::OutputHandle, Status, and UnlockConsole().
|
|
Definition at line 278 of file ntcon/server/getset.c. References ApiPreamble(), _HANDLE_DATA::Buffer, CONSOLE_OUTPUT_HANDLE, CONSOLE_PERPROCESSDATA, _CONSOLE_GETFONTSIZE_MSG::ConsoleHandle, DereferenceIoHandle(), _CONSOLE_GETFONTSIZE_MSG::FontIndex, _CONSOLE_GETFONTSIZE_MSG::FontSize, GetFontSize(), NT_SUCCESS, NTSTATUS(), _CONSOLE_GETFONTSIZE_MSG::OutputHandle, Status, and UnlockConsole().
|
|
Definition at line 1385 of file ntcon/server/getset.c. References _CONSOLE_GETKEYBOARDLAYOUTNAME_MSG::achLayout, ActivateKeyboardLayout, ApiPreamble(), _CONSOLE_GETKEYBOARDLAYOUTNAME_MSG::awchLayout, _CONSOLE_GETKEYBOARDLAYOUTNAME_MSG::bAnsi, _CONSOLE_GETKEYBOARDLAYOUTNAME_MSG::ConsoleHandle, FALSE, GetNonBiDiKeyboardLayout(), _CONSOLE_INFORMATION::hklActive, NT_SUCCESS, NTSTATUS(), NULL, Status, SystemParametersInfo(), and UnlockConsole().
|
|
Definition at line 33 of file ntcon/server/getset.c. References ApiPreamble(), _HANDLE_DATA::Buffer, CONSOLE_ANY_HANDLE, CONSOLE_INPUT_HANDLE, CONSOLE_PERPROCESSDATA, CONSOLE_QUICK_EDIT_MODE, CONSOLE_USE_PRIVATE_FLAGS, _CONSOLE_MODE_MSG::ConsoleHandle, DereferenceIoHandle(), _CONSOLE_INFORMATION::Flags, _CONSOLE_MODE_MSG::Handle, _HANDLE_DATA::HandleType, _CONSOLE_INFORMATION::InsertMode, _CONSOLE_MODE_MSG::Mode, NT_SUCCESS, NTSTATUS(), Status, and UnlockConsole().
|
|
Definition at line 211 of file ntcon/server/getset.c. References ApiPreamble(), _CONSOLE_GETMOUSEINFO_MSG::ConsoleHandle, GetMouseButtons(), NT_SUCCESS, NTSTATUS(), _CONSOLE_GETMOUSEINFO_MSG::NumButtons, Status, and UnlockConsole().
|
|
Definition at line 82 of file ntcon/server/getset.c. References ApiPreamble(), _CONSOLE_GETNUMBEROFFONTS_MSG::ConsoleHandle, _CONSOLE_INFORMATION::FullScreenFlags, GetNumFonts(), NT_SUCCESS, NTSTATUS(), _CONSOLE_GETNUMBEROFFONTS_MSG::NumberOfFonts, Status, and UnlockConsole().
|
|
|
|
Definition at line 1424 of file ntcon/server/getset.c. References ApiPreamble(), _CONSOLE_GETCONSOLEWINDOW_MSG::ConsoleHandle, _CONSOLE_INFORMATION::hWnd, _CONSOLE_GETCONSOLEWINDOW_MSG::hwnd, NT_SUCCESS, NTSTATUS(), Status, and UnlockConsole().
|
|
Definition at line 555 of file ntcon/server/getset.c. References ApiPreamble(), _HANDLE_DATA::Buffer, _SCREEN_INFORMATION::Console, CONSOLE_OUTPUT_HANDLE, CONSOLE_PERPROCESSDATA, CONSOLE_TEXTMODE_BUFFER, _CONSOLE_GETLARGESTWINDOWSIZE_MSG::ConsoleHandle, DereferenceIoHandle(), _SCREEN_INFORMATION::Flags, _CONSOLE_INFORMATION::FullScreenFlags, _WINDOW_LIMITS::FullScreenSize, GetWindowLimits(), NT_SUCCESS, NTSTATUS(), _CONSOLE_GETLARGESTWINDOWSIZE_MSG::OutputHandle, SCR_FONTSIZE(), SHORT, _CONSOLE_GETLARGESTWINDOWSIZE_MSG::Size, Status, UnlockConsole(), and WINDOW_LIMITS.
|
|
|
Definition at line 492 of file ntcon/server/getset.c. References ApiPreamble(), _HANDLE_DATA::Buffer, CONSOLE_GRAPHICS_OUTPUT_HANDLE, CONSOLE_OUTPUT_HANDLE, CONSOLE_PERPROCESSDATA, _CONSOLE_SETACTIVESCREENBUFFER_MSG::ConsoleHandle, DereferenceIoHandle(), NT_SUCCESS, NTSTATUS(), _CONSOLE_SETACTIVESCREENBUFFER_MSG::OutputHandle, SetActiveScreenBuffer(), Status, and UnlockConsole().
|
|
Definition at line 1229 of file ntcon/server/getset.c. References ApiPreamble(), _SCREEN_INFORMATION::BufferInfo, CONSOLE_CLIENTPROCESSHANDLE, CONSOLE_IS_DBCS_ENABLED, _CONSOLE_SETCP_MSG::ConsoleHandle, _CONSOLE_INFORMATION::CP, _CONSOLE_INFORMATION::CurrentScreenBuffer, FALSE, _CONSOLE_INFORMATION::FullScreenFlags, IsAvailableFarEastCodePage(), NT_SUCCESS, NtClose(), NtDuplicateObject(), NtSetEvent(), NTSTATUS(), NULL, OEMCP, _CONSOLE_SETCP_MSG::Output, _CONSOLE_INFORMATION::OutputCP, QueueConsoleMessage(), ReCreateDbcsScreenBuffer(), Status, UINT, UnlockConsole(), _CONSOLE_SETCP_MSG::wCodePageID, and _SCREEN_INFORMATION::Window.
|
|
Definition at line 738 of file ntcon/server/getset.c. References ApiPreamble(), _HANDLE_DATA::Buffer, CONSOLE_OUTPUT_HANDLE, CONSOLE_PERPROCESSDATA, _CONSOLE_SETCURSORINFO_MSG::ConsoleHandle, _CONSOLE_SETCURSORINFO_MSG::CursorSize, DereferenceIoHandle(), NT_SUCCESS, NTSTATUS(), _CONSOLE_SETCURSORINFO_MSG::OutputHandle, SetCursorInformation(), Status, UnlockConsole(), and _CONSOLE_SETCURSORINFO_MSG::Visible.
|
|
Definition at line 662 of file ntcon/server/getset.c. References AdjustCursorPosition, ApiPreamble(), _HANDLE_DATA::Buffer, _SCREEN_INFORMATION::Console, CONSOLE_OUTPUT_HANDLE, CONSOLE_PERPROCESSDATA, _CONSOLE_SETCURSORPOSITION_MSG::ConsoleHandle, _CONSOLE_SETCURSORPOSITION_MSG::CursorPosition, DereferenceIoHandle(), FALSE, _CONSOLE_INFORMATION::Flags, _CONSOLE_INFORMATION::InputBuffer, NT_SUCCESS, NTSTATUS(), _CONSOLE_SETCURSORPOSITION_MSG::OutputHandle, _SCREEN_INFORMATION::ScreenBufferSize, SetCursorPosition(), SetWindowOrigin(), SHORT, Status, TRUE, UnlockConsole(), and _SCREEN_INFORMATION::Window.
|
|
Definition at line 1118 of file ntcon/server/getset.c. References ApiPreamble(), _HANDLE_DATA::Buffer, _SCREEN_INFORMATION::Console, CONSOLE_OUTPUT_HANDLE, CONSOLE_PERPROCESSDATA, _CONSOLE_SETFONT_MSG::ConsoleHandle, DereferenceIoHandle(), _CONSOLE_SETFONT_MSG::FontIndex, _CONSOLE_INFORMATION::FullScreenFlags, NT_SUCCESS, NTSTATUS(), _CONSOLE_INFORMATION::OutputCP, _CONSOLE_SETFONT_MSG::OutputHandle, SetScreenBufferFont(), Status, and UnlockConsole().
|
|
Definition at line 1164 of file ntcon/server/getset.c. References ApiPreamble(), _CONSOLE_SETICON_MSG::ConsoleHandle, CopyIcon(), DestroyIcon, ghDefaultIcon, ghDefaultSmIcon, _CONSOLE_INFORMATION::hIcon, _CONSOLE_SETICON_MSG::hIcon, _CONSOLE_INFORMATION::hSmIcon, _CONSOLE_INFORMATION::hWnd, NT_SUCCESS, NTSTATUS(), NULL, PostMessage(), Status, and UnlockConsole().
|
|
Definition at line 354 of file ntcon/server/getset.c. References ApiPreamble(), _HANDLE_DATA::Buffer, CONSOLE_ANY_HANDLE, CONSOLE_INPUT_HANDLE, CONSOLE_PERPROCESSDATA, CONSOLE_QUICK_EDIT_MODE, CONSOLE_TEXTMODE_BUFFER, CONSOLE_USE_PRIVATE_FLAGS, _CONSOLE_MODE_MSG::ConsoleHandle, _CONSOLE_INFORMATION::CurrentScreenBuffer, DereferenceIoHandle(), FALSE, _SCREEN_INFORMATION::Flags, _CONSOLE_INFORMATION::Flags, _CONSOLE_INFORMATION::FullScreenFlags, _CONSOLE_MODE_MSG::Handle, _HANDLE_DATA::HandleType, INPUT_MODES, _CONSOLE_INFORMATION::InsertMode, _CONSOLE_MODE_MSG::Mode, NT_SUCCESS, NTSTATUS(), OUTPUT_MODES, _CONSOLE_INFORMATION::OutputCP, PRIVATE_MODES, Status, TRUE, UnlockConsole(), and _SCREEN_INFORMATION::Window.
|
|
Definition at line 608 of file ntcon/server/getset.c. References ApiPreamble(), _HANDLE_DATA::Buffer, CONSOLE_OUTPUT_HANDLE, CONSOLE_PERPROCESSDATA, CONSOLE_WINDOW_SIZE_X, CONSOLE_WINDOW_SIZE_Y, _CONSOLE_SETSCREENBUFFERSIZE_MSG::ConsoleHandle, DereferenceIoHandle(), GetWindowLimits(), _WINDOW_LIMITS::MinimumWindowSize, NT_SUCCESS, NTSTATUS(), _CONSOLE_SETSCREENBUFFERSIZE_MSG::OutputHandle, ResizeScreenBuffer(), _SCREEN_INFORMATION::ScreenBufferSize, _CONSOLE_SETSCREENBUFFERSIZE_MSG::Size, Status, TRUE, and UnlockConsole().
|
|
Definition at line 1078 of file ntcon/server/getset.c. References ApiPreamble(), _CONSOLE_SETTEXTATTRIBUTE_MSG::Attributes, _HANDLE_DATA::Buffer, CONSOLE_OUTPUT_HANDLE, CONSOLE_PERPROCESSDATA, _CONSOLE_SETTEXTATTRIBUTE_MSG::ConsoleHandle, DereferenceIoHandle(), FALSE, NT_SUCCESS, NTSTATUS(), _CONSOLE_SETTEXTATTRIBUTE_MSG::OutputHandle, SetScreenColors(), Status, UnlockConsole(), and VALID_TEXT_ATTRIBUTES.
|
|
Definition at line 773 of file ntcon/server/getset.c. References _CONSOLE_SETWINDOWINFO_MSG::Absolute, ACTIVE_SCREEN_BUFFER, ApiPreamble(), _HANDLE_DATA::Buffer, _SCREEN_INFORMATION::BufferInfo, _SCREEN_INFORMATION::Console, CONSOLE_OUTPUT_HANDLE, CONSOLE_PERPROCESSDATA, CONSOLE_VDM_REGISTERED, CONSOLE_WINDOW_SIZE_X, CONSOLE_WINDOW_SIZE_Y, _CONSOLE_SETWINDOWINFO_MSG::ConsoleHandle, DereferenceIoHandle(), FALSE, _CONSOLE_INFORMATION::Flags, _CONSOLE_INFORMATION::FullScreenFlags, GetWindowLimits(), _WINDOW_LIMITS::MaximumWindowSize, NT_SUCCESS, NTSTATUS(), _CONSOLE_INFORMATION::OutputCP, _CONSOLE_SETWINDOWINFO_MSG::OutputHandle, ResizeWindow(), _SCREEN_INFORMATION::ScreenBufferSize, SetWindowOrigin(), SetWindowSize(), SHORT, Status, TRUE, UnlockConsole(), _SCREEN_INFORMATION::Window, _CONSOLE_SETWINDOWINFO_MSG::Window, WINDOW_SIZE_X, WINDOW_SIZE_Y, and WriteToScreen.
|
|
Definition at line 942 of file ntcon/server/getset.c. References CLE_ALLOCATED, CLE_NO_POPUPS, History, _CLE_POPUP::OldContents, _CLE_POPUP::Region, and SHORT. Referenced by SetScreenColors().
|