#include "precomp.h"
Go to the source code of this file.
Classes | |
struct | _MODE_FONT_PAIR |
struct | _FONTFILEHEADER |
struct | _FONTINFOHEADER |
struct | _CPENTRYHEADER |
struct | _FONTDATAHEADER |
struct | _SCREENFONTHEADER |
Defines | |
#define | PAL_BLACK 0 |
#define | PAL_BLUE 1 |
#define | PAL_GREEN 2 |
#define | PAL_RED 4 |
#define | PAL_YELLOW (PAL_RED | PAL_GREEN) |
#define | PAL_CYAN (PAL_GREEN | PAL_BLUE) |
#define | PAL_MAGENTA (PAL_BLUE | PAL_RED) |
#define | PAL_WHITE (PAL_RED | PAL_GREEN | PAL_BLUE) |
#define | PAL_I_BLACK (PAL_BLACK + (PAL_WHITE << 3)) |
#define | PAL_I_RED (PAL_RED + (PAL_RED << 3)) |
#define | PAL_I_GREEN (PAL_GREEN + (PAL_GREEN << 3)) |
#define | PAL_I_YELLOW (PAL_YELLOW + (PAL_YELLOW << 3)) |
#define | PAL_I_BLUE (PAL_BLUE + (PAL_BLUE << 3)) |
#define | PAL_I_CYAN (PAL_CYAN + (PAL_CYAN << 3)) |
#define | PAL_I_MAGENTA (PAL_MAGENTA + (PAL_MAGENTA << 3)) |
#define | PAL_I_WHITE (PAL_WHITE + (PAL_WHITE << 3)) |
#define | INITIAL_PALETTE_SIZE 18 |
#define | NUMBER_OF_MODE_FONT_PAIRS 5 |
#define | CONSOLE_WINDOWS_DIR_LENGTH 256 |
#define | CONSOLE_EGACPI_LENGTH 9 |
#define | CONSOLE_EGACPI "\\ega.cpi" |
#define | CONSOLE_FONT_BUFFER_LENGTH 50 |
#define | CONSOLE_DEFAULT_ROM_FONT 437 |
#define | CONSOLE_VDM_TIMEOUT 200000 |
Typedefs | |
typedef _MODE_FONT_PAIR | MODE_FONT_PAIR |
typedef _MODE_FONT_PAIR | PMODE_FONT_PAIR |
typedef _FONTFILEHEADER | FONTFILEHEADER |
typedef _FONTFILEHEADER * | LPFONTFILEHEADER |
typedef _FONTINFOHEADER | FONTINFOHEADER |
typedef _FONTINFOHEADER * | LPFONTINFOHEADER |
typedef _CPENTRYHEADER | CPENTRYHEADER |
typedef _CPENTRYHEADER * | LPCPENTRYHEADER |
typedef _FONTDATAHEADER | FONTDATAHEADER |
typedef _FONTDATAHEADER * | LPFONTDATAHEADER |
typedef _SCREENFONTHEADER | SCREENFONTHEADER |
typedef _SCREENFONTHEADER * | LPSCREENFONTHEADER |
Functions | |
NTSTATUS | MapViewOfSection (PHANDLE SectionHandle, ULONG CommitSize, PVOID *BaseAddress, PSIZE_T ViewSize, HANDLE ClientHandle, PVOID *BaseClientAddress) |
NTSTATUS | ConnectToEmulator (IN BOOL Connect, IN PCONSOLE_INFORMATION Console) |
ULONG | SrvSetConsoleCursor (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
ULONG | SrvShowConsoleCursor (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
ULONG | SrvConsoleMenuControl (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
ULONG | SrvSetConsolePalette (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
VOID | SetActivePalette (IN PSCREEN_INFORMATION ScreenInfo) |
VOID | UnsetActivePalette (IN PSCREEN_INFORMATION ScreenInfo) |
NTSTATUS | ConvertToFullScreen (IN PCONSOLE_INFORMATION Console) |
NTSTATUS | ConvertToWindowed (IN PCONSOLE_INFORMATION Console) |
ULONG | SrvSetConsoleDisplayMode (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
VOID | UnregisterVDM (IN PCONSOLE_INFORMATION Console) |
ULONG | SrvRegisterConsoleVDM (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
NTSTATUS | SrvConsoleNotifyLastClose (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
NTSTATUS | DisplayModeTransition (IN BOOL bForeground, IN PCONSOLE_INFORMATION Console, IN PSCREEN_INFORMATION ScreenInfo) |
BOOL | InitializeFullScreen (VOID) |
ULONG | SrvGetConsoleHardwareState (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
ULONG | SrvSetConsoleHardwareState (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
ULONG | SrvGetConsoleDisplayMode (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
ULONG | SrvSetConsoleMenuClose (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
DWORD | ConvertHotKey (IN LPAPPKEY UserAppKey) |
ULONG | SrvSetConsoleKeyShortcuts (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
NTSTATUS | GetThreadConsoleDesktop (DWORD dwThreadId, HDESK *phdeskConsole) |
NTSTATUS | SetRAMFontCodePage (IN PSCREEN_INFORMATION ScreenInfo) |
NTSTATUS | SetRAMFont (IN PSCREEN_INFORMATION ScreenInfo, IN PCHAR_INFO ScreenBufPtr, IN DWORD Length) |
Variables | |
USHORT | InitialPalette [INITIAL_PALETTE_SIZE] |
UCHAR | ColorBuffer [] |
MODE_FONT_PAIR | ModeFontPairs [NUMBER_OF_MODE_FONT_PAIRS] |
HANDLE | hCPIFile |
|
Definition at line 174 of file server/private.c. |
|
Definition at line 172 of file server/private.c. Referenced by InitializeFullScreen(). |
|
Definition at line 171 of file server/private.c. Referenced by InitializeFullScreen(). |
|
Definition at line 173 of file server/private.c. |
|
Definition at line 1564 of file server/private.c. Referenced by DisplayModeTransition(). |
|
Definition at line 170 of file server/private.c. Referenced by InitializeFullScreen(). |
|
Definition at line 55 of file server/private.c. |
|
Definition at line 118 of file server/private.c. Referenced by InitializeFullScreen(), and SrvSetConsoleHardwareState(). |
|
Definition at line 37 of file server/private.c. |
|
Definition at line 38 of file server/private.c. |
|
Definition at line 42 of file server/private.c. |
|
Definition at line 39 of file server/private.c. |
|
Definition at line 46 of file server/private.c. |
|
Definition at line 50 of file server/private.c. |
|
Definition at line 51 of file server/private.c. |
|
Definition at line 48 of file server/private.c. |
|
Definition at line 52 of file server/private.c. |
|
Definition at line 47 of file server/private.c. |
|
Definition at line 53 of file server/private.c. |
|
Definition at line 49 of file server/private.c. |
|
Definition at line 43 of file server/private.c. |
|
Definition at line 40 of file server/private.c. |
|
Definition at line 44 of file server/private.c. |
|
Definition at line 41 of file server/private.c. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 1519 of file server/private.c. References ASSERT, CONSOLE_CONNECTED_TO_EMULATOR, CONSOLE_HAS_FOCUS, DBGFULLSCR, NTSTATUS(), NtUserSetInformationThread(), NULL, Status, and TIF_DOSEMULATOR. Referenced by DisplayModeTransition(), SrvRegisterConsoleVDM(), and UnregisterVDM().
|
|
Definition at line 2403 of file server/private.c. References DWORD, and MapVirtualKey(). Referenced by SrvSetConsoleKeyShortcuts().
|
|
Definition at line 603 of file server/private.c. References ASSERT, _SCREEN_INFORMATION::BufferInfo, CONSOLE_GRAPHICS_BUFFER, CONSOLE_OEMFONT_DISPLAY, CONSOLE_TEXTMODE_BUFFER, CONSOLE_WINDOW_SIZE_X, CONSOLE_WINDOW_SIZE_Y, DBGCHARS, DbgPrint, FALSE, FalseUnicodeToRealUnicode(), _SCREEN_INFORMATION::Flags, max, _SCREEN_INFORMATION::Next, NT_SUCCESS, NTSTATUS(), NULL, ResizeScreenBuffer(), SCR_FACENAME(), SCR_FAMILY(), SCR_FONTCODEPAGE(), SCR_FONTNUMBER(), SCR_FONTSIZE(), SCR_FONTWEIGHT(), _SCREEN_INFORMATION::ScreenBufferSize, SetWindowSize(), Status, StoreTextBufferFontInfo(), TEXT_VALID_HINT, _SCREEN_INFORMATION::Window, and WriteToScreen. Referenced by ConsoleWindowProc(), CreateWindowsWindow(), HandleSysKeyEvent(), and PropertiesUpdate().
|
|
Definition at line 747 of file server/private.c. References _SCREEN_INFORMATION::BufferInfo, CONSOLE_OEMFONT_DISPLAY, CONSOLE_TEXTMODE_BUFFER, DBGCHARS, FALSE, _SCREEN_INFORMATION::Flags, _SCREEN_INFORMATION::Next, NT_SUCCESS, NTSTATUS(), NULL, RealUnicodeToFalseUnicode(), ResizeScreenBuffer(), ResizeWindow(), SCR_FACENAME(), SCR_FAMILY(), SCR_FONTCODEPAGE(), SCR_FONTNUMBER(), SCR_FONTSIZE(), SCR_FONTWEIGHT(), _SCREEN_INFORMATION::ScreenBufferSize, SetFont(), SetWindowSize(), Status, StoreTextBufferFontInfo(), TEXT_VALID_HINT, _SCREEN_INFORMATION::Window, and WriteToScreen. Referenced by ConsoleWindowProc(), HandleSysKeyEvent(), and PropertiesUpdate().
|
|
Definition at line 1567 of file server/private.c. References ASSERT, BOOL, _SCREEN_INFORMATION::BufferInfo, ConnectToEmulator(), _SCREEN_INFORMATION::Console, CONSOLE_CONNECTED_TO_EMULATOR, CONSOLE_FULLSCREEN_NOPAINT, CONSOLE_GRAPHICS_BUFFER, CONSOLE_VDM_REGISTERED, CONSOLE_VDM_TIMEOUT, ConsoleVDMCriticalSection, ConsoleVDMOnSwitching, FALSE, _SCREEN_INFORMATION::Flags, FS_MODE_GRAPHICS, FullScreenInitialized, HandleFocusEvent(), _CONSOLE_INFORMATION::hDC, _SCREEN_INFORMATION::hPalette, _CONSOLE_INFORMATION::hSysPalette, Index, INVALID_OLD_LENGTH, IsAvailableFsCodePage(), _MODE_FONT_PAIR::Mode, ModeFontPairs, ModifyConsoleProcessFocus(), NT_SUCCESS, NtSignalAndWaitForSingleObject(), NTSTATUS(), NtUserConsoleControl(), NULL, RegModeFontPairs, _MODE_FONT_PAIR::Resolution, _SCREEN_INFORMATION::ScreenBufferSize, SelectPalette, SetActivePalette(), SetConsoleReserveKeys(), Status, TRUE, UnregisterVDM(), UnsetActivePalette(), _SCREEN_INFORMATION::Window, and WriteRegionToScreen. Referenced by ConsoleWindowProc().
|
|
Definition at line 3139 of file server/private.c. References CONSOLE_FROMTHREADPERPROCESSDATA, _CONSOLE_PER_PROCESS_DATA::ConsoleHandle, _CONSOLE_INFORMATION::hDesk, NT_SUCCESS, NTSTATUS(), NULL, PCONSOLE_PER_PROCESS_DATA, RevalidateConsole(), Status, and UnlockConsole(). Referenced by SrvGetThreadConsoleDesktop().
|
|
Definition at line 2089 of file server/private.c. References CHAR, CONSOLE_EGACPI, CONSOLE_EGACPI_LENGTH, CONSOLE_WINDOWS_DIR_LENGTH, DBGCHARS, DWORD, FALSE, FS_MODE_FIND, FS_MODE_GRAPHICS, FS_MODE_TEXT, hCPIFile, Index, L, _MODE_FONT_PAIR::Mode, NT_SUCCESS, NtUserEnumDisplaySettings(), NULL, NUMBER_OF_MODE_FONT_PAIRS, OPEN_EXISTING, RegModeFontPairs, _MODE_FONT_PAIR::Resolution, RtlInitUnicodeString(), SHORT, TRUE, and UINT. Referenced by InitWindowsStuff().
|
|
Definition at line 1407 of file server/private.c. References L, NT_SUCCESS, NtClose(), NtCreateSection(), NtMapViewOfSection(), NTSTATUS(), NULL, and Status. Referenced by SrvRegisterConsoleVDM().
|
|
Definition at line 544 of file server/private.c. References BOOL, FALSE, NtUserSetInformationThread(), NULL, RealizePalette, and TRUE. Referenced by ConsoleWindowProc(), DisplayModeTransition(), and SetActiveScreenBuffer().
|
|
Definition at line 3336 of file server/private.c. References tagSTRINGBITMAP::ajBits, BufferSize, BYTE, BYTE_ALIGN, CalcBitmapBufferSize(), ConsoleHeapAlloc, ConsoleHeapFree, ConsoleHeapSize, DWORD, FontInfo, _MODE_FONT_PAIR::FontSize, _FONT_CACHE_INFORMATION::FullScreenFontIndex, _FONT_CACHE_INFORMATION::FullScreenFontSize, GetExpandFontImage(), GetFontImage(), GetStringBitmapW(), MAKE_TAG, NT_SUCCESS, NTSTATUS(), NULL, RegModeFontPairs, SetFontImage(), SHORT, Status, and WORD_ALIGN. Referenced by FE_WriteRegionToScreenHW().
|
|
Definition at line 3175 of file server/private.c. References tagSTRINGBITMAP::ajBits, BufferSize, BYTE, BYTE_ALIGN, CalcBitmapBufferSize(), ConsoleHeapAlloc, ConsoleHeapFree, ConsoleHeapSize, CreateFontCache(), DWORD, FontInfo, _MODE_FONT_PAIR::FontSize, _FONT_CACHE_INFORMATION::FullScreenFontIndex, _FONT_CACHE_INFORMATION::FullScreenFontSize, GetExpandFontImage(), GetStringBitmapW(), LPSTRINGBITMAP, MAKE_TAG, MakeAltRasterFont(), NT_SUCCESS, NTSTATUS(), NULL, OEMCP, PFONT_CACHE_INFORMATION, RegModeFontPairs, SCR_FONTCODEPAGE(), _MODE_FONT_PAIR::ScreenSize, SetFontImage(), SHORT, Status, STRINGBITMAP, and WORD_ALIGN. Referenced by FE_WriteRegionToScreenHW().
|
|
Definition at line 373 of file server/private.c. References ApiPreamble(), _HANDLE_DATA::Buffer, _CONSOLE_MENUCONTROL_MSG::CommandIdHigh, _CONSOLE_MENUCONTROL_MSG::CommandIdLow, CONSOLE_GRAPHICS_OUTPUT_HANDLE, CONSOLE_OUTPUT_HANDLE, CONSOLE_PERPROCESSDATA, _CONSOLE_MENUCONTROL_MSG::ConsoleHandle, DereferenceIoHandle(), _CONSOLE_MENUCONTROL_MSG::hMenu, NT_SUCCESS, NTSTATUS(), _CONSOLE_MENUCONTROL_MSG::OutputHandle, Status, and UnlockConsole().
|
|
Definition at line 1346 of file server/private.c. References ApiPreamble(), ASSERT, CONSOLE_CLIENTPROCESSHANDLE, CONSOLE_CLIENTPROCESSID, CONSOLE_NOTIFY_LAST_CLOSE, _CONSOLE_NOTIFYLASTCLOSE_MSG::ConsoleHandle, FALSE, _CONSOLE_INFORMATION::Flags, _CONSOLE_INFORMATION::hProcessLastNotifyClose, NT_SUCCESS, NtDuplicateObject(), NTSTATUS(), NULL, PCONSOLE_NOTIFYLASTCLOSE_MSG, _CONSOLE_INFORMATION::ProcessIdLastNotifyClose, Status, UnlockConsole(), _CONSOLE_INFORMATION::VDMProcessHandle, and _CONSOLE_INFORMATION::VDMProcessId.
|
|
Definition at line 2355 of file server/private.c. References ApiPreamble(), _CONSOLE_GETDISPLAYMODE_MSG::ConsoleHandle, _CONSOLE_INFORMATION::FullScreenFlags, _CONSOLE_GETDISPLAYMODE_MSG::ModeFlags, NT_SUCCESS, NTSTATUS(), Status, and UnlockConsole().
|
|
Definition at line 2232 of file server/private.c. References ApiPreamble(), _HANDLE_DATA::Buffer, _SCREEN_INFORMATION::BufferInfo, CONSOLE_OUTPUT_HANDLE, CONSOLE_PERPROCESSDATA, _CONSOLE_GETHARDWARESTATE_MSG::ConsoleHandle, DereferenceIoHandle(), _MODE_FONT_PAIR::FontSize, _CONSOLE_GETHARDWARESTATE_MSG::FontSize, ModeFontPairs, NT_SUCCESS, NTSTATUS(), _CONSOLE_GETHARDWARESTATE_MSG::OutputHandle, RegModeFontPairs, _MODE_FONT_PAIR::Resolution, _CONSOLE_GETHARDWARESTATE_MSG::Resolution, Status, and UnlockConsole().
|
|
Definition at line 1094 of file server/private.c. References ApiPreamble(), ASSERT, _SCREEN_INFORMATION::BufferInfo, BYTE, ConnectToEmulator(), CONSOLE_CLIENTPROCESSHANDLE, CONSOLE_CLIENTPROCESSID, CONSOLE_CONNECTED_TO_EMULATOR, CONSOLE_FULLSCREEN_NOPAINT, CONSOLE_HAS_FOCUS, CONSOLE_TEXTMODE_BUFFER, CONSOLE_VDM_REGISTERED, CONSOLE_WOW_REGISTERED, _CONSOLE_REGISTERVDM_MSG::ConsoleHandle, _CONSOLE_INFORMATION::CurrentScreenBuffer, _CONSOLE_REGISTERVDM_MSG::EndEvent, FALSE, _SCREEN_INFORMATION::Flags, _CONSOLE_INFORMATION::Flags, _CONSOLE_INFORMATION::FullScreenFlags, FullScreenInitialized, _CONSOLE_INFORMATION::InputThreadInfo, MapViewOfSection(), NT_SUCCESS, NtClose(), NtDuplicateObject(), NTSTATUS(), NtUnmapViewOfSection(), NtUserConsoleControl(), NtUserSetInformationThread(), NULL, _CONSOLE_REGISTERVDM_MSG::RegisterFlags, _CONSOLE_REGISTERVDM_MSG::StartEvent, _CONSOLE_REGISTERVDM_MSG::StateBuffer, _CONSOLE_INFORMATION::StateBuffer, _CONSOLE_INFORMATION::StateBufferClient, _CONSOLE_INFORMATION::StateLength, _CONSOLE_REGISTERVDM_MSG::StateLength, _CONSOLE_INFORMATION::StateSectionHandle, _CONSOLE_REGISTERVDM_MSG::StateSectionName, _CONSOLE_REGISTERVDM_MSG::StateSectionNameLength, Status, _INPUT_THREAD_INFO::ThreadHandle, TIF_VDMAPP, TRUE, UnlockConsole(), UnregisterVDM(), _CONSOLE_REGISTERVDM_MSG::VDMBuffer, _CONSOLE_INFORMATION::VDMBuffer, _CONSOLE_INFORMATION::VDMBufferClient, _CONSOLE_INFORMATION::VDMBufferSectionHandle, _CONSOLE_REGISTERVDM_MSG::VDMBufferSectionName, _CONSOLE_REGISTERVDM_MSG::VDMBufferSectionNameLength, _CONSOLE_INFORMATION::VDMBufferSize, _CONSOLE_REGISTERVDM_MSG::VDMBufferSize, _CONSOLE_INFORMATION::VDMEndHardwareEvent, _CONSOLE_INFORMATION::VDMProcessHandle, _CONSOLE_INFORMATION::VDMProcessId, and _CONSOLE_INFORMATION::VDMStartHardwareEvent.
|
|
Definition at line 213 of file server/private.c. References ApiPreamble(), _HANDLE_DATA::Buffer, CONSOLE_GRAPHICS_OUTPUT_HANDLE, CONSOLE_PERPROCESSDATA, _CONSOLE_SETCURSOR_MSG::ConsoleHandle, _CONSOLE_SETCURSOR_MSG::CursorHandle, DereferenceIoHandle(), ghNormalCursor, NT_SUCCESS, NTSTATUS(), NULL, _CONSOLE_SETCURSOR_MSG::OutputHandle, PostMessage(), Status, and UnlockConsole().
|
|
Definition at line 853 of file server/private.c. References ACTIVE_SCREEN_BUFFER, ApiPreamble(), ASSERT, _HANDLE_DATA::Buffer, CM_MODE_TRANSITION, CONSOLE_CLIENTPROCESSHANDLE, CONSOLE_GRAPHICS_OUTPUT_HANDLE, CONSOLE_OUTPUT_HANDLE, CONSOLE_PERPROCESSDATA, CONSOLE_TEXTMODE_BUFFER, _CONSOLE_SETDISPLAYMODE_MSG::ConsoleHandle, DereferenceIoHandle(), _CONSOLE_SETDISPLAYMODE_MSG::dwFlags, FALSE, _SCREEN_INFORMATION::Flags, _CONSOLE_INFORMATION::FullScreenFlags, FullScreenInitialized, _CONSOLE_SETDISPLAYMODE_MSG::hEvent, NT_SUCCESS, NtClose(), NtDuplicateObject(), NtSetEvent(), NTSTATUS(), NULL, _CONSOLE_SETDISPLAYMODE_MSG::OutputHandle, QueueConsoleMessage(), Status, UINT, and UnlockConsole().
|
|
Definition at line 2280 of file server/private.c. References ApiPreamble(), BOOL, _HANDLE_DATA::Buffer, _SCREEN_INFORMATION::BufferInfo, CONSOLE_OUTPUT_HANDLE, CONSOLE_PERPROCESSDATA, _CONSOLE_SETHARDWARESTATE_MSG::ConsoleHandle, DereferenceIoHandle(), FALSE, _MODE_FONT_PAIR::FontSize, _CONSOLE_SETHARDWARESTATE_MSG::FontSize, FS_GRAPHICS, FS_TEXT, _CONSOLE_INFORMATION::FullScreenFlags, Index, IsAvailableFsCodePage(), _MODE_FONT_PAIR::Mode, ModeFontPairs, NT_SUCCESS, NTSTATUS(), NUMBER_OF_MODE_FONT_PAIRS, _CONSOLE_INFORMATION::OutputCP, _CONSOLE_SETHARDWARESTATE_MSG::OutputHandle, RegModeFontPairs, _MODE_FONT_PAIR::Resolution, _CONSOLE_SETHARDWARESTATE_MSG::Resolution, Status, and UnlockConsole().
|
|
Definition at line 2423 of file server/private.c. References ApiPreamble(), _CONSOLE_SETKEYSHORTCUTS_MSG::AppKeys, CONSOLE_HAS_FOCUS, CONSOLE_MAX_APP_SHORTCUTS, _CONSOLE_SETKEYSHORTCUTS_MSG::ConsoleHandle, ConvertHotKey(), _CONSOLE_INFORMATION::Flags, _CONSOLE_INFORMATION::hWnd, NT_SUCCESS, NTSTATUS(), _CONSOLE_SETKEYSHORTCUTS_MSG::NumAppKeys, PostMessage(), _CONSOLE_SETKEYSHORTCUTS_MSG::ReserveKeys, _CONSOLE_INFORMATION::ReserveKeys, SetConsoleReserveKeys(), Status, and UnlockConsole().
|
|
Definition at line 2376 of file server/private.c. References ApiPreamble(), CONSOLE_DISABLE_CLOSE, _CONSOLE_SETMENUCLOSE_MSG::ConsoleHandle, _CONSOLE_SETMENUCLOSE_MSG::Enable, _CONSOLE_INFORMATION::Flags, NT_SUCCESS, NTSTATUS(), Status, and UnlockConsole().
|
|
Definition at line 432 of file server/private.c. References ApiPreamble(), BOOL, _HANDLE_DATA::Buffer, CONSOLE_GRAPHICS_OUTPUT_HANDLE, CONSOLE_IS_ICONIC, CONSOLE_PERPROCESSDATA, _CONSOLE_SETPALETTE_MSG::ConsoleHandle, DereferenceIoHandle(), _CONSOLE_SETPALETTE_MSG::dwUsage, FALSE, _CONSOLE_SETPALETTE_MSG::hPalette, _CONSOLE_INFORMATION::InputThreadInfo, NT_SUCCESS, NTSTATUS(), NtUserConsoleControl(), NtUserSetInformationThread(), NULL, _CONSOLE_SETPALETTE_MSG::OutputHandle, RealizePalette, SelectPalette, Status, _INPUT_THREAD_INFO::ThreadId, TRUE, and UnlockConsole().
|
|
Definition at line 298 of file server/private.c. References ApiPreamble(), _CONSOLE_SHOWCURSOR_MSG::bShow, _HANDLE_DATA::Buffer, CONSOLE_GRAPHICS_OUTPUT_HANDLE, CONSOLE_OUTPUT_HANDLE, CONSOLE_PERPROCESSDATA, _CONSOLE_SHOWCURSOR_MSG::ConsoleHandle, _CONSOLE_INFORMATION::CurrentScreenBuffer, DereferenceIoHandle(), _CONSOLE_SHOWCURSOR_MSG::DisplayCount, _CONSOLE_INFORMATION::FullScreenFlags, _HANDLE_DATA::HandleType, NT_SUCCESS, NTSTATUS(), _CONSOLE_SHOWCURSOR_MSG::OutputHandle, PostMessage(), Status, and UnlockConsole().
|
|
Definition at line 980 of file server/private.c. References AdjustCursorPosition, ASSERT, BOOL, ConnectToEmulator(), CONSOLE_CONNECTED_TO_EMULATOR, CONSOLE_HAS_FOCUS, CONSOLE_TEXTMODE_BUFFER, CONSOLE_VDM_REGISTERED, CONSOLE_WOW_REGISTERED, FALSE, FS_MODE_GRAPHICS, FullScreenInitialized, Index, IsAvailableFsCodePage(), JAPAN_CP, KOREAN_CP, _MODE_FONT_PAIR::Mode, NtClose(), NtUnmapViewOfSection(), NtUserConsoleControl(), NtUserSetInformationThread(), NULL, RegModeFontPairs, _MODE_FONT_PAIR::Resolution, TIF_DOSEMULATOR, TIF_VDMAPP, and TRUE. Referenced by DisplayModeTransition(), RemoveConsole(), and SrvRegisterConsoleVDM().
|
|
Definition at line 573 of file server/private.c. References BOOL, FALSE, NtUserSetInformationThread(), NULL, RealizePalette, and TRUE. Referenced by ConsoleWindowProc(), and DisplayModeTransition().
|
|
Initial value:
Definition at line 68 of file server/private.c. |
|
Definition at line 130 of file server/private.c. Referenced by InitializeFullScreen(). |
|
Initial value:
Definition at line 57 of file server/private.c. |
|
Initial value:
Definition at line 120 of file server/private.c. Referenced by DisplayModeTransition(), SrvGetConsoleHardwareState(), and SrvSetConsoleHardwareState(). |