#include "precomp.h"
Go to the source code of this file.
Defines | |
#define | IS_CONTROL_CHAR(wch) ((wch) < L' ') |
#define | IS_GLYPH_CHAR(wch) (((wch) < L' ') || ((wch) == 0x007F)) |
#define | LINE_INPUT_BUFFER_SIZE (256 * sizeof(WCHAR)) |
#define | CONSOLE_CTRL_2 0x0 |
#define | EITHER_CTRL_PRESSED (LEFT_CTRL_PRESSED | RIGHT_CTRL_PRESSED) |
#define | EITHER_ALT_PRESSED (LEFT_ALT_PRESSED | RIGHT_ALT_PRESSED) |
#define | MOD_PRESSED (SHIFT_PRESSED | EITHER_CTRL_PRESSED | EITHER_ALT_PRESSED) |
#define | KEYEVENTSTATE_EQUAL_WINMODS(Event, WinMods) |
#define | WRITE_NO_CR_LF 0 |
#define | WRITE_CR 1 |
#define | WRITE_CR_LF 2 |
#define | WRITE_SPECIAL_CHARS 4 |
#define | WRITE_UNICODE_CRLF 0x000a000d |
Functions | |
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) |
BOOLEAN | WriteConsoleWaitRoutine (IN PLIST_ENTRY WaitQueue, IN PCSR_THREAD WaitingThread, IN PCSR_API_MSG WaitReplyMessage, IN PVOID WaitParameter, IN PVOID SatisfyParameter1, IN PVOID SatisfyParameter2, IN ULONG WaitFlags) |
HANDLE | FindActiveScreenBufferHandle (IN PCONSOLE_PER_PROCESS_DATA ProcessData, IN PCONSOLE_INFORMATION Console) |
ULONG | SrvOpenConsole (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
BOOL | IsDbcsExemptionForHighAnsi (UINT wCodePage, WORD wNumpadChar) |
NTSTATUS | GetChar (IN PINPUT_INFORMATION InputInfo, OUT PWCHAR Char, IN BOOLEAN Wait, IN PCONSOLE_INFORMATION Console, IN PHANDLE_DATA HandleData, IN PCSR_API_MSG Message OPTIONAL, IN CSR_WAIT_ROUTINE WaitRoutine OPTIONAL, IN PVOID WaitParameter OPTIONAL, IN ULONG WaitParameterLength OPTIONAL, IN BOOLEAN WaitBlockExists OPTIONAL, OUT PBOOLEAN CommandLineEditingKeys OPTIONAL, OUT PBOOLEAN CommandLinePopupKeys OPTIONAL, OUT PBOOLEAN EnableScrollMode OPTIONAL, OUT PDWORD KeyState OPTIONAL) |
BOOLEAN | RawReadWaitRoutine (IN PLIST_ENTRY WaitQueue, IN PCSR_THREAD WaitingThread, IN PCSR_API_MSG WaitReplyMessage, IN PVOID WaitParameter, IN PVOID SatisfyParameter1, IN PVOID SatisfyParameter2, IN ULONG WaitFlags) |
ULONG | RetrieveTotalNumberOfSpaces (IN SHORT OriginalCursorPositionX, IN PWCHAR Buffer, IN ULONG CurrentPosition) |
ULONG | RetrieveNumberOfSpaces (IN SHORT OriginalCursorPositionX, IN PWCHAR Buffer, IN ULONG CurrentPosition) |
BOOL | ProcessCookedReadInput (IN PCOOKED_READ_DATA CookedReadData, IN WCHAR Char, IN DWORD KeyState, OUT PNTSTATUS Status) |
NTSTATUS | CookedRead (IN PCOOKED_READ_DATA CookedReadData, IN PCSR_API_MSG WaitReplyMessage, IN PCSR_THREAD WaitingThread, IN BOOLEAN WaitRoutine) |
BOOLEAN | CookedReadWaitRoutine (IN PLIST_ENTRY WaitQueue, IN PCSR_THREAD WaitingThread, IN PCSR_API_MSG WaitReplyMessage, IN PVOID WaitParameter, IN PVOID SatisfyParameter1, IN PVOID SatisfyParameter2, IN ULONG WaitFlags) |
NTSTATUS | ReadChars (IN PINPUT_INFORMATION InputInfo, IN PCONSOLE_INFORMATION Console, IN PCONSOLE_PER_PROCESS_DATA ProcessData, IN PSCREEN_INFORMATION ScreenInfo, IN OUT PWCHAR lpBuffer, IN OUT PDWORD NumBytes, IN DWORD InitialNumBytes, IN DWORD CtrlWakeupMask, IN PHANDLE_DATA HandleData, IN PCOMMAND_HISTORY CommandHistory, IN PCSR_API_MSG Message OPTIONAL, IN HANDLE HandleIndex, IN USHORT ExeNameLength, IN PWCHAR ExeName, IN BOOLEAN Unicode) |
ULONG | SrvReadConsole (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
VOID | MakeCursorVisible (IN PSCREEN_INFORMATION ScreenInfo, IN COORD CursorPosition) |
DWORD | FastStreamWrite (IN PWCHAR lpString, IN DWORD NumChars) |
VOID | UnblockWriteConsole (IN PCONSOLE_INFORMATION Console, IN DWORD Reason) |
ULONG | SrvWriteConsole (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
ULONG | SrvDuplicateHandle (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
ULONG | SrvGetHandleInformation (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
ULONG | SrvSetHandleInformation (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
NTSTATUS | CloseInputHandle (IN PCONSOLE_PER_PROCESS_DATA ProcessData, IN PCONSOLE_INFORMATION Console, IN PHANDLE_DATA HandleData, IN HANDLE Handle) |
NTSTATUS | CloseOutputHandle (IN PCONSOLE_PER_PROCESS_DATA ProcessData, IN PCONSOLE_INFORMATION Console, IN PHANDLE_DATA HandleData, IN HANDLE Handle, IN BOOLEAN FreeHandle) |
ULONG | SrvCloseHandle (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
NTSTATUS | WriteCharsFromInput (IN PSCREEN_INFORMATION ScreenInfo, IN PWCHAR lpBufferBackupLimit, IN PWCHAR lpBuffer, IN PWCHAR lpString, IN OUT PDWORD NumBytes, OUT PLONG NumSpaces OPTIONAL, IN SHORT OriginalXPosition, IN DWORD dwFlags, OUT PSHORT ScrollY OPTIONAL) |
Variables | |
DWORD | ConsKbdState [] |
|
Definition at line 29 of file server/stream.c. |
|
Definition at line 215 of file server/stream.c. |
|
Definition at line 214 of file server/stream.c. |
|
Definition at line 24 of file server/stream.c. Referenced by RetrieveNumberOfSpaces(), RetrieveTotalNumberOfSpaces(), and WWSB_WriteChars(). |
|
Definition at line 25 of file server/stream.c. Referenced by WWSB_WriteChars(). |
|
Value:
Definition at line 229 of file server/stream.c. Referenced by GetChar(). |
|
Definition at line 27 of file server/stream.c. Referenced by ReadChars(). |
|
Definition at line 216 of file server/stream.c. |
|
Definition at line 2382 of file server/stream.c. Referenced by FastStreamWrite(), WWSB_DoSrvWriteConsole(), and WWSB_DoWriteConsole(). |
|
Definition at line 2383 of file server/stream.c. Referenced by FastStreamWrite(), WWSB_DoSrvWriteConsole(), and WWSB_DoWriteConsole(). |
|
Definition at line 2381 of file server/stream.c. Referenced by FastStreamWrite(), WWSB_DoSrvWriteConsole(), and WWSB_DoWriteConsole(). |
|
Definition at line 2384 of file server/stream.c. Referenced by FastStreamWrite(), WWSB_DoSrvWriteConsole(), and WWSB_DoWriteConsole(). |
|
Definition at line 2385 of file server/stream.c. Referenced by FastStreamWrite(). |
|
Definition at line 2844 of file server/stream.c. References ASSERT, ConsoleHeapFree, ConsoleRemoveShare(), FALSE, FreeIoHandle(), Handle, HANDLE_CLOSING, HANDLE_INPUT_PENDING, LockReadCount, NULL, ReinitializeInputBuffer(), TRUE, and UnlockReadCount. Referenced by RemoveConsole(), SrvCloseHandle(), and SrvDuplicateHandle().
|
|
Definition at line 2929 of file server/stream.c. References ASSERT, ConsoleRemoveShare(), FreeIoHandle(), FreeScreenBuffer(), Handle, NTSTATUS(), NULL, RemoveScreenBuffer(), SetActiveScreenBuffer(), and Status. Referenced by CookedRead(), CookedReadWaitRoutine(), ProcessCommandListInput(), ReadChars(), RemoveConsole(), SrvCloseHandle(), and SrvDuplicateHandle().
|
|
Definition at line 1237 of file server/stream.c. References AddCommand(), ASSERT, BOOL, _HANDLE_DATA::Buffer, _INPUT_READ_HANDLE_DATA::BufPtr, _INPUT_READ_HANDLE_DATA::BytesAvailable, CloseOutputHandle(), CONSOLE_FROMTHREADPERPROCESSDATA, CONSOLE_HISTORY_NODUP, CONSOLE_IGNORE_NEXT_KEYUP, CONSOLE_STATUS_READ_COMPLETE, CONSOLE_STATUS_WAIT, CONSOLE_STATUS_WAIT_NO_BLOCK, ConsoleHeapAlloc, ConsoleHeapFree, _CONSOLE_READCONSOLE_MSG::ControlKeyState, ConvertToOem(), CookedReadWaitRoutine(), _INPUT_READ_HANDLE_DATA::CurrentBufPtr, DereferenceIoHandleNoCheck(), DWORD, FALSE, GetChar(), HANDLE_INPUT_PENDING, HANDLE_MULTI_LINE_INPUT, _INPUT_READ_HANDLE_DATA::InputHandleFlags, _HANDLE_DATA::InputReadData, MAKE_TAG, MatchandCopyAlias(), NT_SUCCESS, NTSTATUS(), NULL, _CONSOLE_READCONSOLE_MSG::NumBytes, PBYTE, ProcessCommandLine(), ProcessCookedReadInput(), PUSHORT, Status, StringLength(), TMP_TAG, TranslateUnicodeToOem(), TRUE, _CONSOLE_READCONSOLE_MSG::Unicode, UNICODE_CARRIAGERETURN, UNICODE_LINEFEED, USHORT, and WaitForMoreToRead(). Referenced by CookedReadWaitRoutine(), and ReadChars().
|
|
Definition at line 1541 of file server/stream.c. References ASSERT, _COOKED_READ_DATA::BackupLimit, _CONSOLE_READCONSOLE_MSG::Buffer, BUFFER_SIZE, _COOKED_READ_DATA::BytesRead, _CONSOLE_READCONSOLE_MSG::CaptureBufferSize, CLE_NO_POPUPS, CLE_POPUP, CleanUpPopups(), CloseOutputHandle(), _COOKED_READ_DATA::CommandHistory, _COOKED_READ_DATA::Console, CONSOLE_CTRL_BREAK_SEEN, CONSOLE_CTRL_C_SEEN, CONSOLE_FROMTHREADPERPROCESSDATA, CONSOLE_STATUS_READ_COMPLETE, CONSOLE_STATUS_WAIT, CONSOLE_STATUS_WAIT_NO_BLOCK, ConsoleHeapFree, ConsoleLocked, CookedRead(), DereferenceIoHandleNoCheck(), _COOKED_READ_DATA::Echo, _COOKED_READ_DATA::ExeName, FALSE, HANDLE_CLOSING, HANDLE_INPUT_PENDING, _COOKED_READ_DATA::HandleIndex, _INPUT_READ_HANDLE_DATA::InputHandleFlags, _HANDLE_DATA::InputReadData, LockReadCount, NT_SUCCESS, NTSTATUS(), NULL, PCLE_POPUP, _CLE_POPUP::PopupInputRoutine, _COMMAND_HISTORY::PopupList, _COOKED_READ_DATA::ProcessData, _INPUT_READ_HANDLE_DATA::ReadCount, Status, _COOKED_READ_DATA::TempHandle, TRUE, UnlockReadCount, and _COOKED_READ_DATA::UserBuffer. Referenced by CookedRead(), ProcessCommandListInput(), ProcessCommandNumberInput(), ProcessCopyFromCharInput(), and ProcessCopyToCharInput().
|
|
Definition at line 2388 of file server/stream.c. References DWORD, UNICODE_SPACE, WRITE_CR, WRITE_CR_LF, WRITE_NO_CR_LF, WRITE_SPECIAL_CHARS, and WRITE_UNICODE_CRLF. Referenced by WWSB_DoWriteConsole().
|
|
Definition at line 53 of file server/stream.c. References ASSERT, _HANDLE_DATA::Buffer, CONSOLE_GRAPHICS_OUTPUT_HANDLE, CONSOLE_OUTPUT_HANDLE, DereferenceIoHandleNoCheck(), _HANDLE_DATA::HandleType, INVALID_HANDLE_VALUE, NT_SUCCESS, NTSTATUS(), and Status. Referenced by ReadChars().
|
|
Definition at line 263 of file server/stream.c. References ASSERT, BOOL, CHAR, CharToWchar(), Event(), FALSE, HIBYTE, IsCommandLineEditingKey(), IsCommandLinePopupKey(), IsDbcsExemptionForHighAnsi(), KEYEVENTSTATE_EQUAL_WINMODS, LOBYTE, NT_SUCCESS, NTSTATUS(), ReadInputBuffer(), SHORT, Status, TRUE, UINT, and VkKeyScan(). Referenced by CommonMenuDisplay(), CookedRead(), ProcessCommandListInput(), ProcessCommandNumberInput(), ProcessCopyFromCharInput(), ProcessCopyToCharInput(), RawReadWaitRoutine(), and ReadChars().
|
|
Definition at line 233 of file server/stream.c. References BOOL, CP_JAPANESE, FALSE, HIBYTE, IS_JPN_1BYTE_KATAKANA, and TRUE.
|
|
Definition at line 2348 of file server/stream.c. References FALSE, NT_SUCCESS, NTSTATUS(), SetWindowOrigin(), and Status. Referenced by ExtendSelection(), HandleKeyEvent(), and WWSB_AdjustCursorPosition().
|
|
Definition at line 876 of file server/stream.c. References AdjustCursorPosition, ASSERT, AT_EOL, BOOL, DeleteCommandLine(), DWORD, FALSE, gExtendedEditKey, INSERT_MODE, IS_WORD_DELIM, L, NT_SUCCESS, NULL, PBYTE, ProcessCommandLine(), RetrieveNumberOfSpaces(), SHORT, Status, TRUE, UNICODE_BACKSPACE, UNICODE_BACKSPACE2, UNICODE_CARRIAGERETURN, UNICODE_LINEFEED, WC_DESTRUCTIVE_BACKSPACE, WC_ECHO, WC_KEEP_CURSOR_VISIBLE, and WriteCharsFromInput(). Referenced by CookedRead(), and ProcessCommandListInput().
|
|
Definition at line 471 of file server/stream.c. References ASSERT, BOOL, _HANDLE_DATA::Buffer, _CONSOLE_READCONSOLE_MSG::Buffer, BUFFER_SIZE, _RAW_READ_DATA::BufferSize, _RAW_READ_DATA::BufPtr, _CONSOLE_READCONSOLE_MSG::CaptureBufferSize, _RAW_READ_DATA::Console, CONSOLE_CTRL_BREAK_SEEN, CONSOLE_CTRL_C_SEEN, CONSOLE_STATUS_WAIT, ConsoleHeapAlloc, ConsoleHeapFree, ConsoleLocked, ConvertToOem(), _CONSOLE_INFORMATION::CP, DereferenceIoHandleNoCheck(), DWORD, FALSE, GetChar(), HANDLE_CLOSING, _RAW_READ_DATA::HandleIndex, _CONSOLE_INFORMATION::hDC, _INPUT_READ_HANDLE_DATA::InputHandleFlags, _RAW_READ_DATA::InputInfo, _HANDLE_DATA::InputReadData, LockReadCount, MAKE_TAG, NT_SUCCESS, NTSTATUS(), NULL, _CONSOLE_READCONSOLE_MSG::NumBytes, PRAW_READ_DATA, _RAW_READ_DATA::ProcessData, RawReadWaitRoutine(), _INPUT_READ_HANDLE_DATA::ReadCount, Status, TMP_TAG, TranslateUnicodeToOem(), TRUE, _CONSOLE_READCONSOLE_MSG::Unicode, and UnlockReadCount. Referenced by RawReadWaitRoutine(), and ReadChars().
|
|
Definition at line 1778 of file server/stream.c. References _COOKED_READ_DATA::BackupLimit, BOOL, _HANDLE_DATA::Buffer, _RAW_READ_DATA::BufferSize, _COOKED_READ_DATA::BufferSize, BufferSize, _RAW_READ_DATA::BufPtr, _COOKED_READ_DATA::BufPtr, _COOKED_READ_DATA::BytesRead, CloseOutputHandle(), _COOKED_READ_DATA::CommandHistory, _RAW_READ_DATA::Console, _COOKED_READ_DATA::Console, CONSOLE_OUTPUT_HANDLE, CONSOLE_STATUS_WAIT, ConsoleAddShare(), ConsoleHeapAlloc, ConsoleHeapFree, ConvertToOem(), COOKED_READ_DATA, CookedRead(), _COOKED_READ_DATA::CtrlWakeupMask, _COOKED_READ_DATA::CurrentPosition, DWORD, _COOKED_READ_DATA::Echo, Echo(), _COOKED_READ_DATA::ExeName, _COOKED_READ_DATA::ExeNameLength, ExeNameLength, FALSE, FindActiveScreenBufferHandle(), GetChar(), HANDLE_INPUT_PENDING, HANDLE_MULTI_LINE_INPUT, _RAW_READ_DATA::HandleIndex, _COOKED_READ_DATA::HandleIndex, _HANDLE_DATA::HandleType, HISTORY_TAG, _RAW_READ_DATA::InputInfo, _COOKED_READ_DATA::InputInfo, _COOKED_READ_DATA::InsertMode, INVALID_HANDLE_VALUE, _COOKED_READ_DATA::Line, LINE_INPUT_BUFFER_SIZE, MAKE_TAG, NT_SUCCESS, NTSTATUS(), NULL, _COOKED_READ_DATA::NumberOfVisibleChars, _COOKED_READ_DATA::OriginalCursorPosition, PBYTE, _RAW_READ_DATA::ProcessData, _COOKED_READ_DATA::ProcessData, _COOKED_READ_DATA::Processed, RAW_READ_DATA, RawReadWaitRoutine(), _COOKED_READ_DATA::ScreenInfo, SHORT, Status, _COOKED_READ_DATA::TempHandle, TMP_TAG, TranslateUnicodeToOem(), TRUE, Unicode, UNICODE_LINEFEED, _COOKED_READ_DATA::UserBuffer, and _COOKED_READ_DATA::UserBufferSize. Referenced by SrvReadConsole().
|
|
Definition at line 818 of file server/stream.c. References Buffer, IS_CONTROL_CHAR, NUMBER_OF_SPACES_IN_TAB, SHORT, and UNICODE_TAB. Referenced by ProcessCommandLine(), ProcessCookedReadInput(), and WWSB_WriteChars().
|
|
Definition at line 774 of file server/stream.c. References Buffer, IS_CONTROL_CHAR, NUMBER_OF_SPACES_IN_TAB, SHORT, and UNICODE_TAB. Referenced by ProcessCommandLine(), and RedrawCommandLine().
|
|
Definition at line 2997 of file server/stream.c. References ApiPreamble(), CloseInputHandle(), CloseOutputHandle(), CONSOLE_INPUT_HANDLE, CONSOLE_PERPROCESSDATA, _CONSOLE_CLOSEHANDLE_MSG::ConsoleHandle, DereferenceIoHandleNoCheck(), _CONSOLE_CLOSEHANDLE_MSG::Handle, HANDLE_TO_INDEX, _HANDLE_DATA::HandleType, NT_SUCCESS, NTSTATUS(), Status, TRUE, and UnlockConsole().
|
|
Definition at line 2603 of file server/stream.c. References _HANDLE_DATA::Access, AllocateIoHandle(), ApiPreamble(), ASSERT, _HANDLE_DATA::Buffer, CloseInputHandle(), CloseOutputHandle(), CONSOLE_INHERITABLE, CONSOLE_INPUT_HANDLE, CONSOLE_PERPROCESSDATA, ConsoleDupShare(), _CONSOLE_DUPHANDLE_MSG::ConsoleHandle, DereferenceIoHandleNoCheck(), _CONSOLE_DUPHANDLE_MSG::DesiredAccess, exit, FreeIoHandle(), HANDLE_TO_INDEX, _HANDLE_DATA::HandleType, INDEX_TO_HANDLE, _CONSOLE_DUPHANDLE_MSG::InheritHandle, InitializeInputHandle(), InitializeOutputHandle(), NT_SUCCESS, NTSTATUS(), _CONSOLE_DUPHANDLE_MSG::Options, _HANDLE_DATA::ShareAccess, _CONSOLE_DUPHANDLE_MSG::SourceHandle, Status, _CONSOLE_DUPHANDLE_MSG::TargetHandle, TRUE, and UnlockConsole().
|
|
Definition at line 2747 of file server/stream.c. References ApiPreamble(), CONSOLE_INHERITABLE, CONSOLE_PERPROCESSDATA, _CONSOLE_GETHANDLEINFORMATION_MSG::ConsoleHandle, DereferenceIoHandleNoCheck(), _CONSOLE_GETHANDLEINFORMATION_MSG::Flags, _CONSOLE_GETHANDLEINFORMATION_MSG::Handle, HANDLE_TO_INDEX, _HANDLE_DATA::HandleType, NT_SUCCESS, NTSTATUS(), Status, and UnlockConsole().
|
|
Definition at line 80 of file server/stream.c. References AllocateIoHandle(), ApiPreamble(), ASSERT, _HANDLE_DATA::Buffer, CONSOLE_INHERITABLE, CONSOLE_INPUT_HANDLE, CONSOLE_OUTPUT_HANDLE, CONSOLE_PERPROCESSDATA, ConsoleAddShare(), _CONSOLE_OPENCONSOLE_MSG::ConsoleHandle, _CONSOLE_INFORMATION::CurrentScreenBuffer, DereferenceIoHandleNoCheck(), _CONSOLE_OPENCONSOLE_MSG::DesiredAccess, FreeIoHandle(), _CONSOLE_OPENCONSOLE_MSG::Handle, Handle, _HANDLE_DATA::HandleType, _CONSOLE_OPENCONSOLE_MSG::HandleType, INDEX_TO_HANDLE, _CONSOLE_OPENCONSOLE_MSG::InheritHandle, InitializeInputHandle(), InitializeOutputHandle(), _CONSOLE_INFORMATION::InputBuffer, NT_SUCCESS, NTSTATUS(), NULL, _CONSOLE_OPENCONSOLE_MSG::ShareMode, Status, and UnlockConsole().
|
|
Definition at line 2263 of file server/stream.c. References ApiPreamble(), _HANDLE_DATA::Buffer, _CONSOLE_READCONSOLE_MSG::Buffer, Buffer, BUFFER_SIZE, _CONSOLE_READCONSOLE_MSG::BufPtr, BYTE, _CONSOLE_READCONSOLE_MSG::CaptureBufferSize, CONSOLE_CLIENTPROCESSHANDLE, CONSOLE_INPUT_HANDLE, CONSOLE_PERPROCESSDATA, CONSOLE_STATUS_WAIT, _CONSOLE_READCONSOLE_MSG::ConsoleHandle, _CONSOLE_READCONSOLE_MSG::CtrlWakeupMask, _CONSOLE_INFORMATION::CurrentScreenBuffer, DereferenceIoHandle(), _CONSOLE_READCONSOLE_MSG::ExeNameLength, FindCommandHistory(), HANDLE_TO_INDEX, _CONSOLE_READCONSOLE_MSG::InitialNumBytes, _CONSOLE_READCONSOLE_MSG::InputHandle, NT_SUCCESS, NTSTATUS(), _CONSOLE_READCONSOLE_MSG::NumBytes, ReadChars(), Status, _CONSOLE_READCONSOLE_MSG::Unicode, and UnlockConsole().
|
|
Definition at line 2794 of file server/stream.c. References ApiPreamble(), CONSOLE_INHERITABLE, CONSOLE_PERPROCESSDATA, _CONSOLE_SETHANDLEINFORMATION_MSG::ConsoleHandle, DereferenceIoHandleNoCheck(), _CONSOLE_SETHANDLEINFORMATION_MSG::Flags, _CONSOLE_SETHANDLEINFORMATION_MSG::Handle, HANDLE_TO_INDEX, _HANDLE_DATA::HandleType, _CONSOLE_SETHANDLEINFORMATION_MSG::Mask, NT_SUCCESS, NTSTATUS(), Status, and UnlockConsole().
|
|
Definition at line 2463 of file server/stream.c. References ApiPreamble(), _CONSOLE_WRITECONSOLE_MSG::Buffer, _CONSOLE_WRITECONSOLE_MSG::BufferInMessage, _CONSOLE_WRITECONSOLE_MSG::BufPtr, BYTE, CONSOLE_OUTPUT_HANDLE, CONSOLE_PERPROCESSDATA, _CONSOLE_WRITECONSOLE_MSG::ConsoleHandle, DereferenceIoHandle(), DoSrvWriteConsole, NT_SUCCESS, NTSTATUS(), _CONSOLE_WRITECONSOLE_MSG::NumBytes, _CONSOLE_WRITECONSOLE_MSG::OutputHandle, Status, and UnlockConsole().
|
|
Definition at line 2442 of file server/stream.c. References ASSERT, CONSOLE_SCROLLBAR_TRACKING, CONSOLE_SELECTING, CONSOLE_SUSPENDED, NULL, TRUE, and VOID(). Referenced by ClearSelection(), PreprocessInput(), and VerticalScroll().
|
|
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 3047 of file server/stream.c. References CONSOLE_GRAPHICS_BUFFER, CONSOLE_OEMFONT_DISPLAY, dwFlags, DWORD, WC_FALSIFY_UNICODE, and WriteChars. Referenced by ProcessCommandLine(), ProcessCommandNumberInput(), ProcessCookedReadInput(), ProcessCopyFromCharInput(), ProcessCopyToCharInput(), RedrawCommandLine(), and SetCurrentCommandLine().
|
|
Definition at line 2529 of file server/stream.c. References ASSERT, _CONSOLE_WRITECONSOLE_MSG::Buffer, _CONSOLE_WRITECONSOLE_MSG::BufferInMessage, CONSOLE_STATUS_WAIT, _CONSOLE_WRITECONSOLE_MSG::ConsoleHandle, ConsoleHeapFree, ConsoleLocked, DereferenceConsoleHandle(), DoWriteConsole, FALSE, LockConsoleHandleTable, NT_SUCCESS, NTSTATUS(), _CONSOLE_WRITECONSOLE_MSG::NumBytes, Status, _CONSOLE_WRITECONSOLE_MSG::TransBuffer, TRUE, _CONSOLE_WRITECONSOLE_MSG::Unicode, and UnlockConsoleHandleTable. Referenced by WWSB_DoWriteConsole().
|
|
Initial value:
Definition at line 218 of file server/stream.c. |