36 DPRINT1(
"Console Hardware State: %d\n", ConsoleHwState);
41 if (
Console->HardwareState != ConsoleHwState)
45 Console->HardwareState = ConsoleHwState;
64 HardwareStateRequest->OutputHandle,
73 HardwareStateRequest->State =
Console->HardwareState;
92 HardwareStateRequest->OutputHandle,
101 DPRINT(
"Setting console hardware state.\n");
128 SetDisplayModeRequest->OutputHandle,
159 GetLargestWindowSizeRequest->OutputHandle,
187 ShowCursorRequest->OutputHandle,
214 SetCursorRequest->OutputHandle,
237 MenuControlRequest->OutputHandle,
247 MenuControlRequest->CmdIdLow,
248 MenuControlRequest->CmdIdHigh);
267 OUT HDESK* ConsoleDesktop)
274 *ConsoleDesktop =
NULL;
329 GetNumFontsRequest->NumFonts = 0;
341 GetFontInfoRequest->OutputHandle,
353 GetFontInfoRequest->NumFonts = 0;
367 GetFontSizeRequest->OutputHandle,
392 GetCurrentFontRequest->OutputHandle,
404 GetCurrentFontRequest->FontIndex = 0;
418 SetFontRequest->OutputHandle,
#define CONSOLE_HARDWARE_STATE_DIRECT
#define CONSOLE_HARDWARE_STATE_GDI_MANAGED
#define ConSrvGetTextModeBuffer(ProcessData, Handle, Ptr, Access, LockConsole)
#define ConSrvGetScreenBuffer(ProcessData, Handle, Ptr, Access, LockConsole)
#define ConSrvGetGraphicsBuffer(ProcessData, Handle, Ptr, Access, LockConsole)
#define ConSrvReleaseScreenBuffer(Buff, IsConsoleLocked)
#define ConsoleGetPerProcessData(Process)
NTSTATUS NTAPI CsrLockThreadByClientId(IN HANDLE Tid, OUT PCSR_THREAD *CsrThread)
NTSTATUS NTAPI CsrUnlockThread(IN PCSR_THREAD CsrThread)
#define STATUS_NOT_IMPLEMENTED
#define NT_SUCCESS(StatCode)
BOOL WINAPI SetConsoleHardwareState(HANDLE hConsoleOutput, DWORD Flags, DWORD State)
NTSTATUS NTAPI GetThreadConsoleDesktop(IN ULONG_PTR ThreadId, OUT HDESK *ConsoleDesktop)
#define STATUS_INVALID_PARAMETER_3
struct _CONSOLE * Console
#define TermMenuControl(Console, CmdIdLow, CmdIdHigh)
#define TermGetConsoleWindowHandle(Console)
#define TermGetLargestConsoleWindowSize(Console, pSize)
#define TermShowMouseCursor(Console, Show)
#define TermChangeIcon(Console, IconHandle)
#define TermSetDisplayMode(Console, NewMode)
#define TermSetMouseCursor(Console, CursorHandle)
#define TermGetSelectionInfo(Console, pSelectionInfo)
#define TermSetMenuClose(Console, Enable)
#define TermGetThreadConsoleDesktop(Console)
#define TermGetDisplayMode(Console)
#define STATUS_INVALID_PARAMETER
#define STATUS_UNSUCCESSFUL
#define CON_API(Name, TYPE, RequestName)
VOID ConSrvReleaseConsole(IN PCONSRV_CONSOLE Console, IN BOOLEAN IsConsoleLocked)
NTSTATUS ConSrvGetConsole(IN PCONSOLE_PROCESS_DATA ProcessData, OUT PCONSRV_CONSOLE *Console, IN BOOLEAN LockConsole)