#include "precomp.h"Go to the source code of this file.
Classes | |
| struct | _CONSOLE_KEY_INFO |
Defines | |
| #define | CTRL_BUT_NOT_ALT(n) |
| #define | MAX_CHARS_FROM_1_KEYSTROKE 6 |
| #define | CONSOLE_FREE_KEY_INFO 0 |
| #define | CONSOLE_MAX_KEY_INFO 32 |
Typedefs | |
| typedef _CONSOLE_KEY_INFO | CONSOLE_KEY_INFO |
| typedef _CONSOLE_KEY_INFO * | PCONSOLE_KEY_INFO |
Functions | |
| VOID | UserExitWorkerThread (VOID) |
| BOOL | InitWindowClass (VOID) |
| NTSTATUS | ReadBuffer (IN PINPUT_INFORMATION InputInformation, OUT PVOID Buffer, IN ULONG Length, OUT PULONG EventsRead, IN BOOL Peek, IN BOOL StreamRead, OUT PBOOL ResetWaitEvent) |
| NTSTATUS | CreateInputBuffer (IN ULONG NumberOfEvents OPTIONAL, IN PINPUT_INFORMATION InputBufferInformation) |
| NTSTATUS | ReinitializeInputBuffer (OUT PINPUT_INFORMATION InputBufferInformation) |
| VOID | FreeInputBuffer (IN PINPUT_INFORMATION InputBufferInformation) |
| NTSTATUS | WaitForMoreToRead (IN PINPUT_INFORMATION InputInformation, IN PCSR_API_MSG Message OPTIONAL, IN CSR_WAIT_ROUTINE WaitRoutine OPTIONAL, IN PVOID WaitParameter OPTIONAL, IN ULONG WaitParameterLength OPTIONAL, IN BOOLEAN WaitBlockExists OPTIONAL) |
| VOID | WakeUpReadersWaitingForData (IN PCONSOLE_INFORMATION Console, PINPUT_INFORMATION InputInformation) |
| NTSTATUS | GetNumberOfReadyEvents (IN PINPUT_INFORMATION InputInformation, OUT PULONG NumberOfEvents) |
| NTSTATUS | FlushAllButKeys (PINPUT_INFORMATION InputInformation) |
| NTSTATUS | FlushInputBuffer (PINPUT_INFORMATION InputInformation) |
| NTSTATUS | SetInputBufferSize (IN PINPUT_INFORMATION InputInformation, IN ULONG Size) |
| NTSTATUS | ReadInputBuffer (IN PINPUT_INFORMATION InputInformation, OUT PINPUT_RECORD lpBuffer, IN OUT PDWORD nLength, IN BOOL Peek, IN BOOL WaitForData, IN BOOL StreamRead, IN PCONSOLE_INFORMATION Console, IN PHANDLE_DATA HandleData OPTIONAL, IN PCSR_API_MSG Message OPTIONAL, IN CSR_WAIT_ROUTINE WaitRoutine OPTIONAL, IN PVOID WaitParameter OPTIONAL, IN ULONG WaitParameterLength OPTIONAL, IN BOOLEAN WaitBlockExists OPTIONAL) |
| NTSTATUS | WriteBuffer (OUT PINPUT_INFORMATION InputInformation, IN PVOID Buffer, IN ULONG Length, OUT PULONG EventsWritten, OUT PBOOL SetWaitEvent) |
| __inline BOOL | IsSystemKey (WORD wVirtualKeyCode) |
| DWORD | PreprocessInput (IN PCONSOLE_INFORMATION Console, IN PINPUT_RECORD InputEvent, IN DWORD nLength) |
| DWORD | PrependInputBuffer (IN PCONSOLE_INFORMATION Console, IN PINPUT_INFORMATION InputInformation, IN PINPUT_RECORD lpBuffer, IN DWORD nLength) |
| DWORD | WriteInputBuffer (IN PCONSOLE_INFORMATION Console, IN PINPUT_INFORMATION InputInformation, IN PINPUT_RECORD lpBuffer, IN DWORD nLength) |
| VOID | StoreKeyInfo (IN PMSG msg) |
| VOID | RetrieveKeyInfo (IN HWND hWnd, OUT PWORD pwVirtualKeyCode, OUT PWORD pwVirtualScanCode, IN BOOL FreeKeyInfo) |
| VOID | ClearKeyInfo (IN HWND hWnd) |
| VOID | ProcessCreateConsoleWindow (IN LPMSG lpMsg) |
| LRESULT | DialogHookProc (int nCode, WPARAM wParam, LPARAM lParam) |
| ULONG | InputExceptionFilter (PEXCEPTION_POINTERS pexi) |
| VOID | InitializeThreadMessages () |
| VOID | CleanupInputThreadMessages (DWORD dwThreadId) |
| NTSTATUS | QueueThreadMessage (DWORD dwThreadId, UINT message, WPARAM wParam, LPARAM lParam) |
| BOOL | UnqueueThreadMessage (DWORD dwThreadId, UINT *pMessage, WPARAM *pwParam, LPARAM *plParam) |
| VOID | ConsoleInputThread (PINPUT_THREAD_INIT_INFO pInputThreadInitInfo) |
| ULONG | GetControlKeyState (LPARAM lParam) |
| ULONG | ConvertMouseButtonState (IN ULONG Flag, IN ULONG State) |
| VOID | TerminateRead (IN PCONSOLE_INFORMATION Console, IN PINPUT_INFORMATION InputInfo, IN DWORD Flag) |
| BOOL | HandleSysKeyEvent (IN PCONSOLE_INFORMATION Console, IN HWND hWnd, IN UINT Message, IN WPARAM wParam, IN LPARAM lParam) |
| VOID | HandleKeyEvent (IN PCONSOLE_INFORMATION Console, IN HWND hWnd, IN UINT Message, IN WPARAM wParam, IN LPARAM lParam) |
| BOOL | HandleMouseEvent (IN PCONSOLE_INFORMATION Console, IN PSCREEN_INFORMATION ScreenInfo, IN UINT Message, IN WPARAM wParam, IN LPARAM lParam) |
| VOID | HandleFocusEvent (IN PCONSOLE_INFORMATION Console, IN BOOL bSetFocus) |
| VOID | HandleMenuEvent (IN PCONSOLE_INFORMATION Console, IN DWORD wParam) |
| VOID | HandleCtrlEvent (IN PCONSOLE_INFORMATION Console, IN DWORD EventType) |
| VOID | KillProcess (PCONSOLE_PROCESS_TERMINATION_RECORD ProcessHandleRecord, ULONG_PTR ProcessId) |
| int | CreateCtrlThread (IN PCONSOLE_PROCESS_TERMINATION_RECORD ProcessHandleList, IN ULONG ProcessHandleListLength, IN PWCHAR Title, IN DWORD EventType, IN BOOL fForce) |
| int | ProcessCtrlEvents (IN PCONSOLE_INFORMATION Console) |
| VOID | UnlockConsole (IN PCONSOLE_INFORMATION Console) |
Variables | |
| UINT | ProgmanHandleMessage |
| int | DialogBoxCount |
| LPTHREAD_START_ROUTINE | CtrlRoutine |
| DWORD | InputThreadTlsIndex |
| CONSOLE_KEY_INFO | ConsoleKeyInfo [CONSOLE_MAX_KEY_INFO] |
| LIST_ENTRY | gInputThreadMsg |
| CRITICAL_SECTION | gInputThreadMsgLock |
|
|
Definition at line 71 of file ntcon/server/input.c. Referenced by ClearKeyInfo(), ConsoleInputThread(), RetrieveKeyInfo(), and StoreKeyInfo(). |
|
|
Definition at line 72 of file ntcon/server/input.c. Referenced by ClearKeyInfo(), ConsoleInputThread(), RetrieveKeyInfo(), and StoreKeyInfo(). |
|
|
Value: Definition at line 42 of file ntcon/server/input.c. |
|
|
Definition at line 60 of file ntcon/server/input.c. Referenced by HandleKeyEvent(). |
|
|
|
|
|
|
|
|
Definition at line 1837 of file ntcon/server/input.c. References ASSERT, UINT, and UnqueueThreadMessage(). Referenced by ConsoleInputThread().
|
|
|
Definition at line 1634 of file ntcon/server/input.c. References CONSOLE_FREE_KEY_INFO, CONSOLE_MAX_KEY_INFO, ConsoleKeyInfo, hWnd, and _CONSOLE_KEY_INFO::hWnd. Referenced by DestroyWindowsWindow().
|
|
|
Definition at line 1946 of file ntcon/server/input.c. References ASSERT, BOOL, CleanupInputThreadMessages(), CM_CONSOLE_INPUT_THREAD_MSG, CM_CREATE_CONSOLE_WINDOW, CONSOLE_FREE_KEY_INFO, CONSOLE_IS_IME_ENABLED, CONSOLE_MAX_KEY_INFO, ConsoleKeyInfo, _INPUT_THREAD_INFO::Desktop, _INPUT_THREAD_INIT_INFO::DesktopHandle, DialogHookProc(), DispatchMessage(), EF_DEFFACE, EnumerateFonts(), FALSE, fOneTimeInitialized, GetMessage(), _CONSOLE_KEY_INFO::hWnd, _INPUT_THREAD_INIT_INFO::InitCompleteEventHandle, InitializeCustomCP(), InitializeScreenInfo(), _INPUT_THREAD_INIT_INFO::InitStatus, InitWindowClass(), INPUT_THREAD_INFO, InputExceptionFilter, InputThreadTlsIndex, msg, NT_SUCCESS, NtSetEvent(), NTSTATUS(), NtUserConsoleControl(), NULL, ProcessCreateConsoleWindow(), ProgmanHandleMessage, RegisterWindowMessage(), RtlRaiseStatus(), Status, StoreKeyInfo(), _INPUT_THREAD_INIT_INFO::ThreadHandle, _INPUT_THREAD_INFO::ThreadHandle, _INPUT_THREAD_INFO::ThreadId, TranslateMessageEx(), TRUE, UnhookWindowsHookEx, UnqueueThreadMessage(), UserExitWorkerThread(), and _INPUT_THREAD_INFO::WindowCount.
|
|
||||||||||||
|
Definition at line 2217 of file ntcon/server/input.c. Referenced by HandleMouseEvent().
|
|
||||||||||||||||||||||||
|
Definition at line 3502 of file ntcon/server/input.c. References Action, BHE_ACTIVATE, BHE_FORCE, BOOL, BoostHardError(), CONSOLE_SHUTDOWN_FAILED, CONSOLE_SHUTDOWN_SUCCEEDED, CONSOLE_SHUTDOWN_SYSTEM, CtrlRoutine, DebugPort, DialogBoxCount, DWORD, FALSE, gCmsHungAppTimeout, gCmsWaitToKillTimeout, gdwServicesProcessId, gdwServicesWaitToKillTimeout, InternalCreateCallbackThread(), InternalWaitCancel(), KillProcess(), NT_SUCCESS, NtQueryInformationProcess(), NTSTATUS(), NULL, Status, ThreadShutdownNotify(), TRUE, TSN_USERSAYSCANCEL, and WMCS_CONSOLE. Referenced by NonConsoleProcessShutdown(), ProcessCtrlEvents(), and RemoveConsole().
|
|
||||||||||||
|
Definition at line 103 of file ntcon/server/input.c. References BUFFER_TAG, BufferSize, ConsoleHeapAlloc, ConsoleHeapFree, DEFAULT_NUMBER_OF_EVENTS, FALSE, MAKE_TAG, NT_SUCCESS, NtCreateEvent(), NTSTATUS(), NULL, and Status. Referenced by AllocateConsole().
|
|
||||||||||||||||
|
Definition at line 1726 of file ntcon/server/input.c. References ASSERT, CM_CONSOLE_INPUT_THREAD_MSG, CM_CREATE_CONSOLE_WINDOW, CONSOLE_IS_IME_ENABLED, GetWindowLongPtr(), InputThreadTlsIndex, msg, ProcessCreateConsoleWindow(), StoreKeyInfo(), _INPUT_THREAD_INFO::ThreadId, TRUE, and UnqueueThreadMessage(). Referenced by ConsoleInputThread().
|
|
|
Definition at line 401 of file ntcon/server/input.c. References BOOL, BufferSize, ConsoleHeapAlloc, ConsoleHeapFree, FALSE, _INPUT_INFORMATION::In, _INPUT_INFORMATION::InputBuffer, _INPUT_INFORMATION::InputBufferSize, _INPUT_INFORMATION::InputWaitEvent, MAKE_TAG, NT_SUCCESS, NtClearEvent(), NTSTATUS(), NULL, _INPUT_INFORMATION::Out, ReadBuffer(), Status, TMP_TAG, and TRUE. Referenced by SetActiveScreenBuffer().
|
|
|
Definition at line 485 of file ntcon/server/input.c. References _INPUT_INFORMATION::In, _INPUT_INFORMATION::InputBuffer, _INPUT_INFORMATION::InputWaitEvent, NtClearEvent(), and _INPUT_INFORMATION::Out. Referenced by HandleKeyEvent(), and SrvFlushConsoleInputBuffer().
|
|
|
Definition at line 221 of file ntcon/server/input.c. References ASSERT, and ConsoleHeapFree. Referenced by AbortCreateConsole(), AllocateConsole(), and DestroyWindowsWindow().
|
|
|
Definition at line 2179 of file ntcon/server/input.c. References GetKeyState(), KEY_ENHANCED, KEY_PRESSED, KEY_TOGGLED, and VK_OEM_SCROLL. Referenced by HandleKeyEvent(), and HandleMouseEvent().
|
|
||||||||||||
|
Definition at line 362 of file ntcon/server/input.c. Referenced by PrependInputBuffer(), and SrvGetConsoleNumberOfInputEvents().
|
|
||||||||||||
|
Definition at line 3430 of file ntcon/server/input.c. References ASSERT, CONSOLE_CTRL_BREAK_FLAG, CONSOLE_CTRL_C_FLAG, CONSOLE_CTRL_CLOSE_FLAG, and FALSE. Referenced by ConsoleWindowProc(), HandleKeyEvent(), and SrvGenerateConsoleCtrlEvent().
|
|
||||||||||||
|
Definition at line 3369 of file ntcon/server/input.c. References CONSOLE_CONNECTED_TO_EMULATOR, CONSOLE_VDM_REGISTERED, NtUserSetInformationThread(), TIF_DOSEMULATOR, TIF_VDMAPP, and WriteInputBuffer(). Referenced by ConsoleWindowProc(), and DisplayModeTransition().
|
|
||||||||||||||||||||||||
|
Definition at line 2397 of file ntcon/server/input.c. References ASSERT, BOOL, _SCREEN_INFORMATION::BufferInfo, BYTE, _ROW::CharRow, ClearScroll(), ClearSelection(), CodePageToCharSet(), CONIME_HOTKEY, CONIME_KEYDATA, CONIME_NOTIFY_VK_KANA, CONSOLE_CTRL_BREAK_SEEN, CONSOLE_CTRL_C_SEEN, CONSOLE_IGNORE_NEXT_KEYUP, CONSOLE_IS_IME_ENABLED, CONSOLE_MOUSE_DOWN, CONSOLE_MOUSE_SELECTION, CONSOLE_SCROLLBAR_TRACKING, CONSOLE_SCROLLING, CONSOLE_SELECTING, CONSOLE_SELECTION_NOT_EMPTY, CONSOLE_SUSPENDED, CONSOLE_TEXTMODE_BUFFER, CONSOLE_VDM_REGISTERED, CONSOLE_WINDOW_SIZE_Y, ConsoleHideCursor(), ConsoleShowCursor(), CTRL_BUT_NOT_ALT, DialogBoxCount, DoCopy(), DWORD, ExtendSelection(), FALSE, FlushInputBuffer(), GetControlKeyState(), GetKeyboardState, GetKeyState(), HandleCtrlEvent(), HorizontalScroll(), hWnd, ImmConversionToConsole(), IsSystemKey(), KEY_PRESSED, KEY_TRANSITION_UP, MakeCursorVisible(), MAX_CHARS_FROM_1_KEYSTROKE, MyInvert(), NT_SUCCESS, NtUserCheckImeHotKey(), NtUserGetImeHotKey(), NULL, PostMessage(), RetrieveKeyInfo(), _SCREEN_INFORMATION::ScreenBufferSize, SHORT, StoreSelection(), TerminateRead(), ToUnicodeEx(), TRUE, UINT, VerticalScroll(), and WriteInputBuffer(). Referenced by ConsoleWindowProc(), and HandleSysKeyEvent().
|
|
||||||||||||
|
Definition at line 3407 of file ntcon/server/input.c. References WriteInputBuffer(). Referenced by ConsoleWindowProc().
|
|
||||||||||||||||||||||||
|
Definition at line 3080 of file ntcon/server/input.c. References ASSERT, _ROW::CharRow, _CHAR_ROW::Chars, CONSOLE_HAS_FOCUS, CONSOLE_IGNORE_NEXT_MOUSE_INPUT, CONSOLE_MOUSE_DOWN, CONSOLE_MOUSE_SELECTION, CONSOLE_QUICK_EDIT_MODE, CONSOLE_SELECTING, CONSOLE_SELECTION_NOT_EMPTY, CONSOLE_TEXTMODE_BUFFER, ConvertMouseButtonState(), ConvertToMouseSelect(), DoCopy(), DoPaste(), ExtendSelection(), FALSE, GetControlKeyState(), GetKeyState(), gfTrimLeadingZeros, IS_WORD_DELIM, KEY_PRESSED, L, msgSelectMode, MyInvert(), ReleaseCapture(), SCR_FONTSIZE(), SetCapture, SetWinText(), SHORT, TRUE, UINT, UpdateMousePosition(), and WriteInputBuffer(). Referenced by ConsoleWindowProc().
|
|
||||||||||||||||||||||||
|
Definition at line 2272 of file ntcon/server/input.c. References BOOL, ChangeDispSettings(), CONIME_KEYDATA, ConvertToFullScreen(), ConvertToWindowed(), FALSE, FullScreenInitialized, GetKeyState(), ghInstance, HandleKeyEvent(), hWnd, KEY_PRESSED, KEY_UP_TRANSITION, L, LOBYTE, MapVirtualKey(), msgNoFullScreen, ShowWindow, and TRUE. Referenced by ConsoleWindowProc().
|
|
|
Definition at line 1829 of file ntcon/server/input.c. References gInputThreadMsg, and gInputThreadMsgLock. Referenced by ConServerDllInitialization().
|
|
|
Definition at line 590 of file srvinit.c. References ASSERT, BOOL, _CONSOLE_REGISTRY_INFO::ColorTable, CONSOLE_WINDOW_CLASS, ConsoleWindowProc(), DefaultRegInfo, GetSystemMetrics(), ghDefaultIcon, ghDefaultSmIcon, ghInstance, ghModuleWin, ghNormalCursor, IDI_CONSOLE, LOBYTE, NtUserConsoleControl(), NULL, RegisterClassEx, and _CONSOLE_REGISTRY_INFO::ScreenFill. Referenced by ConsoleInputThread().
|
|
|
Definition at line 1795 of file ntcon/server/input.c. References DbgPrint, EXCEPTION_EXECUTE_HANDLER, NT_SUCCESS, NtQuerySystemInformation(), NTSTATUS(), NULL, and Status.
|
|
|
Definition at line 1320 of file ntcon/server/input.c. Referenced by HandleKeyEvent(), and PreprocessInput().
|
|
||||||||||||
|
Definition at line 3451 of file ntcon/server/input.c. References _CONSOLE_PROCESS_TERMINATION_RECORD::bDebugee, BHE_FORCE, BoostHardError(), CMSHUNGAPPTIMEOUT, DbgPrint, FALSE, NT_SUCCESS, NTSTATUS(), NtTerminateProcess(), NtWaitForSingleObject(), and _CONSOLE_PROCESS_TERMINATION_RECORD::ProcessHandle. Referenced by CreateCtrlThread().
|
|
||||||||||||||||||||
|
Definition at line 1410 of file ntcon/server/input.c. References BOOL, BUFFER_TAG, ConsoleHeapAlloc, ConsoleHeapFree, DWORD, FALSE, GetNumberOfReadyEvents(), MAKE_TAG, NT_SUCCESS, NtSetEvent(), NTSTATUS(), NULL, PreprocessInput(), ReadBuffer(), Status, TRUE, WakeUpReadersWaitingForData(), and WriteBuffer(). Referenced by SrvWriteConsoleInput().
|
|
||||||||||||||||
|
Definition at line 1340 of file ntcon/server/input.c. References CONSOLE_OUTPUT_SUSPENDED, CONSOLE_SUSPENDED, IsPauseKey(), IsSystemKey(), and UnblockWriteConsole(). Referenced by PrependInputBuffer(), and WriteInputBuffer().
|
|
|
Definition at line 1657 of file ntcon/server/input.c. References ASSERT, CONSOLE_DEFAULT_BUFFER_SIZE, CreateWindowsWindow(), DBGPRINT, DialogBoxCount, FALSE, _CONSOLE_INFORMATION::Flags, ghInstance, hWnd, _CONSOLE_INFORMATION::hWnd, _CONSOLE_INFORMATION::InputThreadInfo, InputThreadTlsIndex, min, msgBufferTooBig, NELEM, NT_SUCCESS, NTSTATUS(), RevalidateConsole(), Status, _CONSOLE_INFORMATION::Title, _CONSOLE_INFORMATION::TitleLength, UnlockConsole(), and _INPUT_THREAD_INFO::WindowCount. Referenced by ConsoleInputThread(), and DialogHookProc().
|
|
|
Definition at line 3865 of file ntcon/server/input.c. References ASSERT, BOOL, CONSOLE_CTRL_BREAK_FLAG, CONSOLE_CTRL_C_FLAG, CONSOLE_CTRL_CLOSE_FLAG, CONSOLE_CTRL_LOGOFF_FLAG, CONSOLE_CTRL_SHUTDOWN_FLAG, CONSOLE_FORCE_SHUTDOWN_FLAG, CONSOLE_IN_DESTRUCTION, CONSOLE_PROCESS_TERMINATION_RECORD, CONSOLE_SHUTDOWN_FAILED, CONSOLE_TERMINATING, ConsoleHeapAlloc, ConsoleHeapFree, CreateCtrlThread(), CtrlRoutine, _CONSOLE_PROCESS_TERMINATION_RECORD::CtrlRoutine, _CONSOLE_PROCESS_HANDLE::CtrlRoutine, DestroyConsole(), DWORD, FALSE, L, MAKE_TAG, NELEM, NT_SUCCESS, NtClose(), NTSTATUS(), NULL, _CONSOLE_PROCESS_HANDLE::Process, _CONSOLE_PROCESS_HANDLE::ProcessHandle, Status, _CONSOLE_PROCESS_TERMINATION_RECORD::TerminateCount, _CONSOLE_PROCESS_HANDLE::TerminateCount, TITLE_TAG, TMP_TAG, and TRUE. Referenced by UnlockConsole().
|
|
||||||||||||||||||||
|
Definition at line 1860 of file ntcon/server/input.c. References CM_CONSOLE_INPUT_THREAD_MSG, ConsoleHeapAlloc, ConsoleHeapFree, gInputThreadMsg, gInputThreadMsgLock, MAKE_TAG, NULL, PCONSOLE_THREAD_MSG, PostThreadMessage(), and TMP_TAG.
|
|
||||||||||||||||||||||||||||||||
|
Definition at line 616 of file ntcon/server/input.c. References ASSERT, Buffer, _CONSOLE_INFORMATION::CP, FALSE, _CONSOLE_INFORMATION::hDC, PBYTE, TRUE, and Unicode. Referenced by FlushAllButKeys(), PrependInputBuffer(), ReadInputBuffer(), and SetInputBufferSize().
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Definition at line 959 of file ntcon/server/input.c. References ASSERT, BOOL, CONSOLE_STATUS_WAIT, FALSE, LockConsole, LockReadCount, NT_SUCCESS, NtClearEvent(), NTSTATUS(), ReadBuffer(), Status, Unicode, UnlockReadCount, and WaitForMoreToRead(). Referenced by DirectReadWaitRoutine(), GetChar(), and SrvGetConsoleInput().
|
|
|
Definition at line 184 of file ntcon/server/input.c. References NtClearEvent(). Referenced by CloseInputHandle().
|
|
||||||||||||||||||||
|
Definition at line 1609 of file ntcon/server/input.c. References CONSOLE_FREE_KEY_INFO, CONSOLE_MAX_KEY_INFO, ConsoleKeyInfo, hWnd, _CONSOLE_KEY_INFO::hWnd, MapVirtualKey(), _CONSOLE_KEY_INFO::wVirtualKeyCode, and _CONSOLE_KEY_INFO::wVirtualScanCode. Referenced by HandleKeyEvent().
|
|
||||||||||||
|
Definition at line 516 of file ntcon/server/input.c. References ASSERT, BOOL, BUFFER_TAG, BufferSize, ConsoleHeapAlloc, ConsoleHeapFree, FALSE, MAKE_TAG, NT_SUCCESS, NTSTATUS(), NULL, ReadBuffer(), Size, Status, and TRUE. Referenced by WriteBuffer().
|
|
|
Definition at line 1587 of file ntcon/server/input.c. References BYTE, CONSOLE_FREE_KEY_INFO, CONSOLE_MAX_KEY_INFO, ConsoleKeyInfo, _CONSOLE_KEY_INFO::hWnd, msg, _CONSOLE_KEY_INFO::wVirtualKeyCode, and _CONSOLE_KEY_INFO::wVirtualScanCode. Referenced by ConsoleInputThread(), and DialogHookProc().
|
|
||||||||||||||||
|
Definition at line 2235 of file ntcon/server/input.c. References ASSERT, NULL, and TRUE. Referenced by HandleKeyEvent().
|
|
|
||||||||||||||||||||
|
Definition at line 1906 of file ntcon/server/input.c. References ASSERT, BOOL, CONSOLE_THREAD_MSG, ConsoleHeapFree, _CONSOLE_THREAD_MSG::dwThreadId, FALSE, gInputThreadMsg, gInputThreadMsgLock, and TRUE. Referenced by CleanupInputThreadMessages(), ConsoleInputThread(), and DialogHookProc().
|
|
|
|
|
||||||||||||||||||||||||||||
|
Definition at line 248 of file ntcon/server/input.c. References CONSOLE_STATUS_WAIT, ConsoleHeapAlloc, ConsoleHeapFree, MAKE_TAG, NULL, and WAIT_TAG. Referenced by CookedRead(), and ReadInputBuffer().
|
|
||||||||||||
|
Definition at line 322 of file ntcon/server/input.c. References ASSERT, FALSE, NULL, and _INPUT_INFORMATION::ReadWaitQueue. Referenced by PrependInputBuffer(), and WriteInputBuffer().
|
|
||||||||||||||||||||||||
|
Definition at line 1095 of file ntcon/server/input.c. References ASSERT, Buffer, _CONSOLE_INFORMATION::CP, FALSE, _CONSOLE_INFORMATION::hDC, INPUT_BUFFER_SIZE_INCREMENT, NT_SUCCESS, NTSTATUS(), PBYTE, SetInputBufferSize(), Status, and TRUE. Referenced by PrependInputBuffer(), and WriteInputBuffer().
|
|
||||||||||||||||||||
|
Definition at line 1522 of file ntcon/server/input.c. References BOOL, NtSetEvent(), NULL, PreprocessInput(), WakeUpReadersWaitingForData(), and WriteBuffer(). Referenced by DoStringPaste(), HandleFocusEvent(), HandleKeyEvent(), HandleMenuEvent(), HandleMouseEvent(), ScreenBufferSizeChange(), and SrvWriteConsoleInput().
|
|
|
Definition at line 80 of file ntcon/server/input.c. Referenced by ClearKeyInfo(), ConsoleInputThread(), RetrieveKeyInfo(), and StoreKeyInfo(). |
|
|
Definition at line 56 of file ntcon/server/input.c. |
|
|
Definition at line 54 of file ntcon/server/input.c. Referenced by CreateCtrlThread(), HandleKeyEvent(), and ProcessCreateConsoleWindow(). |
|
|
Definition at line 1825 of file ntcon/server/input.c. Referenced by InitializeThreadMessages(), QueueThreadMessage(), and UnqueueThreadMessage(). |
|
|
Definition at line 1826 of file ntcon/server/input.c. Referenced by ConServerDllInitialization(), InitializeThreadMessages(), QueueThreadMessage(), and UnqueueThreadMessage(). |
|
|
Definition at line 58 of file ntcon/server/input.c. Referenced by ConServerDllInitialization(), ConsoleInputThread(), DialogHookProc(), and ProcessCreateConsoleWindow(). |
|
|
Definition at line 52 of file ntcon/server/input.c. Referenced by ConsoleInputThread(), ConsoleWindowProc(), and CreateWindowsWindow(). |
1.3.7