Go to the source code of this file.
Classes | |
struct | tagFACENODE |
Defines | |
#define | DBGFONTS(_params_) |
#define | DBGFONTS2(_params_) |
#define | DBGCHARS(_params_) |
#define | DBGOUTPUT(_params_) |
#define | DBGFULLSCR(_params_) |
#define | DBGPRINT(_params_) |
#define | CONSOLE_MAX_FONT_NAME_LENGTH 256 |
#define | DATA_CHUNK_SIZE 8192 |
#define | MAKE_TAG(t) (RTL_HEAP_MAKE_TAG( dwConBaseTag, t )) |
#define | TMP_TAG 0 |
#define | BMP_TAG 1 |
#define | ALIAS_TAG 2 |
#define | HISTORY_TAG 3 |
#define | TITLE_TAG 4 |
#define | HANDLE_TAG 5 |
#define | CONSOLE_TAG 6 |
#define | ICON_TAG 7 |
#define | BUFFER_TAG 8 |
#define | WAIT_TAG 9 |
#define | FONT_TAG 10 |
#define | SCREEN_TAG 11 |
#define | GetWindowConsole(hWnd) (PCONSOLE_INFORMATION)GetWindowLongPtr((hWnd), GWLP_USERDATA) |
#define | SetConsoleBkColor(hw, clr) SetWindowLong(hw, GWL_CONSOLE_BKCOLOR, clr) |
#define | SetConsolePid(hw, pid) SetWindowLong(hw, GWL_CONSOLE_PID, pid) |
#define | SetConsoleTid(hw, tid) SetWindowLong(hw, GWL_CONSOLE_TID, tid) |
#define | NELEM(array) (sizeof(array)/sizeof(array[0])) |
#define | CON_FAMILY(pCon) SCR_FAMILY((pCon)->CurrentScreenBuffer) |
#define | CON_FONTNUMBER(pCon) SCR_FONTNUMBER((pCon)->CurrentScreenBuffer) |
#define | CON_FACENAME(pCon) SCR_FACENAME((pCon)->CurrentScreenBuffer) |
#define | CON_FONTSIZE(pCon) SCR_FONTSIZE((pCon)->CurrentScreenBuffer) |
#define | CON_FONTWEIGHT(pCon) SCR_FONTWEIGHT((pCon)->CurrentScreenBuffer) |
#define | CON_FONTCODEPAGE(pCon) SCR_FONTCODEPAGE((pCon)->CurrentScreenBuffer) |
#define | CONSOLE_IS_DBCS_ENABLED() (FALSE) |
#define | CONSOLE_IS_IME_ENABLED() (FALSE) |
#define | LoadStringEx LoadStringExA |
#define | ValidateConsoleHeap() |
#define | ConsoleHeapAlloc(Flags, Size) Win32HeapAlloc(pConHeap, Size, Flags, Flags) |
#define | ConsoleHeapReAlloc(Flags, Address, Size) Win32HeapReAlloc(pConHeap, Address, Size, Flags) |
#define | ConsoleHeapFree(Address) |
#define | ConsoleHeapSize(Address) Win32HeapSize(pConHeap, Address) |
#define | LockConsoleHandleTable() RtlEnterCriticalSection(&ConsoleHandleLock) |
#define | UnlockConsoleHandleTable() RtlLeaveCriticalSection(&ConsoleHandleLock) |
#define | LockConsole(Con) RtlEnterCriticalSection(&(Con)->ConsoleLock) |
#define | ConvertAttrToRGB(Con, Attr) ((Con)->ColorTable[(Attr) & 0x0F]) |
#define | CONSOLE_SHUTDOWN_FAILED 0 |
#define | CONSOLE_SHUTDOWN_SUCCEEDED 1 |
#define | CONSOLE_SHUTDOWN_SYSTEM 2 |
#define | LINK_NOINFO 0 |
#define | LINK_SIMPLEINFO 1 |
#define | LINK_FULLINFO 2 |
#define | EF_NEW 0x0001 |
#define | EF_OLD 0x0002 |
#define | EF_ENUMERATED 0x0004 |
#define | EF_OEMFONT 0x0008 |
#define | EF_TTFONT 0x0010 |
#define | EF_DEFFACE 0x0020 |
#define | SCREEN_BUFFER_POINTER(X, Y, XSIZE, CELLSIZE) (((XSIZE * (Y)) + (X)) * (ULONG)CELLSIZE) |
#define | W32PF_ALLOWSETFOREGROUND 0x00080000 |
#define | W32PF_CONSOLEHASFOCUS 0x04000000 |
Typedefs | |
typedef tagFACENODE | FACENODE |
typedef tagFACENODE * | PFACENODE |
Functions | |
__inline BYTE | SCR_FAMILY (PSCREEN_INFORMATION pScreen) |
__inline DWORD | SCR_FONTNUMBER (PSCREEN_INFORMATION pScreen) |
__inline LPWSTR | SCR_FACENAME (PSCREEN_INFORMATION pScreen) |
__inline COORD | SCR_FONTSIZE (PSCREEN_INFORMATION pScreen) |
__inline LONG | SCR_FONTWEIGHT (PSCREEN_INFORMATION pScreen) |
__inline UINT | SCR_FONTCODEPAGE (PSCREEN_INFORMATION pScreen) |
NTSTATUS | ConsoleAddProcessRoutine (IN PCSR_PROCESS ParentProcess, IN PCSR_PROCESS Process) |
NTSTATUS | DereferenceConsoleHandle (IN HANDLE ConsoleHandle, OUT PCONSOLE_INFORMATION *Console) |
NTSTATUS | AllocateConsoleHandle (OUT PHANDLE Handle) |
NTSTATUS | FreeConsoleHandle (IN HANDLE Handle) |
NTSTATUS | ValidateConsole (IN PCONSOLE_INFORMATION Console) |
NTSTATUS | ApiPreamble (IN HANDLE ConsoleHandle, OUT PCONSOLE_INFORMATION *Console) |
NTSTATUS | RevalidateConsole (IN HANDLE ConsoleHandle, OUT PCONSOLE_INFORMATION *Console) |
NTSTATUS | InitializeConsoleHandleTable (VOID) |
BOOLEAN | UnProtectHandle (HANDLE hObject) |
NTSTATUS | AllocateConsole (IN HANDLE ConsoleHandle, IN LPWSTR Title, IN USHORT TitleLength, IN HANDLE ClientProcessHandle, OUT PHANDLE StdIn, OUT PHANDLE StdOut, OUT PHANDLE StdErr, OUT PCONSOLE_PER_PROCESS_DATA ProcessData, IN OUT PCONSOLE_INFO ConsoleInfo, IN BOOLEAN WindowVisible, IN DWORD ConsoleThreadId) |
VOID | DestroyConsole (IN PCONSOLE_INFORMATION Console) |
VOID | FreeCon (IN PCONSOLE_INFORMATION Console) |
VOID | InsertScreenBuffer (IN PCONSOLE_INFORMATION Console, IN PSCREEN_INFORMATION ScreenInfo) |
VOID | RemoveScreenBuffer (IN PCONSOLE_INFORMATION Console, IN PSCREEN_INFORMATION ScreenInfo) |
VOID | FreeProcessData (IN PCONSOLE_PER_PROCESS_DATA ProcessData) |
NTSTATUS | AllocateIoHandle (IN PCONSOLE_PER_PROCESS_DATA ProcessData, IN ULONG HandleType, OUT PHANDLE Handle) |
NTSTATUS | GrowIoHandleTable (IN PCONSOLE_PER_PROCESS_DATA ProcessData) |
NTSTATUS | FreeIoHandle (IN PCONSOLE_PER_PROCESS_DATA ProcessData, IN HANDLE Handle) |
NTSTATUS | DereferenceIoHandleNoCheck (IN PCONSOLE_PER_PROCESS_DATA ProcessData, IN HANDLE Handle, OUT PHANDLE_DATA *HandleData) |
NTSTATUS | DereferenceIoHandle (IN PCONSOLE_PER_PROCESS_DATA ProcessData, IN HANDLE Handle, IN ULONG HandleType, IN ACCESS_MASK Access, OUT PHANDLE_DATA *HandleData) |
BOOLEAN | InitializeInputHandle (PHANDLE_DATA HandleData, PINPUT_INFORMATION InputBuffer) |
VOID | InitializeOutputHandle (PHANDLE_DATA HandleData, PSCREEN_INFORMATION ScreenBuffer) |
ULONG | SrvVerifyConsoleIoHandle (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
NTSTATUS | ConsoleAddShare (IN ACCESS_MASK DesiredAccess, IN ULONG DesiredShareAccess, IN OUT PCONSOLE_SHARE_ACCESS ShareAccess, IN OUT PHANDLE_DATA HandleData) |
NTSTATUS | ConsoleDupShare (IN ACCESS_MASK DesiredAccess, IN ULONG DesiredShareAccess, IN OUT PCONSOLE_SHARE_ACCESS ShareAccess, IN OUT PHANDLE_DATA TargetHandleData) |
NTSTATUS | ConsoleRemoveShare (IN ULONG DesiredAccess, IN ULONG DesiredShareAccess, IN OUT PCONSOLE_SHARE_ACCESS ShareAccess) |
VOID | DoFind (IN PCONSOLE_INFORMATION Console) |
VOID | ScrollScreen (IN PSCREEN_INFORMATION ScreenInfo, IN PSMALL_RECT ScrollRect, IN PSMALL_RECT MergeRect, IN COORD TargetPoint) |
VOID | SetProcessForegroundRights (IN PCSR_PROCESS Process, IN BOOL Foreground) |
VOID | SetProcessFocus (IN PCSR_PROCESS Process, IN BOOL Foreground) |
VOID | ModifyConsoleProcessFocus (IN PCONSOLE_INFORMATION Console, IN BOOL Foreground) |
VOID | InitializeSystemMetrics (VOID) |
VOID | InitializeScreenInfo (VOID) |
NTSTATUS | ReadScreenBuffer (IN PSCREEN_INFORMATION ScreenInformation, OUT PCHAR_INFO Buffer, IN OUT PSMALL_RECT ReadRegion) |
NTSTATUS | WriteScreenBuffer (IN PSCREEN_INFORMATION ScreenInformation, OUT PCHAR_INFO Buffer, IN OUT PSMALL_RECT WriteRegion) |
NTSTATUS | DoCreateScreenBuffer (IN PCONSOLE_INFORMATION Console, IN PCONSOLE_INFO ConsoleInfo) |
NTSTATUS | CreateScreenBuffer (OUT PSCREEN_INFORMATION *ScreenInformation, IN COORD dwWindowSize OPTIONAL, IN DWORD nFont OPTIONAL, IN COORD dwScreenBufferSize OPTIONAL, IN CHAR_INFO Fill, IN CHAR_INFO PopupFill, IN PCONSOLE_INFORMATION Console, IN DWORD Flags, IN PCONSOLE_GRAPHICS_BUFFER_INFO GraphicsBufferInfo OPTIONAL, OUT PVOID *lpBitmap, OUT HANDLE *hMutex, IN UINT CursorSize, IN LPWSTR FaceName) |
VOID | AbortCreateConsole (IN PCONSOLE_INFORMATION Console) |
NTSTATUS | CreateWindowsWindow (IN PCONSOLE_INFORMATION Console) |
VOID | DestroyWindowsWindow (IN PCONSOLE_INFORMATION Console) |
NTSTATUS | FreeScreenBuffer (IN PSCREEN_INFORMATION ScreenInformation) |
NTSTATUS | ReadOutputString (IN PSCREEN_INFORMATION ScreenInfo, OUT PVOID Buffer, IN COORD ReadCoord, IN ULONG StringType, IN OUT PULONG NumRecords) |
NTSTATUS | InitializeScrollBuffer (VOID) |
NTSTATUS | GetScreenBufferInformation (IN PSCREEN_INFORMATION ScreenInfo, OUT PCOORD Size, OUT PCOORD CursorPosition, OUT PCOORD ScrollPosition, OUT PWORD Attributes, OUT PCOORD CurrentWindowSize, OUT PCOORD MaximumWindowSize) |
VOID | GetWindowLimits (IN PSCREEN_INFORMATION ScreenInfo, OUT PWINDOW_LIMITS WindowLimits) |
NTSTATUS | ResizeWindow (IN PSCREEN_INFORMATION ScreenInfo, IN PSMALL_RECT WindowDimensions, IN BOOL DoScrollBarUpdate) |
NTSTATUS | ResizeScreenBuffer (IN PSCREEN_INFORMATION ScreenInfo, IN COORD NewScreenSize, IN BOOL DoScrollBarUpdate) |
NTSTATUS | ScrollRegion (IN PSCREEN_INFORMATION ScreenInfo, IN PSMALL_RECT ScrollRectangle, IN PSMALL_RECT ClipRectangle OPTIONAL, IN COORD DestinationOrigin, IN CHAR_INFO Fill) |
NTSTATUS | SetWindowOrigin (IN PSCREEN_INFORMATION ScreenInfo, IN BOOLEAN Absolute, IN OUT COORD WindowOrigin) |
VOID | SetWindowSize (IN PSCREEN_INFORMATION ScreenInfo) |
NTSTATUS | SetActiveScreenBuffer (IN PSCREEN_INFORMATION ScreenInfo) |
NTSTATUS | QueueConsoleMessage (PCONSOLE_INFORMATION Console, UINT Message, WPARAM wParam, LPARAM lParam) |
LRESULT APIENTRY | ConsoleWindowProc (HWND hWnd, UINT Message, WPARAM wParam, LPARAM lParam) |
VOID | VerticalScroll (IN PCONSOLE_INFORMATION Console, IN PSCREEN_INFORMATION ScreenInfo, IN WORD ScrollCommand, IN WORD AbsoluteChange) |
VOID | HorizontalScroll (IN PSCREEN_INFORMATION ScreenInfo, IN WORD ScrollCommand, IN WORD AbsoluteChange) |
VOID | StreamScrollRegion (IN PSCREEN_INFORMATION ScreenInfo) |
VOID | ReadRectFromScreenBuffer (IN PSCREEN_INFORMATION ScreenInfo, IN COORD SourcePoint, IN PCHAR_INFO Target, IN COORD TargetSize, IN PSMALL_RECT TargetRect) |
VOID | InitializeThreadMessages (VOID) |
NTSTATUS | QueueThreadMessage (DWORD dwThreadId, UINT Message, WPARAM wParam, LPARAM lParam) |
BOOL | UnqueueThreadMessage (DWORD dwThreadId, UINT *pMessage, WPARAM *pwParam, LPARAM *plParam) |
UINT | ConsoleDragQueryFile (IN HANDLE hDrop, IN PVOID lpFile, IN UINT cb) |
VOID | DoDrop (IN WPARAM wParam, IN PCONSOLE_INFORMATION Console) |
NTSTATUS | ReadBuffer (IN PINPUT_INFORMATION InputInformation, OUT PVOID Buffer, IN ULONG Length, OUT PULONG EventsRead, IN BOOL Peek, IN BOOL StreamRead, OUT PBOOL ResetWaitEvent, IN BOOLEAN Unicode) |
VOID | ConsoleInputThread (IN PINPUT_THREAD_INIT_INFO pInputThreadInitInfo) |
VOID | StoreKeyInfo (IN PMSG msg) |
VOID | RetrieveKeyInfo (IN HWND hWnd, OUT PWORD pwVirtualKeyCode, OUT PWORD pwVirtualScanCode, IN BOOL FreeKeyInfo) |
VOID | ClearKeyInfo (IN HWND hWnd) |
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) |
DWORD | WriteInputBuffer (PCONSOLE_INFORMATION Console, PINPUT_INFORMATION InputBufferInformation, PINPUT_RECORD lpBuffer, DWORD nLength) |
DWORD | PrependInputBuffer (PCONSOLE_INFORMATION Console, PINPUT_INFORMATION InputBufferInformation, PINPUT_RECORD lpBuffer, DWORD nLength) |
NTSTATUS | CreateInputBuffer (IN ULONG NumberOfEvents OPTIONAL, IN PINPUT_INFORMATION InputBufferInformation) |
NTSTATUS | ReinitializeInputBuffer (OUT PINPUT_INFORMATION InputBufferInformation) |
VOID | FreeInputBuffer (IN PINPUT_INFORMATION InputBufferInformation) |
NTSTATUS | GetNumberOfReadyEvents (IN PINPUT_INFORMATION InputInformation, OUT PULONG NumberOfEvents) |
NTSTATUS | FlushInputBuffer (IN PINPUT_INFORMATION InputInformation) |
NTSTATUS | FlushAllButKeys (PINPUT_INFORMATION InputInformation) |
NTSTATUS | SetInputBufferSize (IN PINPUT_INFORMATION InputInformation, IN ULONG Size) |
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 | HandleMenuEvent (IN PCONSOLE_INFORMATION Console, IN DWORD wParam) |
VOID | HandleFocusEvent (IN PCONSOLE_INFORMATION Console, IN BOOL bSetFocus) |
VOID | HandleCtrlEvent (IN PCONSOLE_INFORMATION Console, IN DWORD EventType) |
int | CreateCtrlThread (IN PCONSOLE_PROCESS_TERMINATION_RECORD ProcessHandleList, IN ULONG ProcessHandleListLength, IN PWCHAR Title, IN DWORD EventType, IN BOOL fForce) |
VOID | UnlockConsole (IN PCONSOLE_INFORMATION Console) |
ULONG | ShutdownConsole (IN HANDLE ConsoleHandle, IN DWORD dwFlags) |
DWORD | GetLinkProperties (LPWSTR pszLinkName, LPVOID lpvBuffer, UINT cb) |
DWORD | GetTitleFromLinkName (IN LPWSTR szLinkName, OUT LPWSTR szTitle) |
VOID | InitializeFonts (VOID) |
BOOL | InitializeCustomCP (VOID) |
NTSTATUS | EnumerateFonts (DWORD Flags) |
VOID | InitializeMouseButtons (VOID) |
NTSTATUS | GetMouseButtons (PULONG NumButtons) |
NTSTATUS | FindTextBufferFontInfo (IN PSCREEN_INFORMATION ScreenInfo, IN UINT CodePage, OUT PTEXT_BUFFER_FONT_INFO TextFontInfo) |
NTSTATUS | StoreTextBufferFontInfo (IN PSCREEN_INFORMATION ScreenInfo, IN ULONG FontIndex, IN COORD FontSize, IN BYTE FontFamily, IN LONG FontWeight, IN LPWSTR FaceName, IN UINT CodePage) |
NTSTATUS | RemoveTextBufferFontInfo (IN PSCREEN_INFORMATION ScreenInfo) |
NTSTATUS | GetNumFonts (OUT PULONG NumberOfFonts) |
NTSTATUS | GetAvailableFonts (IN PSCREEN_INFORMATION ScreenInfo, IN BOOLEAN MaximumWindow, OUT PVOID Buffer, IN OUT PULONG NumFonts) |
NTSTATUS | GetFontSize (IN DWORD FontIndex, OUT PCOORD FontSize) |
NTSTATUS | GetCurrentFont (IN PSCREEN_INFORMATION ScreenInfo, IN BOOLEAN MaximumWindow, OUT PULONG FontIndex, OUT PCOORD FontSize) |
NTSTATUS | SetFont (IN PSCREEN_INFORMATION ScreenInfo) |
NTSTATUS | SetScreenBufferFont (IN PSCREEN_INFORMATION ScreenInfo, IN ULONG FontIndex) |
int | ConvertToOem (IN UINT Codepage, IN LPWSTR Source, IN int SourceLength, OUT LPSTR Target, IN int TargetLength) |
int | ConvertInputToUnicode (IN UINT Codepage, IN LPSTR Source, IN int SourceLength, OUT LPWSTR Target, IN int TargetLength) |
WCHAR | CharToWcharGlyph (IN UINT Codepage, IN char Ch) |
WCHAR | CharToWchar (IN UINT Codepage, IN char Ch) |
char | WcharToChar (IN UINT Codepage, IN WCHAR Wchar) |
int | ConvertOutputToUnicode (IN UINT Codepage, IN LPSTR Source, IN int SourceLength, OUT LPWSTR Target, IN int TargetLength) |
int | ConvertOutputToOem (IN UINT Codepage, IN LPWSTR Source, IN int SourceLength, OUT LPSTR Target, IN int TargetLength) |
NTSTATUS | RealUnicodeToFalseUnicode (IN OUT LPWSTR Source, IN int SourceLength, IN UINT Codepage) |
NTSTATUS | FalseUnicodeToRealUnicode (IN OUT LPWSTR Source, IN int SourceLength, IN UINT Codepage) |
VOID | InitializeSubst (VOID) |
VOID | ShutdownSubst (VOID) |
ULONG | SrvConsoleSubst (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
BOOL | DoFontEnum (IN HDC hDC OPTIONAL, IN LPWSTR pwszFace OPTIONAL, IN SHORT TTPointSize) |
ULONG | SrvGetConsoleInput (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
ULONG | SrvWriteConsoleInput (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
ULONG | SrvReadConsoleOutput (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
ULONG | SrvWriteConsoleOutput (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
ULONG | SrvReadConsoleOutputString (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
ULONG | SrvWriteConsoleOutputString (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
ULONG | SrvFillConsoleOutput (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
ULONG | SrvCreateConsoleScreenBuffer (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
NTSTATUS | TranslateOutputToPaddingUnicode (IN PCONSOLE_INFORMATION Console, IN OUT PCHAR_INFO OutputBuffer, IN COORD Size, IN OUT PCHAR_INFO OutputBufferR) |
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 | SrvGetLargestConsoleWindowSize (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 | 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) |
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) |
NTSTATUS | SetScreenColors (IN PSCREEN_INFORMATION ScreenInfo, IN WORD Attributes, IN WORD PopupAttributes, IN BOOL UpdateWholeScreen) |
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) |
NTSTATUS | CookedRead (IN PCOOKED_READ_DATA CookedReadData, IN PCSR_API_MSG WaitReplyMessage, IN PCSR_THREAD WaitingThread, IN BOOLEAN WaitRoutine) |
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 | SrvOpenConsole (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
ULONG | SrvReadConsole (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
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) |
VOID | UnblockWriteConsole (IN PCONSOLE_INFORMATION Console, IN DWORD Reason) |
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) |
VOID | MakeCursorVisible (IN PSCREEN_INFORMATION ScreenInfo, IN COORD CursorPosition) |
NTSTATUS | SetCursorInformation (PSCREEN_INFORMATION ScreenInfo, ULONG Size, BOOLEAN Visible) |
NTSTATUS | SetCursorPosition (IN OUT PSCREEN_INFORMATION ScreenInfo, IN COORD Position, IN BOOL TurnOn) |
NTSTATUS | SetCursorMode (PSCREEN_INFORMATION ScreenInfo, BOOLEAN DoubleCursor) |
VOID | CursorTimerRoutine (IN PSCREEN_INFORMATION ScreenInfo) |
VOID | ConsoleHideCursor (IN PSCREEN_INFORMATION ScreenInfo) |
VOID | ConsoleShowCursor (IN PSCREEN_INFORMATION ScreenInfo) |
VOID | InitializeConsoleCommandData (IN PCONSOLE_INFORMATION Console) |
ULONG | SrvAddConsoleAlias (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
ULONG | SrvGetConsoleAlias (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
DWORD | SrvGetConsoleAliasesLength (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
DWORD | SrvGetConsoleAliasExesLength (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
DWORD | SrvGetConsoleAliases (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
DWORD | SrvGetConsoleAliasExes (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
DWORD | SrvExpungeConsoleCommandHistory (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
DWORD | SrvSetConsoleNumberOfCommands (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
DWORD | SrvGetConsoleCommandHistoryLength (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
DWORD | SrvGetConsoleCommandHistory (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
DWORD | SrvSetConsoleCommandHistoryMode (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
NTSTATUS | MatchandCopyAlias (IN PCONSOLE_INFORMATION Console, IN PWCHAR Source, IN USHORT SourceLength, OUT PWCHAR TargetBuffer, IN OUT PUSHORT TargetLength, IN LPWSTR Exe, IN USHORT ExeLength, OUT PDWORD LineCount) |
NTSTATUS | AddCommand (IN PCOMMAND_HISTORY CommandHistory, IN PWCHAR Command, IN USHORT Length, IN BOOL HistoryNoDup) |
NTSTATUS | RetrieveCommand (IN PCOMMAND_HISTORY CommandHistory, IN WORD VirtualKeyCode, IN PWCHAR Buffer, IN ULONG BufferSize, OUT PULONG CommandSize) |
PCOMMAND_HISTORY | AllocateCommandHistory (IN PCONSOLE_INFORMATION Console, IN DWORD AppNameLength, IN PWCHAR AppName, IN HANDLE ProcessHandle) |
VOID | ResetCommandHistory (IN PCOMMAND_HISTORY CommandHistory) |
ULONG | SrvGetConsoleTitle (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
ULONG | SrvSetConsoleTitle (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
VOID | FreeAliasBuffers (IN PCONSOLE_INFORMATION Console) |
VOID | FreeCommandHistory (IN PCONSOLE_INFORMATION Console, IN HANDLE ProcessHandle) |
VOID | FreeCommandHistoryBuffers (IN OUT PCONSOLE_INFORMATION Console) |
VOID | ResizeCommandHistoryBuffers (IN PCONSOLE_INFORMATION Console, IN UINT NumCommands) |
int | MyStringCompareW (IN LPWSTR Str1, IN LPWSTR Str2, IN USHORT Length, IN BOOLEAN bCaseInsensitive) |
int | LoadStringExW (IN HINSTANCE hModule, IN UINT wID, OUT LPWSTR lpBuffer, IN int cchBufferMax, IN WORD wLangId) |
ULONG | SrvAllocConsole (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
ULONG | SrvFreeConsole (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
NTSTATUS | RemoveConsole (IN PCONSOLE_PER_PROCESS_DATA ProcessData, IN HANDLE ProcessHandle, IN HANDLE ProcessId) |
BOOL | MapHandle (IN HANDLE ClientProcessHandle, IN HANDLE ServerHandle, OUT PHANDLE ClientHandle) |
VOID | InitializeConsoleAttributes (VOID) |
VOID | GetRegistryValues (IN LPWSTR ConsoleTitle, OUT PCONSOLE_REGISTRY_INFO RegInfo) |
LPWSTR | TranslateConsoleTitle (LPWSTR ConsoleTitle, PUSHORT pcbTranslatedLength, BOOL Unexpand, BOOL Substitute) |
NTSTATUS | GetConsoleLangId (IN UINT OutputCP, OUT LANGID *pLangId) |
ULONG | SrvGetConsoleLangId (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
NTSTATUS | CreateConsoleBitmap (IN OUT PCONSOLE_GRAPHICS_BUFFER_INFO GraphicsInfo, IN OUT PSCREEN_INFORMATION ScreenInfo, OUT PVOID *lpBitmap, OUT HANDLE *hMutex) |
NTSTATUS | WriteRegionToScreenBitMap (IN PSCREEN_INFORMATION ScreenInfo, IN PSMALL_RECT Region) |
ULONG | SrvInvalidateBitMapRect (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
ULONG | SrvVDMConsoleOperation (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
VOID | UpdateMousePosition (PSCREEN_INFORMATION ScreenInfo, COORD Position) |
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) |
ULONG | SrvSetConsoleDisplayMode (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
VOID | SetActivePalette (IN PSCREEN_INFORMATION ScreenInfo) |
VOID | UnsetActivePalette (IN PSCREEN_INFORMATION ScreenInfo) |
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) |
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) |
ULONG | SrvSetConsoleKeyShortcuts (IN OUT PCSR_API_MSG m, IN OUT PCSR_REPLY_STATUS ReplyStatus) |
BOOL | InitializeFullScreen (VOID) |
NTSTATUS | ChangeDispSettings (PCONSOLE_INFORMATION Console, HWND hwnd, DWORD dwFlags) |
VOID | InitSystemMenu (IN PCONSOLE_INFORMATION Console) |
VOID | InitializeMenu (IN PCONSOLE_INFORMATION Console) |
VOID | SetWinText (IN PCONSOLE_INFORMATION Console, IN UINT wID, IN BOOL Add) |
VOID | PropertiesDlgShow (IN PCONSOLE_INFORMATION Console, IN BOOL fCurrent) |
VOID | PropertiesUpdate (IN PCONSOLE_INFORMATION Console, IN HANDLE hClientSection) |
int | FindCreateFont (DWORD Family, LPWSTR pwszTTFace, COORD Size, LONG Weight, UINT CodePage) |
VOID | DoCopy (IN PCONSOLE_INFORMATION Console) |
VOID | DoMark (IN PCONSOLE_INFORMATION Console) |
VOID | DoSelectAll (IN PCONSOLE_INFORMATION Console) |
VOID | DoStringPaste (IN PCONSOLE_INFORMATION Console, IN PWCHAR pwStr, IN UINT DataSize) |
VOID | DoPaste (IN PCONSOLE_INFORMATION Console) |
VOID | ExtendSelection (IN PCONSOLE_INFORMATION Console, IN COORD CursorPosition) |
VOID | ClearSelection (IN PCONSOLE_INFORMATION Console) |
VOID | StoreSelection (IN PCONSOLE_INFORMATION Console) |
VOID | InvertSelection (IN PCONSOLE_INFORMATION Console, BOOL Inverting) |
BOOL | MyInvert (IN PCONSOLE_INFORMATION Console, IN PSMALL_RECT SmallRect) |
VOID | ConvertToMouseSelect (IN PCONSOLE_INFORMATION Console, IN COORD MousePosition) |
VOID | DoScroll (IN PCONSOLE_INFORMATION Console) |
VOID | ClearScroll (IN PCONSOLE_INFORMATION Console) |
BOOL | SetConsoleReserveKeys (HWND hWnd, DWORD fsReserveKeys) |
int APIENTRY | GreGetDIBitsInternal (HDC hdc, HBITMAP hBitmap, UINT iStartScan, UINT cNumScan, LPBYTE pjBits, LPBITMAPINFO pBitsInfo, UINT iUsage, UINT cjMaxBits, UINT cjMaxInfo) |
Variables | |
PWIN32HEAP | pConHeap |
DWORD | dwConBaseTag |
|
Definition at line 64 of file consrv.h. Referenced by AddAlias(), AddExeAliasList(), and ReplaceAlias(). |
|
Definition at line 63 of file consrv.h. Referenced by CreateConsoleBitmap(). |
|
Definition at line 70 of file consrv.h. Referenced by CreateInputBuffer(), PrependInputBuffer(), and SetInputBufferSize(). |
|
Definition at line 132 of file consrv.h. Referenced by SrvCreateConsoleScreenBuffer(). |
|
Definition at line 130 of file consrv.h. Referenced by SrvCreateConsoleScreenBuffer(). |
|
Definition at line 135 of file consrv.h. Referenced by SrvCreateConsoleScreenBuffer(). |
|
|
|
Definition at line 133 of file consrv.h. Referenced by ExtendSelection(), and SrvCreateConsoleScreenBuffer(). |
|
Definition at line 134 of file consrv.h. Referenced by SrvCreateConsoleScreenBuffer(). |
|
|
Definition at line 150 of file consrv.h. Referenced by ConsoleInputThread(), ConsoleWindowProc(), CreateWindowsWindow(), DestroyWindowsWindow(), DialogHookProc(), HandleKeyEvent(), ResizeScreenBuffer(), and SetUpConsole(). |
|
Definition at line 55 of file consrv.h. Referenced by InitializeFonts(). |
|
Definition at line 870 of file consrv.h. Referenced by CreateCtrlThread(), and ProcessCtrlEvents(). |
|
Definition at line 871 of file consrv.h. Referenced by CreateCtrlThread(), and UnlockConsole(). |
|
Definition at line 872 of file consrv.h. Referenced by CreateCtrlThread(), and UnlockConsole(). |
|
Definition at line 68 of file consrv.h. Referenced by AllocateConsole(). |
|
|
|
Definition at line 183 of file consrv.h. Referenced by FontEnum(), LoadLink(), and ResizeScreenBuffer(). |
|
Definition at line 199 of file consrv.h. Referenced by SetRAMFont(), SetRAMFontCodePage(), SrvVDMConsoleOperation(), and StoreSelection(). |
|
Definition at line 264 of file consrv.h. Referenced by SetFont(), SetScreenColors(), WWSB_ConsolePolyTextOut(), and WWSB_WriteRegionToScreen(). |
|
Definition at line 57 of file consrv.h. Referenced by DoStringPaste(). |
|
|
Definition at line 38 of file consrv.h. Referenced by CreateScreenBuffer(), DoFontEnum(), EnumerateFonts(), FindCreateFont(), FontEnum(), and SetScreenBufferFont(). |
|
Definition at line 39 of file consrv.h. Referenced by FontEnum(). |
|
Definition at line 42 of file consrv.h. Referenced by ConnectToEmulator(). |
|
|
|
|
Definition at line 930 of file consrv.h. Referenced by ConsoleInputThread(), df(), and EnumerateFonts(). |
|
Definition at line 927 of file consrv.h. Referenced by df(), and EnumerateFonts(). |
|
Definition at line 925 of file consrv.h. Referenced by df(), and EnumerateFonts(). |
|
Definition at line 928 of file consrv.h. Referenced by df(), EnumerateFonts(), and FontEnum(). |
|
Definition at line 926 of file consrv.h. Referenced by df(), and EnumerateFonts(). |
|
Definition at line 929 of file consrv.h. Referenced by df(), EnumerateFonts(), and FontEnum(). |
|
Definition at line 72 of file consrv.h. Referenced by AddFaceNode(), EnumerateFonts(), FontEnum(), and StoreTextBufferFontInfo(). |
|
Definition at line 83 of file consrv.h. Referenced by ConsoleWindowProc(). |
|
Definition at line 67 of file consrv.h. Referenced by ConsoleAddProcessRoutine(), ConsoleClientConnectRoutine(), GrowConsoleHandleTable(), GrowIoHandleTable(), InheritIoHandleTable(), InitializeInputHandle(), and SrvAllocConsole(). |
|
Definition at line 65 of file consrv.h. Referenced by AddCommand(), AllocateCommandHistory(), ReadChars(), and ReallocCommandHistory(). |
|
|
|
Definition at line 900 of file consrv.h. Referenced by GetLinkProperties(). |
|
Definition at line 898 of file consrv.h. Referenced by GetLinkProperties(), and LoadLinkInfo(). |
|
Definition at line 899 of file consrv.h. Referenced by GetLinkProperties(), and LoadLinkInfo(). |
|
Definition at line 157 of file consrv.h. Referenced by CommandNumberPopup(), CopyFromCharPopup(), and CopyToCharPopup(). |
|
Definition at line 260 of file consrv.h. Referenced by ConsoleWindowProc(), PropertiesDlgShow(), ReadInputBuffer(), and RevalidateConsole(). |
|
Definition at line 258 of file consrv.h. Referenced by DestroyConsole(), RevalidateConsole(), SetUpConsole(), and WriteConsoleWaitRoutine(). |
|
|
|
|
|
|
|
Definition at line 73 of file consrv.h. Referenced by AllocateScrollBuffer(), CreateScreenBuffer(), InitializeScrollBuffer(), MergeAttrStrings(), and ResizeScreenBuffer(). |
|
Definition at line 93 of file consrv.h. Referenced by SetScreenColors(). |
|
Definition at line 94 of file consrv.h. Referenced by CreateWindowsWindow(). |
|
Definition at line 95 of file consrv.h. Referenced by CreateWindowsWindow(). |
|
Definition at line 66 of file consrv.h. Referenced by AllocateConsole(), ProcessCtrlEvents(), SrvSetConsoleTitle(), and TranslateConsoleTitle(). |
|
|
Definition at line 259 of file consrv.h. Referenced by DestroyConsole(), RevalidateConsole(), SetUpConsole(), and WriteConsoleWaitRoutine(). |
|
Value:
|
|
Definition at line 2268 of file consrv.h. Referenced by CanForceForeground(), CheckAllowForeground(), and SetProcessForegroundRights(). |
|
Definition at line 2269 of file consrv.h. Referenced by _GetGUIThreadInfo(), and SetProcessForegroundRights(). |
|
Definition at line 71 of file consrv.h. Referenced by WaitForMoreToRead(). |
|
Referenced by df(). |
|
Referenced by df(). |
|
Definition at line 4423 of file output.c. References ConsoleHeapFree, DestroyConsole(), DestroyFontCache(), FreeAliasBuffers(), FreeCommandHistoryBuffers(), FreeInputBuffer(), FreeLocalEUDC(), INITIALIZATION_FAILED, INITIALIZATION_SUCCEEDED, NtClose(), NtSetEvent(), and NULL. Referenced by FreeCon().
|
|
Definition at line 4744 of file server/cmdline.c. References ASSERT, CLE_ALLOCATED, CLE_RESET, COMMAND, COMMAND_IND_INC, COMMAND_IND_PREV, ConsoleHeapAlloc, ConsoleHeapFree, FindMatchingCommand(), FMCFL_EXACT_MATCH, HISTORY_TAG, MAKE_TAG, NULL, RemoveCommand(), ResetCommandHistory(), and SHORT. Referenced by CookedRead().
|
|
Definition at line 1683 of file server/cmdline.c. References ASSERT, BOOL, CLE_ALLOCATED, CLE_NO_POPUPS, ConsoleHeapAlloc, ConsoleHeapFree, DBGPRINT, FALSE, History, HISTORY_TAG, MAKE_TAG, my_wcsncmpi, NULL, SHORT, TRUE, and USHORT. Referenced by ConsoleClientConnectRoutine(), and SrvAllocConsole().
|
|
Definition at line 789 of file w32/ntcon/server/handle.c. References BOOL, CM_CREATE_CONSOLE_WINDOW, CONSOLE_CLIENTTHREADHANDLE, CONSOLE_NO_WINDOW, CONSOLE_TAG, ConsoleHandles, ConsoleHeapAlloc, ConsoleHeapFree, ConsoleOutputCP, CreateEUDC(), CreateInputBuffer(), DoCreateScreenBuffer(), dwConsoleThreadId, FALSE, _CONSOLE_INFORMATION::Flags, FreeInputBuffer(), FreeScreenBuffer(), HorizontalClientToWindow, IndexFromHandle, INITIALIZATION_FAILED, INITIALIZATION_SUCCEEDED, InitializeConsoleCommandData(), InitializeIoHandleTable(), MAKE_TAG, MapHandle(), NT_SUCCESS, NtClose(), NtCreateEvent(), NtDuplicateObject(), NTSTATUS(), NULL, OEMCP, PostThreadMessage(), RtlDeleteCriticalSection(), RtlInitializeCriticalSection(), Status, TITLE_TAG, TranslateConsoleTitle(), TRUE, UnProtectHandle(), and VerticalClientToWindow. Referenced by SetUpConsole().
|
|
Definition at line 269 of file w32/ntcon/server/handle.c. References ASSERT, CONSOLE_HANDLE_ALLOCATED, ConsoleHandles, ConsoleHandleTableLocked, FALSE, GrowConsoleHandleTable(), Handle, HandleFromIndex, NT_SUCCESS, NTSTATUS(), NULL, NumberOfConsoleHandles, and Status. Referenced by SetUpConsole().
|
|
Definition at line 1390 of file w32/ntcon/server/handle.c. References ASSERT, CONSOLE_FREE_HANDLE, FALSE, GrowIoHandleTable(), Handle, NT_SUCCESS, NTSTATUS(), and Status. Referenced by InitializeIoHandleTable(), SrvCreateConsoleScreenBuffer(), SrvDuplicateHandle(), and SrvOpenConsole().
|
|
|
Referenced by ConsoleWindowProc(), CreateWindowsWindow(), HandleSysKeyEvent(), and PropertiesUpdate(). |
|
Definition at line 1469 of file w32/ntcon/server/misc.c. References DBGCHARS, NULL, OEMCP, and RtlOemToUnicodeN(). Referenced by GetChar(), SB_TranslateOutputToUnicode(), SrvScrollConsoleScreenBuffer(), and TranslateInputToUnicode().
|
|
Definition at line 1443 of file w32/ntcon/server/misc.c. References DBGCHARS, GlyphCP, NULL, OEMCP, and RtlCustomCPToUnicodeN().
|
|
Definition at line 1634 of file ntcon/server/input.c. References CONSOLE_FREE_KEY_INFO, CONSOLE_MAX_KEY_INFO, ConsoleKeyInfo, _CONSOLE_KEY_INFO::hWnd, and hWnd. Referenced by DestroyWindowsWindow().
|
|
Definition at line 1222 of file ntcon/server/clipbrd.c. References CONSOLE_SCROLLING, FALSE, msgScrollMode, and SetWinText(). Referenced by HandleKeyEvent().
|
|
Definition at line 437 of file ntcon/server/clipbrd.c. References CancelKeySelection(), CancelMouseSelection(), CONSOLE_MOUSE_SELECTION, CONSOLE_SELECTING, FALSE, and UnblockWriteConsole(). Referenced by DoCopy(), DoSelectAll(), FindDialogProc(), and HandleKeyEvent().
|
|
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 705 of file w32/ntcon/server/handle.c. References AddProcessToList(), ASSERT, CONSOLE_FREE_HANDLE, CONSOLE_FROMPROCESSPERPROCESSDATA, CONSOLE_INITIAL_IO_HANDLES, CONSOLE_SETCONSOLEAPPFROMPROCESSDATA, CONSOLE_SHUTTING_DOWN, _CONSOLE_PER_PROCESS_DATA::ConsoleHandle, ConsoleHeapAlloc, ConsoleHeapFree, _CONSOLE_PROCESS_HANDLE::CtrlRoutine, FALSE, _CONSOLE_INFORMATION::Flags, _CONSOLE_PER_PROCESS_DATA::Foo, HANDLE_TAG, _CONSOLE_PER_PROCESS_DATA::HandleTable, _CONSOLE_PER_PROCESS_DATA::HandleTablePtr, _CONSOLE_PER_PROCESS_DATA::HandleTableSize, _HANDLE_DATA::HandleType, InheritIoHandleTable(), MAKE_TAG, NT_SUCCESS, NTSTATUS(), NULL, _CONSOLE_PROCESS_HANDLE::Process, _CONSOLE_PROCESS_HANDLE::ProcessHandle, _CONSOLE_PROCESS_HANDLE::PropRoutine, _CONSOLE_INFORMATION::RefCount, RevalidateConsole(), _CONSOLE_PER_PROCESS_DATA::RootProcess, Status, and UnlockConsole(). Referenced by ConServerDllInitialization().
|
|
Definition at line 25 of file share.c. Referenced by InitializeIoHandleTable(), ReadChars(), SrvCreateConsoleScreenBuffer(), and SrvOpenConsole().
|
|
Definition at line 5750 of file output.c. References BOOL, EXCEPTION_EXECUTE_HANDLER, and UINT. Referenced by DoDrop().
|
|
Definition at line 95 of file share.c. Referenced by InheritIoHandleTable(), and SrvDuplicateHandle().
|
|
Definition at line 207 of file ntcon/server/cursor.c. References CONSOLE_IS_ICONIC, CONSOLE_TEXTMODE_BUFFER, FALSE, and InvertPixels(). Referenced by CancelKeySelection(), ConsoleWindowProc(), EndPopup(), ExtendSelection(), HandleKeyEvent(), InitSelection(), ScrollRegion(), SetCursorInformation(), SetCursorMode(), SetCursorPosition(), SetWindowOrigin(), StreamScrollRegion(), WWSB_DoWriteConsole(), WWSB_WriteChars(), and WWSB_WriteToScreen().
|
|
Referenced by InitWindowsStuff(). |
|
Definition at line 138 of file share.c. Referenced by CloseInputHandle(), and CloseOutputHandle().
|
|
Definition at line 176 of file ntcon/server/cursor.c. References ASSERT, CONSOLE_TEXTMODE_BUFFER, and FALSE. Referenced by CancelKeySelection(), ConsoleWindowProc(), EndPopup(), HandleKeyEvent(), InitSelection(), ScrollRegion(), SetCursorInformation(), SetCursorMode(), SetCursorPosition(), SetWindowOrigin(), StreamScrollRegion(), WWSB_DoWriteConsole(), WWSB_WriteChars(), and WWSB_WriteToScreen().
|
|
Definition at line 4700 of file output.c. References abs, ActivateKeyboardLayout, ASSERT, _SCREEN_INFORMATION::Attributes, BeginPaint, _CONSOLE_INFORMATION::bIconInit, BOOL, _SCREEN_INFORMATION::BufferInfo, ChangeDispSettings(), CHAR, _CONSOLE_INFORMATION::ClientThreadHandle, CM_BEEP, CM_CONIME_KL_ACTIVATE, CM_CONSOLE_MSG, CM_HIDE_WINDOW, CM_MODE_TRANSITION, CM_SET_WINDOW_SIZE, CM_UPDATE_SCROLL_BARS, CM_UPDATE_TITLE, cmControl, cmCopy, cmDefaults, cmFind, cmMark, cmPaste, cmScroll, cmSelectAll, _SCREEN_INFORMATION::CommandIdHigh, _SCREEN_INFORMATION::CommandIdLow, CONIME_INPUTLANGCHANGE, CONIME_INPUTLANGCHANGEREQUEST, CONIME_INPUTLANGCHANGEREQUESTBACKWARD, CONIME_INPUTLANGCHANGEREQUESTFORWARD, CONIME_KEYDATA, CONIME_KILLFOCUS, CONIME_SETFOCUS, _SCREEN_INFORMATION::Console, CONSOLE_GRAPHICS_BUFFER, CONSOLE_HAS_FOCUS, CONSOLE_IGNORE_NEXT_MOUSE_INPUT, CONSOLE_IS_ICONIC, CONSOLE_IS_IME_ENABLED, CONSOLE_NO_WINDOW, CONSOLE_TERMINATING, CONSOLE_TEXTMODE_BUFFER, CONSOLE_WINDOW_SIZE_X, CONSOLE_WINDOW_SIZE_Y, CONSOLE_WOW_REGISTERED, _CONSOLE_INFORMATION::ConsoleHandle, ConsoleHideCursor(), ConsoleShowCursor(), ConvertToFullScreen(), ConvertToWindowed(), CreateIconFromResourceEx(), _CONSOLE_INFORMATION::CurrentScreenBuffer, CURSOR_TIMER, _SCREEN_INFORMATION::CursorDisplayCount, _SCREEN_INFORMATION::CursorHandle, CursorTimerRoutine(), DbgPrint, DefWindowProc(), DestroyIcon, DestroyWindowsWindow(), DisplayModeTransition(), DoCopy(), DoDrop(), DoFind(), DoMark(), DoPaste(), DoScroll(), DoSelectAll(), DrawIcon(), DWORD, FALSE, _CONSOLE_INFORMATION::Flags, _SCREEN_INFORMATION::Flags, _CONSOLE_INFORMATION::FullScreenFlags, _WINDOW_LIMITS::FullScreenSize, GET_X_LPARAM, GET_Y_LPARAM, GetCapture(), GetClientRect(), GetCursorPos(), GetKeyState(), GetLastActivePopup(), GetNonBiDiKeyboardLayout(), GetSystemMetrics(), GetWindowConsole, GetWindowLimits(), gfInitSystemMetrics, ghDefaultIcon, ghDefaultSmIcon, guCaretBlinkTime, gucWheelScrollLines, HandleCtrlEvent(), HandleFocusEvent(), HandleKeyEvent(), HandleMenuEvent(), HandleMouseEvent(), HandleSysKeyEvent(), _CONSOLE_INFORMATION::hDC, _CONSOLE_INFORMATION::hHeirMenu, _CONSOLE_INFORMATION::hIcon, _CONSOLE_INFORMATION::hklActive, HorizontalClientToWindow, HorizontalScroll(), HorizontalScrollSize, _SCREEN_INFORMATION::hPalette, _CONSOLE_INFORMATION::hSmIcon, _CONSOLE_INFORMATION::hSysPalette, hWnd, _CONSOLE_INFORMATION::hWndProgMan, _CONSOLE_INFORMATION::hWndProperties, _CONSOLE_INFORMATION::iIconId, ImmConversionFromConsole(), InitializeMenu(), InitializeSystemMetrics(), _CONSOLE_INFORMATION::InputBuffer, _CONSOLE_INFORMATION::InputThreadInfo, InternalSetWindowSize(), InternalUpdateScrollBars(), _PMIconData::iResource, IS_IME_KBDLAYOUT, IsIconic(), ITEM_MAX_SIZE, KEY_PRESSED, LockConsole, LPPMICONDATA, _WINDOW_LIMITS::MaxWindow, min, _WINDOW_LIMITS::MinimumWindowSize, ModifyConsoleProcessFocus(), NT_SUCCESS, NtClose(), NtSetEvent(), NULL, PaintRect(), PeekMessage(), Point, _SCREEN_INFORMATION::PopupAttributes, PositionConsoleWindow(), PostMessage(), ProcessResizeWindow(), ProgmanHandleMessage, PropertiesDlgShow(), PropertiesUpdate(), QueueConsoleMessage(), ReleaseCapture(), _CONSOLE_INFORMATION::ReserveKeys, _CONSOLE_INFORMATION::ResizeFlags, _SCREEN_INFORMATION::ResizingWindow, ReuseDDElParam, RevalidateConsole(), SCR_FONTSIZE(), SCREEN_BUFFER_CHANGE, SCROLL_BAR_CHANGE, ScrollIfNecessary(), SelectPalette, SendMessage(), SetActivePalette(), SetCapture, SetConsoleReserveKeys(), SetCursor, SetForegroundWindow(), SetScreenColors(), SetTimer, SetWindowOrigin(), SetWindowText(), SHORT, ShowWindow, Status, SystemParametersInfo(), TEXT_VALID_HINT, _CONSOLE_INFORMATION::Title, TrimConsoleWorkingSet(), TRUE, UINT, UnlockConsole(), UnpackDDElParam(), UnqueueConsoleMessage(), UnsetActivePalette(), UpdateWindowSize(), ValidateConsole(), VerticalClientToWindow, VerticalScroll(), VerticalScrollSize, _SCREEN_INFORMATION::WheelDelta, _SCREEN_INFORMATION::Window, WindowFromPoint, _SCREEN_INFORMATION::WindowMaximized, _SCREEN_INFORMATION::WindowMaximizedX, _SCREEN_INFORMATION::WindowMaximizedY, _CONSOLE_INFORMATION::WindowRect, WriteRegionToScreenBitMap(), and WriteToScreen. Referenced by InitWindowClass().
|
|
Definition at line 1345 of file w32/ntcon/server/misc.c. References DBGCHARS, NT_SUCCESS, NTSTATUS(), OEMCP, RtlOemToUnicodeN(), and Status. Referenced by AddExeAliasList(), FindExe(), FindExeCommandHistory(), SrvAddConsoleAlias(), SrvGetConsoleAlias(), and SrvSetConsoleTitle().
|
|
Definition at line 1508 of file w32/ntcon/server/misc.c. References ASSERT, CHAR, ConsoleHeapAlloc, ConsoleHeapFree, DBGCHARS, MAKE_TAG, NT_SUCCESS, NTSTATUS(), NULL, OEMCP, RtlUnicodeToOemN(), STACK_BUFFER_SIZE, Status, and TMP_TAG. Referenced by ReadOutputString(), and TranslateOutputToOem().
|
|
Definition at line 1384 of file w32/ntcon/server/misc.c. References CHAR, ConsoleHeapAlloc, ConsoleHeapFree, DBGCHARS, GlyphCP, MAKE_TAG, NT_SUCCESS, NTSTATUS(), NULL, OEMCP, RtlCustomCPToUnicodeN(), STACK_BUFFER_SIZE, Status, and TMP_TAG. Referenced by WWSB_DoSrvWriteConsole(), WWSB_FillOutput(), WWSB_WriteChars(), WWSB_WriteOutputString(), and WWSB_WriteRectToScreenBuffer().
|
|
Definition at line 390 of file ntcon/server/clipbrd.c. References CancelKeySelection(), CONSOLE_MOUSE_DOWN, CONSOLE_MOUSE_SELECTION, CONSOLE_SELECTION_NOT_EMPTY, FALSE, msgMarkMode, msgSelectMode, MyInvert(), SetCapture, SetWinText(), and TRUE. Referenced by HandleMouseEvent().
|
|
Definition at line 1307 of file w32/ntcon/server/misc.c. References DBGCHARS, NT_SUCCESS, NTSTATUS(), NULL, OEMCP, RtlUnicodeToOemN(), and Status. Referenced by CookedRead(), DoStringPaste(), ProcessCommandListInput(), RawReadWaitRoutine(), ReadChars(), SrvGetConsoleAlias(), SrvGetConsoleAliases(), SrvGetConsoleAliasExes(), SrvGetConsoleCommandHistory(), and SrvGetConsoleTitle().
|
|
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 27 of file w32/ntcon/server/bitmap.c. References ASSERT, BMP_TAG, CONSOLE_CLIENTPROCESSHANDLE, ConsoleHeapAlloc, ConsoleHeapFree, DbgPrint, FALSE, L, MAKE_TAG, MapHandle(), NT_SUCCESS, NtClose(), NtCreateMutant(), NtCreateSection(), NtMapViewOfSection(), NTSTATUS(), NtUnmapViewOfSection(), NULL, SHORT, and Status. Referenced by CreateScreenBuffer().
|
|
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 834 of file output.c. References ASSERT, _SCREEN_INFORMATION::Attributes, ChangeDispSettings(), CONSOLE_IS_ICONIC, CONSOLE_IS_IME_ENABLED, CONSOLE_NO_WINDOW, CONSOLE_TEXTMODE_BUFFER, CONSOLE_WINDOW_CLASS, CONSOLE_WINDOW_EX_FLAGS, CONSOLE_WINDOW_FLAGS, CONSOLE_WINDOW_SIZE_X, CONSOLE_WINDOW_SIZE_Y, ConsoleSetActiveWindow(), ConvertToFullScreen(), CreateWindowEx(), DbgPrint, DestroyWindow, DWORD, FALSE, _SCREEN_INFORMATION::Flags, GetDC, ghDefaultIcon, ghDefaultSmIcon, ghInstance, gnConsoleWindows, guCaretBlinkTime, HorizontalClientToWindow, HorizontalScrollSize, hWnd, INITIALIZATION_FAILED, INITIALIZATION_SUCCEEDED, InitSystemMenu(), InternalUpdateScrollBars(), L, NT_SUCCESS, NtQueryInformationThread(), NtSetEvent(), NULL, _SCREEN_INFORMATION::PopupAttributes, PositionConsoleWindow(), PostMessage(), ProgmanHandleMessage, RegisterKeisenOfTTFont(), SCR_FONTSIZE(), SendMessage(), SetConsolePid, SetConsoleTid, SetFont(), SetScreenColors(), SetTimer, SetWindowConsole, TRUE, VerticalClientToWindow, VerticalScrollSize, _SCREEN_INFORMATION::WindowMaximizedX, and _SCREEN_INFORMATION::WindowMaximizedY. Referenced by ProcessCreateConsoleWindow().
|
|
Definition at line 332 of file ntcon/server/cursor.c. References CONSOLE_HAS_FOCUS, CONSOLE_TEXTMODE_BUFFER, FALSE, InvertPixels(), NtUserConsoleControl(), and SCR_FONTSIZE(). Referenced by ConsoleWindowProc(), and SetCursorPosition().
|
|
Definition at line 175 of file w32/ntcon/server/handle.c. References ASSERT, CONSOLE_TERMINATING, ConsoleHandles, ConsoleHandleTableLocked, IndexFromHandle, NULL, and NumberOfConsoleHandles. Referenced by RevalidateConsole(), SetUpConsole(), and WriteConsoleWaitRoutine().
|
|
|
Definition at line 1501 of file w32/ntcon/server/handle.c. References CONSOLE_FREE_HANDLE, and Handle. Referenced by CookedRead(), CookedReadWaitRoutine(), DirectReadWaitRoutine(), FindActiveScreenBufferHandle(), FreeIoHandle(), InitializeIoHandleTable(), ProcessCommandListInput(), ProcessCommandNumberInput(), ProcessCopyFromCharInput(), ProcessCopyToCharInput(), RawReadWaitRoutine(), RemoveConsole(), SrvCloseHandle(), SrvCreateConsoleScreenBuffer(), SrvDuplicateHandle(), SrvGetHandleInformation(), SrvOpenConsole(), SrvSetHandleInformation(), and SrvVerifyConsoleIoHandle().
|
|
Definition at line 1051 of file w32/ntcon/server/handle.c. References ASSERT, CONSOLE_IN_DESTRUCTION, _CONSOLE_INFORMATION::ConsoleHandle, ConsoleHandles, ConsoleHeapFree, ConsoleLocked, FreeConsoleHandle(), IndexFromHandle, LockConsoleHandleTable, NULL, RtlDeleteCriticalSection(), and UnlockConsoleHandleTable. Referenced by AbortCreateConsole(), DestroyWindowsWindow(), ProcessCtrlEvents(), and RevalidateConsole().
|
|
Definition at line 4454 of file output.c. References ASSERT, CleanupConsoleMessages(), ClearKeyInfo(), CloseWindowStation, CONIME_DESTROY, CONSOLE_IS_IME_ENABLED, CONSOLE_NO_WINDOW, CONSOLE_VDM_REGISTERED, ConsoleHeapFree, CURSOR_TIMER, DeleteEUDC(), DestroyConsole(), DestroyFontCache(), DestroyIcon, DestroyWindow, FreeAliasBuffers(), FreeCommandHistoryBuffers(), FreeInputBuffer(), FreeLocalEUDC(), FreeScreenBuffer(), ghDefaultIcon, ghDefaultSmIcon, gnConsoleWindows, hWnd, INITIALIZATION_FAILED, INITIALIZATION_SUCCEEDED, _SCREEN_INFORMATION::Next, NtClose(), NULL, ReleaseDC(), ReplyMessage(), SendMessage(), and SetWindowConsole. Referenced by ConsoleWindowProc().
|
|
Definition at line 807 of file ntcon/server/clipbrd.c. References ClearSelection(), and StoreSelection(). Referenced by ConsoleWindowProc(), HandleKeyEvent(), and HandleMouseEvent().
|
|
Definition at line 270 of file output.c. References CONSOLE_AUTO_POSITION, CONSOLE_DEFAULT_BUFFER_SIZE, CONSOLE_HISTORY_NODUP, CONSOLE_IS_DBCS_ENABLED, CONSOLE_NO_WINDOW, CONSOLE_QUICK_EDIT_MODE, CONSOLE_TEXTMODE_BUFFER, CONSOLE_USE_PRIVATE_FLAGS, CreateScreenBuffer(), DbgPrint, FALSE, FindCreateFont(), FontInfo, FullScreenInitialized, guCaretBlinkTime, INT, IsAvailableFarEastCodePage(), min, NTSTATUS(), NULL, SHORT, _FONT_INFO::Size, and Status. Referenced by AllocateConsole().
|
|
|
|
Definition at line 268 of file find.c. References FindDialogProc(), ghInstance, and ID_FINDDLG. Referenced by ConsoleWindowProc().
|
|
|
|
Definition at line 1167 of file ntcon/server/clipbrd.c. References InitSelection(). Referenced by ConsoleWindowProc().
|
|
Definition at line 1008 of file ntcon/server/clipbrd.c. References BOOL, _SCREEN_INFORMATION::BufferInfo, CloseClipboard, CONSOLE_SCROLLING, CONSOLE_TEXTMODE_BUFFER, DoStringPaste(), FALSE, GetClipboardData(), NtReleaseMutant(), NtWaitForSingleObject(), NULL, and OpenClipboard(). Referenced by ConsoleWindowProc(), and HandleMouseEvent().
|
|
Definition at line 1211 of file ntcon/server/clipbrd.c. References CONSOLE_SCROLLING, msgScrollMode, SetWinText(), and TRUE. Referenced by ConsoleWindowProc().
|
|
Definition at line 1175 of file ntcon/server/clipbrd.c. References _SCREEN_INFORMATION::BufferInfo, ClearSelection(), CONSOLE_MOUSE_SELECTION, CONSOLE_SELECTING, CONSOLE_SELECTION_NOT_EMPTY, ExtendSelection(), msgSelectMode, MyInvert(), _SCREEN_INFORMATION::ScreenBufferSize, SetWindowOrigin(), SetWinText(), TRUE, and _SCREEN_INFORMATION::Window. Referenced by ConsoleWindowProc().
|
|
Definition at line 835 of file ntcon/server/clipbrd.c. References BOOL, BYTE, CHAR, CONSOLE_IS_DBCS_ENABLED, ConsoleHeapAlloc, ConsoleHeapFree, ConvertToOem(), DATA_CHUNK_SIZE, DWORD, FALSE, HIBYTE, LoadKeyEvent, LOBYTE, MAKE_TAG, MapVirtualKey(), NULL, SHORT, TMP_TAG, TRUE, UNICODE_CARRIAGERETURN, UNICODE_LINEFEED, VkKeyScan(), and WriteInputBuffer(). Referenced by DoDrop(), and DoPaste().
|
|
Definition at line 515 of file w32/ntcon/server/misc.c. References AddFaceNode(), ASSERT, tagFACENODE::awch, CONSOLE_IS_DBCS_ENABLED, ConsoleHeapAlloc, DBGFONTS, DefaultFaceName, DefaultFontFamily, DefaultFontIndex, DefaultFontSize, DoFontEnum(), tagFACENODE::dwFlag, DWORD, EF_DEFFACE, EF_ENUMERATED, EF_NEW, EF_OEMFONT, EF_OLD, EF_TTFONT, _FONT_INFO::Family, FONT_TAG, FontInfo, FontInfoLength, gpFaceNames, INITIAL_FONTS, L, MAKE_TAG, NULL, NumberOfFonts, tagFACENODE::pNext, SHORT, and _FONT_INFO::Size. Referenced by ConsoleInputThread().
|
|
Definition at line 178 of file ntcon/server/clipbrd.c. References ASSERT, CON_FONTSIZE, CONSOLE_MOUSE_SELECTION, CONSOLE_SELECTION_NOT_EMPTY, CONSOLE_TEXTMODE_BUFFER, ConsoleHideCursor(), _SCREEN_INFORMATION::Flags, MakeCursorVisible(), MyInvert(), _SCREEN_INFORMATION::ScreenBufferSize, and _SCREEN_INFORMATION::Window. Referenced by DoSelectAll(), HandleKeyEvent(), HandleMouseEvent(), and ScrollIfNecessary().
|
|
Definition at line 1676 of file w32/ntcon/server/misc.c. References BOOL, CHAR, CONSOLE_IS_DBCS_ENABLED, ConsoleHeapAlloc, ConsoleHeapFree, DBGCHARS, FALSE, GlyphCP, MAKE_TAG, NT_SUCCESS, NTSTATUS(), NULL, OEMCP, RtlCustomCPToUnicodeN(), RtlUnicodeToMultiByteN(), STACK_BUFFER_SIZE, Status, TMP_TAG, TRUE, USACP, USHORT, and WINDOWSCP. Referenced by ConvertToFullScreen(), DrawCommandListPopup(), ReadOutputString(), SB_TranslateOutputToOemUnicode(), SetScreenBufferFont(), and StoreSelection().
|
|
Definition at line 650 of file w32/ntcon/server/misc.c. References BOOL, BYTE, CodePageToCharSet(), CONSOLE_IS_DBCS_ENABLED, CREATED_BUT_NOT_FOUND, DBGFONTS, DefaultFaceName, DefaultFontIndex, DefaultFontSize, DoFontEnum(), _FONT_INFO::Family, FontInfo, GetAltFaceName(), IsAvailableFarEastCodePage(), IsAvailableTTFont(), L, MakeAltRasterFont(), NOT_CREATED_NOR_FOUND, NULL, NumberOfFonts, Size, _FONT_INFO::Size, SIZE_EQUAL, _FONT_INFO::SizeWant, TM_IS_TT_FONT, and _FONT_INFO::Weight. Referenced by DoCreateScreenBuffer(), PropertiesUpdate(), SetFont(), and SrvCreateConsoleScreenBuffer().
|
|
Definition at line 846 of file w32/ntcon/server/misc.c. References _TEXT_BUFFER_FONT_INFO::FontCodePage, _TEXT_BUFFER_FONT_INFO::NextTextBufferFont, and NULL.
|
|
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 591 of file server/cmdline.c. References FreeAliasList(). Referenced by AbortCreateConsole(), and DestroyWindowsWindow().
|
|
Definition at line 4605 of file server/cmdline.c. References CLE_ALLOCATED, FindCommandHistory(), History, and NULL. Referenced by RemoveConsole().
|
|
Definition at line 4640 of file server/cmdline.c. References ConsoleHeapFree, History, and SHORT. Referenced by AbortCreateConsole(), and DestroyWindowsWindow().
|
|
Definition at line 1110 of file w32/ntcon/server/handle.c. References AbortCreateConsole(), CM_DESTROY_WINDOW, CONSOLE_TERMINATING, hWnd, NtSetEvent(), NULL, SendMessageTimeout(), and UnlockConsole(). Referenced by RemoveConsole().
|
|
Definition at line 331 of file w32/ntcon/server/handle.c. References ASSERT, ConsoleHandles, ConsoleHandleTableLocked, FALSE, Handle, IndexFromHandle, NULL, and NumberOfConsoleHandles. Referenced by DestroyConsole(), and SetUpConsole().
|
|
Definition at line 221 of file ntcon/server/input.c. References ASSERT, and ConsoleHeapFree. Referenced by AbortCreateConsole(), AllocateConsole(), and DestroyWindowsWindow().
|
|
Definition at line 1455 of file w32/ntcon/server/handle.c. References ASSERT, CONSOLE_FREE_HANDLE, CONSOLE_INPUT_HANDLE, DereferenceIoHandleNoCheck(), FreeInputHandle(), Handle, _HANDLE_DATA::HandleType, NT_SUCCESS, NTSTATUS(), and Status. Referenced by CloseInputHandle(), CloseOutputHandle(), SrvCreateConsoleScreenBuffer(), SrvDuplicateHandle(), and SrvOpenConsole().
|
|
Definition at line 1280 of file w32/ntcon/server/handle.c. References CONSOLE_INITIAL_IO_HANDLES, and ConsoleHeapFree. Referenced by RemoveConsole().
|
|
Definition at line 1021 of file output.c. References ASSERT, CONSOLE_TEXTMODE_BUFFER, ConsoleHeapFree, DeleteDbcsScreenBuffer(), FALSE, FreeConsoleBitmap(), _CONSOLE_INFORMATION::hDC, _CONSOLE_INFORMATION::hSysPalette, NULL, RemoveTextBufferFontInfo(), SelectPalette, and SHORT. Referenced by AllocateConsole(), CloseOutputHandle(), DestroyWindowsWindow(), and SrvCreateConsoleScreenBuffer().
|
|
Definition at line 998 of file w32/ntcon/server/misc.c. References Buffer, CONSOLE_WINDOW_SIZE_X, CONSOLE_WINDOW_SIZE_Y, FontInfo, GetWindowLimits(), _WINDOW_LIMITS::MaximumWindowSize, NumberOfFonts, SCR_FONTSIZE(), SHORT, and _FONT_INFO::Size. Referenced by SrvGetConsoleFontInfo().
|
|
Definition at line 2643 of file srvinit.c. References CONSOLE_IS_DBCS_ENABLED, NTSTATUS(), NULL, and Status. Referenced by CommandNumberPopup(), CopyFromCharPopup(), CopyToCharPopup(), SetTEBLangID(), and SrvGetConsoleLangId().
|
|
Definition at line 1053 of file w32/ntcon/server/misc.c. References CONSOLE_WINDOW_SIZE_X, CONSOLE_WINDOW_SIZE_Y, GetWindowLimits(), _WINDOW_LIMITS::MaximumWindowSize, SCR_FONTNUMBER(), and SHORT. Referenced by SrvGetConsoleCurrentFont().
|
|
Definition at line 1041 of file w32/ntcon/server/misc.c. References FontInfo, NumberOfFonts, and _FONT_INFO::Size. Referenced by SetScreenBufferFont(), and SrvGetConsoleFontSize().
|
|
Definition at line 264 of file link.c. References ASSERT, ConsoleHeapFree, DWORD, INT, LINK_FULLINFO, LINK_NOINFO, LINK_SIMPLEINFO, LoadLink(), and LPLNKPROPNTCONSOLE. Referenced by LoadLinkInfo().
|
|
Definition at line 66 of file w32/ntcon/server/misc.c. References NumberOfMouseButtons. Referenced by SrvGetConsoleMouseInfo().
|
|
Definition at line 362 of file ntcon/server/input.c. Referenced by PrependInputBuffer(), and SrvGetConsoleNumberOfInputEvents().
|
|
Definition at line 988 of file w32/ntcon/server/misc.c. References NumberOfFonts. Referenced by SrvGetConsoleNumberOfFonts().
|
|
Definition at line 2210 of file srvinit.c. References ConsoleHeapFree, DbgPrint, DBGPRINT, DefaultRegInfo, DWORD, FALSE, gaWordDelimChars, gaWordDelimCharsDefault, gExtendedEditKey, gfLoadConIme, gfTrimLeadingZeros, InitExtendedEditKeys(), IsAvailableFarEastCodePage(), L, _CONSOLE_REGISTRY_INFO::LastWriteTime, MyRegOpenKey(), MyRegQueryValue(), NELEM, NT_ERROR, NT_SUCCESS, NtClose(), NtQueryKey(), NTSTATUS(), NULL, OEMCP, PBYTE, RtlOpenCurrentUser(), Status, TranslateConsoleTitle(), TRUE, UINT, and WORD_DELIM_MAX. Referenced by InitWindowsStuff(), and LoadLinkInfo().
|
|
Definition at line 2093 of file output.c. References CONSOLE_WINDOW_SIZE_X, CONSOLE_WINDOW_SIZE_Y, GetWindowLimits(), _WINDOW_LIMITS::MaximumWindowSize, min, SHORT, and Size. Referenced by SrvGetConsoleScreenBufferInfo().
|
|
Definition at line 16 of file link.c. References ASSERT, DWORD, L, MAX_TITLE_LENGTH, min, NULL, and szTitle. Referenced by LoadLinkInfo().
|
|
Definition at line 207 of file output.c. References CONSOLE_AUTO_POSITION, CONSOLE_TEXTMODE_BUFFER, ConsoleCaptionY, ConsoleFullScreenX, ConsoleFullScreenY, GetMonitorInfo(), gfInitSystemMetrics, gnConsoleWindows, HorizontalClientToWindow, InitializeSystemMetrics(), max, min, MinimumWidthX, MonitorFromRect(), NULL, PWINDOW_LIMITS, SCR_FONTSIZE(), SHORT, and VerticalClientToWindow. Referenced by ConsoleWindowProc(), CreateScreenBuffer(), GetAvailableFonts(), GetCurrentFont(), GetScreenBufferInformation(), PropertiesUpdate(), SetScreenBufferFont(), SrvGetLargestConsoleWindowSize(), SrvSetConsoleScreenBufferSize(), and SrvSetConsoleWindowInfo().
|
|
Referenced by BMPtoDIB(). |
|
Definition at line 1234 of file w32/ntcon/server/handle.c. References ASSERT, CONSOLE_FREE_HANDLE, CONSOLE_INITIAL_IO_HANDLES, CONSOLE_IO_HANDLE_INCREMENT, ConsoleHeapAlloc, ConsoleHeapFree, HANDLE_DATA, HANDLE_TAG, _HANDLE_DATA::HandleType, MAKE_TAG, and NULL. Referenced by AllocateIoHandle().
|
|
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 4653 of file output.c. References CONSOLE_WINDOW_SIZE_X, max, min, SetWindowOrigin(), SHORT, and TRUE. Referenced by ConsoleWindowProc(), and HandleKeyEvent().
|
|
Definition at line 2132 of file srvinit.c.
|
|
Definition at line 4700 of file server/cmdline.c. Referenced by AllocateConsole().
|
|
Definition at line 57 of file w32/ntcon/server/handle.c. References ConsoleHandleLock, ConsoleHandles, InitialConsoleHandles, NELEM, NTSTATUS(), NumberOfConsoleHandles, RtlInitializeCriticalSectionAndSpinCount(), and Status. Referenced by ConServerDllInitialization().
|
|
|
|
Definition at line 109 of file w32/ntcon/server/misc.c. References CONSOLE_MAX_FONT_NAME_LENGTH, L, NELEM, and NULL. Referenced by ConServerDllInitialization().
|
|
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 1335 of file w32/ntcon/server/handle.c. References _HANDLE_DATA::Buffer, ConsoleHeapAlloc, ConsoleHeapFree, FALSE, HANDLE_TAG, _INPUT_READ_HANDLE_DATA::InputHandleFlags, _HANDLE_DATA::InputReadData, MAKE_TAG, NT_SUCCESS, NTSTATUS(), NULL, _INPUT_READ_HANDLE_DATA::ReadCount, _INPUT_READ_HANDLE_DATA::ReadCountLock, RtlInitializeCriticalSection(), Status, and TRUE. Referenced by InitializeIoHandleTable(), SrvDuplicateHandle(), and SrvOpenConsole().
|
|
Definition at line 124 of file ntcon/server/menu.c. References cmControl, cmCopy, cmMark, cmPaste, cmScroll, CONSOLE_DISABLE_CLOSE, CONSOLE_IS_ICONIC, CONSOLE_SCROLLING, CONSOLE_SELECTING, CONSOLE_SELECTION_NOT_EMPTY, CONSOLE_TEXTMODE_BUFFER, EnableMenuItem(), IsWindow(), and NULL. Referenced by ConsoleWindowProc().
|
|
Definition at line 75 of file w32/ntcon/server/misc.c. References GetSystemMetrics(), and NumberOfMouseButtons. Referenced by InitializeScreenInfo().
|
|
Definition at line 1307 of file w32/ntcon/server/handle.c. References _HANDLE_DATA::Buffer. Referenced by InitializeIoHandleTable(), SrvCreateConsoleScreenBuffer(), SrvDuplicateHandle(), and SrvOpenConsole().
|
|
Definition at line 253 of file output.c. References GetSystemMetrics(), InitializeMouseButtons(), InitializeSystemMetrics(), L, MinimumWidthX, NULL, and UsePolyTextOut. Referenced by ConsoleInputThread().
|
|
Definition at line 2631 of file output.c. References AllocateScrollBuffer(), ConsoleHeapAlloc, ConsoleHeapFree, DefaultRegInfo, ghrgnScroll, gprgnData, GRGNDATASIZE, MAKE_TAG, NT_SUCCESS, NTSTATUS(), NULL, RtlInitializeCriticalSectionAndSpinCount(), SCREEN_TAG, _CONSOLE_REGISTRY_INFO::ScreenBufferSize, ScrollBufferLock, and Status. Referenced by InitWindowsStuff().
|
|
|
|
Definition at line 177 of file output.c. References AdjustWindowRectEx(), CONSOLE_WINDOW_EX_FLAGS, CONSOLE_WINDOW_FLAGS, ConsoleCaptionY, ConsoleFullScreenX, ConsoleFullScreenY, FALSE, GetSystemMetrics(), gfInitSystemMetrics, guCaretBlinkTime, gucWheelScrollLines, HorizontalClientToWindow, HorizontalScrollSize, SHORT, SystemParametersInfo(), VerticalClientToWindow, and VerticalScrollSize. Referenced by ConsoleWindowProc(), GetWindowLimits(), InitializeConsoleAttributes(), InitializeScreenInfo(), InternalSetWindowSize(), and ProcessResizeWindow().
|
|
|
|
Definition at line 61 of file ntcon/server/menu.c. References AppendMenu(), cmControl, cmDefaults, cmEdit, ghInstance, ID_WOMENU, MyModifyMenuItem(), and NELEM. Referenced by CreateWindowsWindow().
|
|
Definition at line 1155 of file w32/ntcon/server/handle.c. Referenced by SrvCreateConsoleScreenBuffer().
|
|
Definition at line 155 of file ntcon/server/clipbrd.c. References BOOL, CONSOLE_SELECTING, CONSOLE_SELECTION_INVERTED, CONSOLE_SELECTION_NOT_EMPTY, FALSE, MyInvert(), and TRUE. Referenced by SetWindowOrigin(), WriteRegionToScreenBitMap(), and WWSB_WriteRegionToScreen().
|
|
Definition at line 4995 of file server/cmdline.c. References NULL, TRUE, USHORT, and UTCHAR.
|
|
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 874 of file srvinit.c. References FALSE. Referenced by AllocateConsole(), ConsoleClientConnectRoutine(), and CreateConsoleBitmap().
|
|
Definition at line 1105 of file server/cmdline.c. References Buffer, ConsoleHeapAlloc, ConsoleHeapFree, FindAlias(), FindExe(), MAKE_TAG, MAX_ARGS, NTSTATUS(), NULL, Status, _ALIAS::Target, _ALIAS::TargetLength, TMP_TAG, TRUE, UNICODE_CARRIAGERETURN, UNICODE_LINEFEED, and USHORT. Referenced by CookedRead(), and ProcessCommandListInput().
|
|
Definition at line 4227 of file output.c. References _CONSOLE_PROCESS_HANDLE::Process, SetProcessFocus(), and SetProcessForegroundRights(). Referenced by ConsoleWindowProc(), and DisplayModeTransition().
|
|
Definition at line 70 of file ntcon/server/clipbrd.c. References BisectClipbrd(), Rect::bottom, CONSOLE_TEXTMODE_BUFFER, _SCREEN_INFORMATION::Flags, Rect::left, Rect, Rect::right, SCR_FONTSIZE(), SHORT, StringLength(), Rect::top, TRUE, and _SCREEN_INFORMATION::Window. Referenced by CancelKeySelection(), CancelMouseSelection(), ConvertToMouseSelect(), DoSelectAll(), ExtendSelection(), FindDialogProc(), HandleKeyEvent(), HandleMouseEvent(), InvertSelection(), and StoreSelection().
|
|
Definition at line 369 of file server/cmdline.c. References RtlCompareUnicodeString(), String1, and String2. Referenced by SearchForString(), and TranslateConsoleTitle().
|
|
|
|
Definition at line 287 of file ntcon/server/menu.c. References ASSERT, _SCREEN_INFORMATION::Attributes, _SCREEN_INFORMATION::BufferInfo, CONSOLE_AUTO_POSITION, CONSOLE_HISTORY_NODUP, CONSOLE_IS_DBCS_ENABLED, CONSOLE_QUICK_EDIT_MODE, CONSOLE_TEXTMODE_BUFFER, CONSOLE_WINDOW_SIZE_X, CONSOLE_WINDOW_SIZE_Y, _SCREEN_INFORMATION::Flags, FontInfo, InternalCreateCallbackThread(), LockConsole, NT_SUCCESS, NtClose(), NtCreateSection(), NtDuplicateObject(), NtMapViewOfSection(), NTSTATUS(), NtUnmapViewOfSection(), NULL, NumberOfFonts, _SCREEN_INFORMATION::PopupAttributes, _CONSOLE_PROCESS_HANDLE::ProcessHandle, _CONSOLE_PROCESS_HANDLE::PropRoutine, SCR_FACENAME(), SCR_FAMILY(), SCR_FONTNUMBER(), SCR_FONTSIZE(), SCR_FONTWEIGHT(), _SCREEN_INFORMATION::ScreenBufferSize, _FONT_INFO::SizeWant, Status, TM_IS_TT_FONT, and UnlockConsole(). Referenced by ConsoleWindowProc().
|
|
Definition at line 459 of file ntcon/server/menu.c. References ASSERT, _SCREEN_INFORMATION::BufferInfo, ChangeDispSettings(), CONSOLE_AUTO_POSITION, CONSOLE_HISTORY_NODUP, CONSOLE_IS_DBCS_ENABLED, CONSOLE_QUICK_EDIT_MODE, CONSOLE_VDM_REGISTERED, CONSOLE_WINDOW_SIZE_X, CONSOLE_WINDOW_SIZE_Y, ConvertToFullScreen(), ConvertToWindowed(), DeleteCommandLine(), FALSE, FindCreateFont(), FullScreenInitialized, GetWindowLimits(), GetWindowPlacement, IsAvailableFarEastCodePage(), _WINDOW_LIMITS::MaximumWindowSize, min, NT_SUCCESS, NtClose(), NtDuplicateObject(), NtMapViewOfSection(), NTSTATUS(), NtUnmapViewOfSection(), NULL, _COOKED_READ_DATA::NumberOfVisibleChars, _SCREEN_INFORMATION::PopupAttributes, _CONSOLE_PROCESS_HANDLE::ProcessHandle, RedrawCommandLine(), ResizeCommandHistoryBuffers(), ResizeScreenBuffer(), SCR_FONTSIZE(), _SCREEN_INFORMATION::ScreenBufferSize, SetCursorInformation(), SetCursorMode(), SetScreenBufferFont(), SetScreenColors(), SetWindowPos, SHORT, Status, TRUE, and UINT. Referenced by ConsoleWindowProc().
|
|
Definition at line 4267 of file output.c. References ASSERT, CM_CONSOLE_MSG, CONSOLE_MSG, ConsoleHeapAlloc, ConsoleHeapFree, ConsoleLocked, _CONSOLE_INFORMATION::hWnd, _CONSOLE_MSG::ListLink, _CONSOLE_MSG::lParam, MAKE_TAG, _CONSOLE_MSG::Message, _CONSOLE_INFORMATION::MessageQueue, NULL, PCONSOLE_MSG, PostMessage(), TMP_TAG, and _CONSOLE_MSG::wParam. Referenced by ConsoleWindowProc(), SrvSetConsoleCP(), and SrvSetConsoleDisplayMode().
|
|
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 1778 of file server/stream.c. References _COOKED_READ_DATA::BackupLimit, BOOL, _HANDLE_DATA::Buffer, BufferSize, _COOKED_READ_DATA::BufferSize, _RAW_READ_DATA::BufferSize, _COOKED_READ_DATA::BufPtr, _RAW_READ_DATA::BufPtr, _COOKED_READ_DATA::BytesRead, CloseOutputHandle(), _COOKED_READ_DATA::CommandHistory, _COOKED_READ_DATA::Console, _RAW_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, Echo(), _COOKED_READ_DATA::Echo, _COOKED_READ_DATA::ExeName, ExeNameLength, _COOKED_READ_DATA::ExeNameLength, FALSE, FindActiveScreenBufferHandle(), GetChar(), HANDLE_INPUT_PENDING, HANDLE_MULTI_LINE_INPUT, _COOKED_READ_DATA::HandleIndex, _RAW_READ_DATA::HandleIndex, _HANDLE_DATA::HandleType, HISTORY_TAG, _COOKED_READ_DATA::InputInfo, _RAW_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, _COOKED_READ_DATA::ProcessData, _RAW_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 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 1795 of file output.c. References _ATTR_PAIR::Attr, _ROW::AttrRow, _ATTR_ROW::Attrs, Buffer, BYTE, CHAR, _ROW::CharRow, _CHAR_ROW::Chars, CONSOLE_ASCII, CONSOLE_ATTRIBUTE, CONSOLE_FALSE_UNICODE, CONSOLE_OEMFONT_DISPLAY, CONSOLE_REAL_UNICODE, ConsoleHeapAlloc, ConsoleHeapFree, ConvertOutputToOem(), DBGOUTPUT, FalseUnicodeToRealUnicode(), FindAttrIndex(), _ATTR_PAIR::Length, MAKE_TAG, NULL, PBYTE, SHORT, TMP_TAG, UINT, UNICODE_SPACE, USACP, WcharToChar(), and WINDOWSCP. Referenced by SrvReadConsoleOutputString().
|
|
Definition at line 1415 of file output.c. References ASSERT, _ATTR_PAIR::Attr, _ROW::AttrRow, _ATTR_ROW::Attrs, BYTE, _ROW::CharRow, _CHAR_ROW::Chars, DBGOUTPUT, FALSE, FindAttrIndex(), _ATTR_PAIR::Length, PBYTE, SCREEN_BUFFER_POINTER, SHORT, TRUE, and UNICODE_SPACE. Referenced by CopyRectangle(), FE_WriteRegionToScreenHW(), ReadScreenBuffer(), ScrollRegion(), and StoreSelection().
|
|
Definition at line 1623 of file output.c. References Buffer, DBGOUTPUT, ReadRectFromScreenBuffer(), and SHORT. Referenced by BeginPopup(), and SrvReadConsoleOutput().
|
|
Definition at line 1573 of file w32/ntcon/server/misc.c. References BOOL, CHAR, CONSOLE_IS_DBCS_ENABLED, ConsoleHeapAlloc, ConsoleHeapFree, DBGCHARS, FALSE, MAKE_TAG, NT_SUCCESS, NTSTATUS(), NULL, OEMCP, RtlMultiByteToUnicodeN(), RtlUnicodeToOemN(), STACK_BUFFER_SIZE, Status, TMP_TAG, TRUE, USACP, and WINDOWSCP. Referenced by ConvertToWindowed(), FE_TranslateOutputToAnsiUnicodeInternal(), SB_TranslateOutputToAnsiUnicode(), SetScreenBufferFont(), SrvScrollConsoleScreenBuffer(), WWSB_DoSrvWriteConsole(), WWSB_FillOutput(), WWSB_WriteChars(), and WWSB_WriteOutputString().
|
|
Definition at line 184 of file ntcon/server/input.c. References NtClearEvent(). Referenced by CloseInputHandle().
|
|
Definition at line 1355 of file srvinit.c. References ASSERT, CloseInputHandle(), CloseOutputHandle(), CONSOLE_FREE_HANDLE, CONSOLE_FULLSCREEN_NOPAINT, CONSOLE_INPUT_HANDLE, CONSOLE_NOTIFY_LAST_CLOSE, CONSOLE_VDM_REGISTERED, _CONSOLE_INFORMATION::ConsoleHandle, ConsoleHeapFree, CreateCtrlThread(), _CONSOLE_PROCESS_TERMINATION_RECORD::CtrlRoutine, CtrlRoutine, DereferenceIoHandleNoCheck(), FALSE, _CONSOLE_INFORMATION::Flags, FreeCommandHistory(), FreeCon(), FreeProcessData(), _HANDLE_DATA::HandleType, _CONSOLE_INFORMATION::hProcessLastNotifyClose, NT_SUCCESS, NtClose(), NTSTATUS(), NULL, _CONSOLE_PROCESS_TERMINATION_RECORD::ProcessHandle, _CONSOLE_INFORMATION::ProcessIdLastNotifyClose, _CONSOLE_INFORMATION::RefCount, RemoveProcessFromList(), RevalidateConsole(), Status, _CONSOLE_PROCESS_TERMINATION_RECORD::TerminateCount, TRUE, UnlockConsole(), UnregisterVDM(), and _CONSOLE_INFORMATION::VDMProcessId. Referenced by ConsoleClientConnectRoutine(), ConsoleClientDisconnectRoutine(), SrvFreeConsole(), and WndProc().
|
|
Definition at line 1187 of file w32/ntcon/server/handle.c. References ASSERT, _SCREEN_INFORMATION::Next, and NULL. Referenced by CloseOutputHandle().
|
|
Definition at line 952 of file w32/ntcon/server/misc.c. References ConsoleHeapFree, _TEXT_BUFFER_FONT_INFO::NextTextBufferFont, and NULL. Referenced by CreateScreenBuffer(), and FreeScreenBuffer().
|
|
Definition at line 4726 of file server/cmdline.c. References CLE_RESET, and NULL. Referenced by AddCommand().
|
|
Definition at line 4665 of file server/cmdline.c. References CLE_ALLOCATED, _COOKED_READ_DATA::CommandHistory, History, ReallocCommandHistory(), and SHORT. Referenced by PropertiesUpdate().
|
|
Definition at line 2231 of file output.c. References ASSERT, _ATTR_PAIR::Attr, _ATTR_ROW::AttrPair, _ROW::AttrRow, _ATTR_ROW::Attrs, BOOL, CHAR, CONIME_NOTIFY_SCREENBUFFERSIZE, CONSOLE_IS_IME_ENABLED, CONSOLE_TEXTMODE_BUFFER, CONSOLE_WINDOW_SIZE_X, CONSOLE_WINDOW_SIZE_Y, ConsoleHeapAlloc, ConsoleHeapFree, ConsoleHeapReAlloc, CreateDbcsScreenBuffer(), DeleteDbcsScreenBuffer(), FALSE, FindAttrIndex(), INVALID_OLD_LENGTH, _ATTR_ROW::Length, _ATTR_PAIR::Length, MAKE_TAG, NT_SUCCESS, NULL, PBYTE, ResetTextFlags(), ROW, SCREEN_TAG, ScreenBufferSizeChange(), SetCursorPosition(), SetWindowSize(), SHORT, TRUE, UpdateScrollBars(), and UpdateWindow(). Referenced by ConvertToFullScreen(), ConvertToWindowed(), PropertiesUpdate(), SetScreenBufferFont(), and SrvSetConsoleScreenBufferSize().
|
|
Definition at line 3858 of file output.c. References ACTIVE_SCREEN_BUFFER, CONSOLE_TEXTMODE_BUFFER, CONSOLE_WINDOW_SIZE_X, CONSOLE_WINDOW_SIZE_Y, TEXT_VALID_HINT, and UpdateScrollBars(). Referenced by ConvertToWindowed(), and SrvSetConsoleWindowInfo().
|
|
Definition at line 4834 of file server/cmdline.c. References ASSERT, Buffer, BufferSize, CLE_ALLOCATED, CLE_RESET, COMMAND_IND_NEXT, COMMAND_IND_PREV, NULL, and RetrieveNthCommand(). Referenced by ProcessCommandLine().
|
|
Definition at line 1609 of file ntcon/server/input.c. References CONSOLE_FREE_KEY_INFO, CONSOLE_MAX_KEY_INFO, ConsoleKeyInfo, _CONSOLE_KEY_INFO::hWnd, hWnd, MapVirtualKey(), _CONSOLE_KEY_INFO::wVirtualKeyCode, and _CONSOLE_KEY_INFO::wVirtualScanCode. Referenced by HandleKeyEvent().
|
|
Definition at line 1686 of file w32/ntcon/server/handle.c. References CONSOLE_IN_DESTRUCTION, CONSOLE_TERMINATING, DereferenceConsoleHandle(), DestroyConsole(), EXCEPTION_EXECUTE_HANDLER, LockConsole, LockConsoleHandleTable, NT_SUCCESS, NTSTATUS(), NULL, Status, UnlockConsole(), and UnlockConsoleHandleTable. Referenced by ApiPreamble(), ConsoleAddProcessRoutine(), ConsoleClientConnectRoutine(), ConsoleClientShutdown(), ConsoleSetActiveWindow(), ConsoleWindowProc(), GetThreadConsoleDesktop(), ProcessCreateConsoleWindow(), RemoveConsole(), SrvAllocConsole(), and UnlockConsole().
|
|
Definition at line 112 of file consrv.h. References _SCREEN_INFORMATION::BufferInfo. Referenced by ConvertToFullScreen(), ConvertToWindowed(), PropertiesDlgShow(), SetFont(), and SetScreenBufferFont().
|
|
Definition at line 104 of file consrv.h. References _SCREEN_INFORMATION::BufferInfo, and BYTE. Referenced by ConvertToFullScreen(), ConvertToWindowed(), CreateScreenBuffer(), PropertiesDlgShow(), SetFont(), and SetScreenBufferFont().
|
|
Definition at line 124 of file consrv.h. References _SCREEN_INFORMATION::BufferInfo, and UINT. Referenced by ConvertToFullScreen(), ConvertToWindowed(), SetFont(), SetRAMFontCodePage(), and SetScreenBufferFont().
|
|
Definition at line 108 of file consrv.h. References _SCREEN_INFORMATION::BufferInfo, and DWORD. Referenced by ConvertToFullScreen(), ConvertToWindowed(), CreateScreenBuffer(), GetCurrentFont(), PropertiesDlgShow(), SetFont(), and SetScreenBufferFont().
|
|
Definition at line 116 of file consrv.h. References _SCREEN_INFORMATION::BufferInfo. Referenced by ConsoleWindowProc(), ConvertToFullScreen(), ConvertToWindowed(), CreateScreenBuffer(), CreateWindowsWindow(), CursorTimerRoutine(), GetAvailableFonts(), GetWindowLimits(), HandleMouseEvent(), InternalSetWindowSize(), InvertPixels(), MyInvert(), ProcessResizeWindow(), PropertiesDlgShow(), PropertiesUpdate(), ScrollIfNecessary(), ScrollScreen(), SetCursorInformation(), SetFont(), SetScreenBufferFont(), SetWindowOrigin(), SrvGetLargestConsoleWindowSize(), StreamScrollRegion(), WWSB_ConsolePolyTextOut(), and WWSB_WriteRegionToScreen().
|
|
Definition at line 120 of file consrv.h. References _SCREEN_INFORMATION::BufferInfo. Referenced by ConvertToFullScreen(), ConvertToWindowed(), PropertiesDlgShow(), SetFont(), and SetScreenBufferFont().
|
|
|
|
Definition at line 2737 of file output.c. References ACTIVE_SCREEN_BUFFER, ASSERT, BOOL, BYTE, CONSOLE_IS_ICONIC, CONSOLE_NO_WINDOW, CONSOLE_TEXTMODE_BUFFER, DBGOUTPUT, ghrgnScroll, LockScrollBuffer, NULL, SCR_FONTSIZE(), ScrollDC(), SCROLLDC_CALL, SHORT, UnlockScrollBuffer, UpdateComplexRegion(), and WriteToScreen. Referenced by ScrollRegion().
|
|
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 4072 of file output.c. References BOOL, _SCREEN_INFORMATION::BufferInfo, CONSOLE_IS_ICONIC, CONSOLE_TEXTMODE_BUFFER, CONSOLE_VDM_REGISTERED, _CONSOLE_INFORMATION::CurrentScreenBuffer, FALSE, _CONSOLE_INFORMATION::Flags, _SCREEN_INFORMATION::Flags, FlushAllButKeys(), _CONSOLE_INFORMATION::FullScreenFlags, _CONSOLE_INFORMATION::hDC, _SCREEN_INFORMATION::hPalette, _CONSOLE_INFORMATION::hSysPalette, _CONSOLE_INFORMATION::InputBuffer, _CONSOLE_INFORMATION::InputThreadInfo, NtUserSetInformationThread(), NULL, SelectPalette, SetActivePalette(), SetFont(), SetScreenColors(), SetWindowSize(), TEXT_VALID_HINT, _INPUT_THREAD_INFO::ThreadHandle, _INPUT_THREAD_INFO::ThreadId, TRUE, and WriteToScreen. Referenced by CloseOutputHandle(), and SrvSetConsoleActiveScreenBuffer().
|
|
Referenced by ConsoleWindowProc(), DisplayModeTransition(), and SrvSetConsoleKeyShortcuts(). |
|
|
|
|
|
Definition at line 474 of file ntcon/server/cursor.c. References CONSOLE_HAS_FOCUS, CONSOLE_VDM_REGISTERED, ConsoleHideCursor(), ConsoleShowCursor(), CursorTimerRoutine(), FALSE, and TRUE. Referenced by CancelKeySelection(), CommandNumberPopup(), DeleteCommandLine(), InitSelection(), ProcessCommandLine(), ProcessCopyFromCharInput(), ResizeScreenBuffer(), SrvSetConsoleCursorPosition(), and WWSB_AdjustCursorPosition().
|
|
|
|
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 4200 of file output.c. Referenced by AddProcessToList(), and ModifyConsoleProcessFocus().
|
|
Definition at line 4213 of file output.c. References NtUserSetInformationProcess(), W32PF_ALLOWSETFOREGROUND, and W32PF_CONSOLEHASFOCUS. Referenced by ConsoleClientConnectRoutine(), ModifyConsoleProcessFocus(), and SrvAllocConsole().
|
|
|
|
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 3953 of file output.c. References CM_SET_WINDOW_SIZE, CONSOLE_SETTING_WINDOW_SIZE, NULL, and PostMessage(). Referenced by ConvertToFullScreen(), ConvertToWindowed(), ResizeScreenBuffer(), SetActiveScreenBuffer(), SetScreenBufferFont(), and SrvSetConsoleWindowInfo().
|
|
Definition at line 236 of file ntcon/server/menu.c. References GetWindowText(), ghInstance, and SetWindowText(). Referenced by CancelKeySelection(), CancelMouseSelection(), ClearScroll(), ConvertToMouseSelect(), DoScroll(), DoSelectAll(), FindDialogProc(), HandleMouseEvent(), and InitSelection().
|
|
Referenced by ConsoleClientShutdown(), and UnlockConsole(). |
|
|
|
Definition at line 608 of file server/cmdline.c. References AddAlias(), AddExeAliasList(), ApiPreamble(), BYTE, _CONSOLE_ADDALIAS_MSG::ConsoleHandle, ConsoleHeapAlloc, ConsoleHeapFree, ConvertInputToUnicode(), _CONSOLE_INFORMATION::CP, _CONSOLE_ADDALIAS_MSG::Exe, _CONSOLE_ADDALIAS_MSG::ExeLength, FindAlias(), FindExe(), MAKE_TAG, NT_SUCCESS, NTSTATUS(), NULL, RemoveAlias(), ReplaceAlias(), _CONSOLE_ADDALIAS_MSG::Source, _CONSOLE_ADDALIAS_MSG::SourceLength, Status, _CONSOLE_ADDALIAS_MSG::Target, _CONSOLE_ADDALIAS_MSG::TargetLength, TMP_TAG, _CONSOLE_ADDALIAS_MSG::Unicode, _CONSOLE_ADDALIAS_MSG::UnicodeExe, UnlockConsole(), and USHORT.
|
|
Definition at line 1537 of file srvinit.c. References AddProcessToList(), AllocateCommandHistory(), _CONSOLE_ALLOC_MSG::AppName, _CONSOLE_ALLOC_MSG::AppNameLength, ASSERT, BYTE, CONSOLE_CLIENTPROCESSHANDLE, CONSOLE_GETCONSOLEAPPFROMPROCESSDATA, CONSOLE_HAS_FOCUS, CONSOLE_PERPROCESSDATA, CONSOLE_SETCONSOLEAPP, CONSOLE_SHUTTING_DOWN, _CONSOLE_INFO::ConsoleHandle, ConsoleHeapAlloc, ConsoleHeapFree, _CONSOLE_ALLOC_MSG::ConsoleInfo, _CONSOLE_PROCESS_HANDLE::CtrlRoutine, _CONSOLE_ALLOC_MSG::CtrlRoutine, _CONSOLE_ALLOC_MSG::CurDir, _CONSOLE_ALLOC_MSG::CurDirLength, _CONSOLE_ALLOC_MSG::Desktop, _CONSOLE_ALLOC_MSG::DesktopLength, _CONSOLE_INFORMATION::Flags, HANDLE_TAG, L, MAKE_TAG, NT_SUCCESS, NTSTATUS(), NULL, PCONSOLE_ALLOC_MSG, _CONSOLE_PROCESS_HANDLE::Process, _CONSOLE_PROCESS_HANDLE::PropRoutine, _CONSOLE_ALLOC_MSG::PropRoutine, RevalidateConsole(), RtlInitUnicodeString(), SetProcessForegroundRights(), SetUpConsole(), Status, _CONSOLE_ALLOC_MSG::Title, _CONSOLE_ALLOC_MSG::TitleLength, TRUE, and UnlockConsole().
|
|
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 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 1607 of file directio.c. References AllocateIoHandle(), ApiPreamble(), ASSERT, _SCREEN_INFORMATION::Attributes, _HANDLE_DATA::Buffer, BYTE, CON_FACENAME, CON_FAMILY, CON_FONTCODEPAGE, CON_FONTSIZE, CON_FONTWEIGHT, CONSOLE_GRAPHICS_BUFFER, CONSOLE_GRAPHICS_OUTPUT_HANDLE, CONSOLE_INHERITABLE, CONSOLE_OUTPUT_HANDLE, CONSOLE_PERPROCESSDATA, CONSOLE_WINDOW_SIZE_X, CONSOLE_WINDOW_SIZE_Y, ConsoleAddShare(), _CONSOLE_CREATESCREENBUFFER_MSG::ConsoleHandle, CreateScreenBuffer(), _CONSOLE_INFORMATION::CurrentScreenBuffer, CURSOR_SMALL_SIZE, DBGOUTPUT, DereferenceIoHandleNoCheck(), _CONSOLE_CREATESCREENBUFFER_MSG::DesiredAccess, FindCreateFont(), _CONSOLE_CREATESCREENBUFFER_MSG::Flags, FreeIoHandle(), FreeScreenBuffer(), _CONSOLE_CREATESCREENBUFFER_MSG::GraphicsBufferInfo, Handle, _CONSOLE_CREATESCREENBUFFER_MSG::Handle, _CONSOLE_CREATESCREENBUFFER_MSG::hMutex, INDEX_TO_HANDLE, _CONSOLE_CREATESCREENBUFFER_MSG::InheritHandle, InitializeOutputHandle(), InsertScreenBuffer(), _CONSOLE_CREATESCREENBUFFER_MSG::lpBitmap, NT_SUCCESS, NTSTATUS(), NULL, _SCREEN_INFORMATION::ShareAccess, _CONSOLE_CREATESCREENBUFFER_MSG::ShareMode, SHORT, Status, 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 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 731 of file server/cmdline.c. References ApiPreamble(), BYTE, CHAR_COUNT, _CONSOLE_GETALIAS_MSG::ConsoleHandle, ConsoleHeapAlloc, ConsoleHeapFree, ConvertInputToUnicode(), ConvertToOem(), _CONSOLE_INFORMATION::CP, _CONSOLE_GETALIAS_MSG::Exe, _CONSOLE_GETALIAS_MSG::ExeLength, FindAlias(), FindExe(), L, MAKE_TAG, NT_SUCCESS, NTSTATUS(), NULL, _CONSOLE_GETALIAS_MSG::Source, _CONSOLE_GETALIAS_MSG::SourceLength, Status, _ALIAS::Target, _CONSOLE_GETALIAS_MSG::Target, _ALIAS::TargetLength, _CONSOLE_GETALIAS_MSG::TargetLength, TMP_TAG, _CONSOLE_GETALIAS_MSG::Unicode, _CONSOLE_GETALIAS_MSG::UnicodeExe, UnlockConsole(), and USHORT.
|
|
Definition at line 903 of file server/cmdline.c. References _CONSOLE_GETALIASES_MSG::AliasesBuffer, _CONSOLE_GETALIASES_MSG::AliasesBufferLength, _EXE_ALIAS_LIST::AliasList, ApiPreamble(), BYTE, CHAR, CHAR_COUNT, _CONSOLE_GETALIASES_MSG::ConsoleHandle, ConvertToOem(), _CONSOLE_INFORMATION::CP, DWORD, _CONSOLE_GETALIASES_MSG::Exe, _CONSOLE_GETALIASES_MSG::ExeLength, FindExe(), NT_SUCCESS, NTSTATUS(), _ALIAS::Source, _ALIAS::SourceLength, Status, _ALIAS::Target, _ALIAS::TargetLength, _CONSOLE_GETALIASES_MSG::Unicode, _CONSOLE_GETALIASES_MSG::UnicodeExe, UnlockConsole(), and USHORT.
|
|
Definition at line 834 of file server/cmdline.c. References _CONSOLE_GETALIASESLENGTH_MSG::AliasesLength, _EXE_ALIAS_LIST::AliasList, ApiPreamble(), BYTE, _CONSOLE_GETALIASESLENGTH_MSG::ConsoleHandle, _CONSOLE_GETALIASESLENGTH_MSG::Exe, _CONSOLE_GETALIASESLENGTH_MSG::ExeLength, FindExe(), NT_SUCCESS, NTSTATUS(), _ALIAS::SourceLength, Status, _ALIAS::TargetLength, _CONSOLE_GETALIASESLENGTH_MSG::Unicode, _CONSOLE_GETALIASESLENGTH_MSG::UnicodeExe, and UnlockConsole().
|
|
Definition at line 1029 of file server/cmdline.c. References _CONSOLE_GETALIASEXES_MSG::AliasExesBuffer, _CONSOLE_GETALIASEXES_MSG::AliasExesBufferLength, ApiPreamble(), BYTE, CHAR, CHAR_COUNT, _CONSOLE_GETALIASEXES_MSG::ConsoleHandle, ConvertToOem(), _CONSOLE_INFORMATION::CP, DWORD, _CONSOLE_INFORMATION::ExeAliasList, _EXE_ALIAS_LIST::ExeLength, _EXE_ALIAS_LIST::ExeName, NT_SUCCESS, NTSTATUS(), Status, _CONSOLE_GETALIASEXES_MSG::Unicode, UnlockConsole(), and USHORT.
|
|
Definition at line 994 of file server/cmdline.c. References _CONSOLE_GETALIASEXESLENGTH_MSG::AliasExesLength, ApiPreamble(), _CONSOLE_GETALIASEXESLENGTH_MSG::ConsoleHandle, _CONSOLE_INFORMATION::ExeAliasList, _EXE_ALIAS_LIST::ExeLength, NT_SUCCESS, NTSTATUS(), Status, _CONSOLE_GETALIASEXESLENGTH_MSG::Unicode, and UnlockConsole().
|
|
Definition at line 1500 of file server/cmdline.c. References ApiPreamble(), BYTE, CHAR, CHAR_COUNT, _COMMAND::Command, _CONSOLE_GETCOMMANDHISTORY_MSG::CommandBuffer, _CONSOLE_GETCOMMANDHISTORY_MSG::CommandBufferLength, _COMMAND::CommandLength, _COMMAND_HISTORY::Commands, _CONSOLE_GETCOMMANDHISTORY_MSG::ConsoleHandle, ConvertToOem(), _CONSOLE_INFORMATION::CP, _CONSOLE_GETCOMMANDHISTORY_MSG::Exe, _CONSOLE_GETCOMMANDHISTORY_MSG::ExeLength, FindExeCommandHistory(), NT_SUCCESS, NTSTATUS(), _COMMAND_HISTORY::NumberOfCommands, SHORT, Status, _CONSOLE_GETCOMMANDHISTORY_MSG::Unicode, _CONSOLE_GETCOMMANDHISTORY_MSG::UnicodeExe, UnlockConsole(), and USHORT.
|
|
|
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 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 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 2232 of file server/private.c. References ApiPreamble(), _HANDLE_DATA::Buffer, _SCREEN_INFORMATION::BufferInfo, CONSOLE_OUTPUT_HANDLE, CONSOLE_PERPROCESSDATA, _CONSOLE_GETHARDWARESTATE_MSG::ConsoleHandle, DereferenceIoHandle(), _CONSOLE_GETHARDWARESTATE_MSG::FontSize, _MODE_FONT_PAIR::FontSize, ModeFontPairs, NT_SUCCESS, NTSTATUS(), _CONSOLE_GETHARDWARESTATE_MSG::OutputHandle, RegModeFontPairs, _CONSOLE_GETHARDWARESTATE_MSG::Resolution, _MODE_FONT_PAIR::Resolution, Status, and UnlockConsole().
|
|
Definition at line 556 of file directio.c. References ApiPreamble(), Buffer, _HANDLE_DATA::Buffer, _CONSOLE_GETCONSOLEINPUT_MSG::BufPtr, _DIRECT_READ_DATA::Console, CONSOLE_INPUT_HANDLE, CONSOLE_PERPROCESSDATA, CONSOLE_STATUS_WAIT, _CONSOLE_GETCONSOLEINPUT_MSG::ConsoleHandle, DereferenceIoHandle(), DIRECT_READ_DATA, DirectReadWaitRoutine(), FALSE, _CONSOLE_GETCONSOLEINPUT_MSG::Flags, HANDLE_TO_INDEX, _DIRECT_READ_DATA::HandleIndex, INPUT_RECORD_BUFFER_SIZE, _CONSOLE_GETCONSOLEINPUT_MSG::InputHandle, _DIRECT_READ_DATA::InputInfo, NT_SUCCESS, NTSTATUS(), NULL, _CONSOLE_GETCONSOLEINPUT_MSG::NumRecords, _DIRECT_READ_DATA::ProcessData, ReadInputBuffer(), _CONSOLE_GETCONSOLEINPUT_MSG::Record, Status, TranslateInputToOem(), TRUE, _CONSOLE_GETCONSOLEINPUT_MSG::Unicode, 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 2680 of file srvinit.c. References ApiPreamble(), _CONSOLE_LANGID_MSG::ConsoleHandle, GetConsoleLangId(), _CONSOLE_LANGID_MSG::LangId, NT_SUCCESS, NTSTATUS(), _CONSOLE_INFORMATION::OutputCP, PCONSOLE_LANGID_MSG, Status, 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 4879 of file server/cmdline.c. References ApiPreamble(), BYTE, _CONSOLE_GETTITLE_MSG::ConsoleHandle, ConvertToOem(), _CONSOLE_INFORMATION::CP, NT_SUCCESS, NTSTATUS(), OEMCP, Status, _CONSOLE_INFORMATION::Title, _CONSOLE_GETTITLE_MSG::Title, _CONSOLE_INFORMATION::TitleLength, _CONSOLE_GETTITLE_MSG::TitleLength, _CONSOLE_GETTITLE_MSG::Unicode, UnlockConsole(), and USHORT.
|
|
Definition at line 1424 of file ntcon/server/getset.c. References ApiPreamble(), _CONSOLE_GETCONSOLEWINDOW_MSG::ConsoleHandle, _CONSOLE_GETCONSOLEWINDOW_MSG::hwnd, _CONSOLE_INFORMATION::hWnd, NT_SUCCESS, NTSTATUS(), Status, 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 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 168 of file w32/ntcon/server/bitmap.c. References ApiPreamble(), ASSERT, _HANDLE_DATA::Buffer, CONSOLE_GRAPHICS_OUTPUT_HANDLE, CONSOLE_IS_DBCS_ENABLED, CONSOLE_OEMFONT_DISPLAY, CONSOLE_OUTPUT_HANDLE, CONSOLE_PERPROCESSDATA, _CONSOLE_INVALIDATERECT_MSG::ConsoleHandle, _CONSOLE_INFORMATION::CP, _CONSOLE_INFORMATION::CurrentScreenBuffer, DereferenceIoHandle(), _SCREEN_INFORMATION::Flags, _CONSOLE_INFORMATION::FullScreenFlags, _HANDLE_DATA::HandleType, NT_SUCCESS, NTSTATUS(), NULL, _CONSOLE_INFORMATION::OutputCP, _CONSOLE_INVALIDATERECT_MSG::OutputHandle, PBYTE, PCONSOLE_INVALIDATERECT_MSG, _CONSOLE_INVALIDATERECT_MSG::Rect, Status, UINT, UnlockConsole(), USACP, _CONSOLE_INFORMATION::VDMBuffer, _CONSOLE_INFORMATION::VDMBufferSize, WINDOWSCP, WriteRectToScreenBuffer, and WriteToScreen.
|
|
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(), Handle, _CONSOLE_OPENCONSOLE_MSG::Handle, _CONSOLE_OPENCONSOLE_MSG::HandleType, _HANDLE_DATA::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(), Buffer, _CONSOLE_READCONSOLE_MSG::Buffer, _HANDLE_DATA::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 1207 of file directio.c. References ApiPreamble(), Buffer, _HANDLE_DATA::Buffer, BufferSize, _CONSOLE_READCONSOLEOUTPUT_MSG::BufPtr, _CONSOLE_READCONSOLEOUTPUT_MSG::Char, _CONSOLE_READCONSOLEOUTPUT_MSG::CharRegion, CONSOLE_OEMFONT_DISPLAY, CONSOLE_OUTPUT_HANDLE, CONSOLE_PERPROCESSDATA, _CONSOLE_READCONSOLEOUTPUT_MSG::ConsoleHandle, _CONSOLE_INFORMATION::CurrentScreenBuffer, DBGOUTPUT, DereferenceIoHandle(), _SCREEN_INFORMATION::Flags, _CONSOLE_INFORMATION::FullScreenFlags, NT_SUCCESS, NTSTATUS(), _CONSOLE_READCONSOLEOUTPUT_MSG::OutputHandle, ReadScreenBuffer(), SHORT, Status, TranslateOutputToOem(), TranslateOutputToOemUnicode(), TRUE, _CONSOLE_READCONSOLEOUTPUT_MSG::Unicode, UnlockConsole(), and USHORT.
|
|
Definition at line 1448 of file directio.c. References ApiPreamble(), Buffer, _HANDLE_DATA::Buffer, _CONSOLE_READCONSOLEOUTPUTSTRING_MSG::BufPtr, CHAR, CONSOLE_ASCII, CONSOLE_OUTPUT_HANDLE, CONSOLE_PERPROCESSDATA, _CONSOLE_READCONSOLEOUTPUTSTRING_MSG::ConsoleHandle, DereferenceIoHandle(), NT_SUCCESS, NTSTATUS(), _CONSOLE_READCONSOLEOUTPUTSTRING_MSG::NumRecords, _CONSOLE_READCONSOLEOUTPUTSTRING_MSG::OutputHandle, _CONSOLE_READCONSOLEOUTPUTSTRING_MSG::ReadCoord, ReadOutputString(), Status, _CONSOLE_READCONSOLEOUTPUTSTRING_MSG::String, _CONSOLE_READCONSOLEOUTPUTSTRING_MSG::StringType, 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, _CONSOLE_INFORMATION::Flags, _SCREEN_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_INFORMATION::StateBuffer, _CONSOLE_REGISTERVDM_MSG::StateBuffer, _CONSOLE_INFORMATION::StateBufferClient, _CONSOLE_REGISTERVDM_MSG::StateLength, _CONSOLE_INFORMATION::StateLength, _CONSOLE_INFORMATION::StateSectionHandle, _CONSOLE_REGISTERVDM_MSG::StateSectionName, _CONSOLE_REGISTERVDM_MSG::StateSectionNameLength, Status, _INPUT_THREAD_INFO::ThreadHandle, TIF_VDMAPP, TRUE, UnlockConsole(), UnregisterVDM(), _CONSOLE_INFORMATION::VDMBuffer, _CONSOLE_REGISTERVDM_MSG::VDMBuffer, _CONSOLE_INFORMATION::VDMBufferClient, _CONSOLE_INFORMATION::VDMBufferSectionHandle, _CONSOLE_REGISTERVDM_MSG::VDMBufferSectionName, _CONSOLE_REGISTERVDM_MSG::VDMBufferSectionNameLength, _CONSOLE_REGISTERVDM_MSG::VDMBufferSize, _CONSOLE_INFORMATION::VDMBufferSize, _CONSOLE_INFORMATION::VDMEndHardwareEvent, _CONSOLE_INFORMATION::VDMProcessHandle, _CONSOLE_INFORMATION::VDMProcessId, and _CONSOLE_INFORMATION::VDMStartHardwareEvent.
|
|
|
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 1575 of file server/cmdline.c. References ApiPreamble(), _CONSOLE_SETCOMMANDHISTORYMODE_MSG::ConsoleHandle, _CONSOLE_SETCOMMANDHISTORYMODE_MSG::Flags, _CONSOLE_INFORMATION::InsertMode, NT_SUCCESS, NTSTATUS(), 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 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 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 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 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 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, _CONSOLE_SETHARDWARESTATE_MSG::FontSize, _MODE_FONT_PAIR::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, _CONSOLE_SETHARDWARESTATE_MSG::Resolution, _MODE_FONT_PAIR::Resolution, Status, and UnlockConsole().
|
|
Definition at line 1164 of file ntcon/server/getset.c. References ApiPreamble(), _CONSOLE_SETICON_MSG::ConsoleHandle, CopyIcon(), DestroyIcon, ghDefaultIcon, ghDefaultSmIcon, _CONSOLE_SETICON_MSG::hIcon, _CONSOLE_INFORMATION::hIcon, _CONSOLE_INFORMATION::hSmIcon, _CONSOLE_INFORMATION::hWnd, NT_SUCCESS, NTSTATUS(), NULL, PostMessage(), 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_INFORMATION::ReserveKeys, _CONSOLE_SETKEYSHORTCUTS_MSG::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 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, _CONSOLE_INFORMATION::Flags, _SCREEN_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 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 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 4929 of file server/cmdline.c. References ApiPreamble(), BYTE, CM_UPDATE_TITLE, _CONSOLE_SETTITLE_MSG::ConsoleHandle, ConsoleHeapAlloc, ConsoleHeapFree, ConvertInputToUnicode(), _CONSOLE_INFORMATION::CP, _CONSOLE_INFORMATION::hWnd, MAKE_TAG, NT_SUCCESS, NTSTATUS(), NULL, OEMCP, PostMessage(), Status, _CONSOLE_INFORMATION::Title, _CONSOLE_SETTITLE_MSG::Title, TITLE_TAG, _CONSOLE_INFORMATION::TitleLength, _CONSOLE_SETTITLE_MSG::TitleLength, _CONSOLE_SETTITLE_MSG::Unicode, UnlockConsole(), and USHORT.
|
|
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(), _CONSOLE_SETWINDOWINFO_MSG::Window, _SCREEN_INFORMATION::Window, WINDOW_SIZE_X, WINDOW_SIZE_Y, and WriteToScreen.
|
|
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 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 24 of file srvvdm.c. References ApiPreamble(), ASSERT, _CONSOLE_VDM_MSG::Bool, BYTE, ClientToScreen(), CM_HIDE_WINDOW, CONSOLE_CLIENTPROCESSID, CONSOLE_FULLSCREEN_NOPAINT, CONSOLE_NO_WINDOW, CONSOLE_VDM_REGISTERED, _CONSOLE_VDM_MSG::ConsoleHandle, ConsoleHeapAlloc, ConsoleHeapFree, ConsoleHeapSize, DWORD, FALSE, _CONSOLE_INFORMATION::Flags, GetClientRect(), _CONSOLE_INFORMATION::hWnd, _CONSOLE_VDM_MSG::iFunction, IsIconic(), MAKE_TAG, NT_SUCCESS, NTSTATUS(), NULL, PBYTE, PCONSOLE_VDM_MSG, _CONSOLE_VDM_MSG::Point, PostMessage(), _CONSOLE_VDM_MSG::Rect, ScreenToClient(), _CONSOLE_INFORMATION::StateBuffer, _CONSOLE_INFORMATION::StateLength, Status, UnlockConsole(), and _CONSOLE_INFORMATION::VDMProcessId.
|
|
Definition at line 1582 of file w32/ntcon/server/handle.c. References ApiPreamble(), CONSOLE_PERPROCESSDATA, _CONSOLE_VERIFYIOHANDLE_MSG::ConsoleHandle, DereferenceIoHandleNoCheck(), _CONSOLE_VERIFYIOHANDLE_MSG::Handle, HANDLE_TO_INDEX, NT_SUCCESS, NTSTATUS(), Status, UnlockConsole(), and _CONSOLE_VERIFYIOHANDLE_MSG::Valid.
|
|
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 730 of file directio.c. References ApiPreamble(), _CONSOLE_WRITECONSOLEINPUT_MSG::Append, Buffer, _HANDLE_DATA::Buffer, _CONSOLE_WRITECONSOLEINPUT_MSG::BufPtr, CONSOLE_INPUT_HANDLE, CONSOLE_PERPROCESSDATA, _CONSOLE_WRITECONSOLEINPUT_MSG::ConsoleHandle, DereferenceIoHandle(), INPUT_RECORD_BUFFER_SIZE, _CONSOLE_WRITECONSOLEINPUT_MSG::InputHandle, NT_SUCCESS, NTSTATUS(), _CONSOLE_WRITECONSOLEINPUT_MSG::NumRecords, PrependInputBuffer(), _CONSOLE_WRITECONSOLEINPUT_MSG::Record, Status, TranslateInputToUnicode(), _CONSOLE_WRITECONSOLEINPUT_MSG::Unicode, UnlockConsole(), and WriteInputBuffer().
|
|
Definition at line 1284 of file directio.c. References ApiPreamble(), Buffer, _HANDLE_DATA::Buffer, _SCREEN_INFORMATION::BufferInfo, BufferSize, _CONSOLE_WRITECONSOLEOUTPUT_MSG::BufPtr, BYTE, _CONSOLE_WRITECONSOLEOUTPUT_MSG::Char, _CONSOLE_WRITECONSOLEOUTPUT_MSG::CharRegion, CONSOLE_CLIENTPROCESSHANDLE, CONSOLE_OEMFONT_DISPLAY, CONSOLE_OUTPUT_HANDLE, CONSOLE_PERPROCESSDATA, _CONSOLE_WRITECONSOLEOUTPUT_MSG::ConsoleHandle, ConsoleHeapAlloc, ConsoleHeapFree, _CONSOLE_INFORMATION::CurrentScreenBuffer, DBGOUTPUT, DereferenceIoHandle(), FE_TranslateOutputToAnsiUnicode(), _SCREEN_INFORMATION::Flags, _CONSOLE_INFORMATION::Flags, _CONSOLE_INFORMATION::FullScreenFlags, _CONSOLE_INFORMATION::InputBuffer, _INPUT_INFORMATION::InputMode, MAKE_TAG, NT_SUCCESS, NtReadVirtualMemory(), NTSTATUS(), NULL, _CONSOLE_WRITECONSOLEOUTPUT_MSG::OutputHandle, _CONSOLE_WRITECONSOLEOUTPUT_MSG::ReadVM, SB_TranslateOutputToAnsiUnicode(), SHORT, Status, TEXT_VALID_HINT, TMP_TAG, TranslateOutputToAnsiUnicode(), TranslateOutputToUnicode, _CONSOLE_WRITECONSOLEOUTPUT_MSG::Unicode, UnlockConsole(), USHORT, WriteScreenBuffer(), and WriteToScreen.
|
|
Definition at line 1508 of file directio.c. References ApiPreamble(), Buffer, _HANDLE_DATA::Buffer, _CONSOLE_WRITECONSOLEOUTPUTSTRING_MSG::BufPtr, CHAR, CONSOLE_ASCII, CONSOLE_OUTPUT_HANDLE, CONSOLE_PERPROCESSDATA, _CONSOLE_WRITECONSOLEOUTPUTSTRING_MSG::ConsoleHandle, DereferenceIoHandle(), NT_SUCCESS, NTSTATUS(), NULL, _CONSOLE_WRITECONSOLEOUTPUTSTRING_MSG::NumRecords, _CONSOLE_WRITECONSOLEOUTPUTSTRING_MSG::OutputHandle, Status, _CONSOLE_WRITECONSOLEOUTPUTSTRING_MSG::String, _CONSOLE_WRITECONSOLEOUTPUTSTRING_MSG::StringType, UnlockConsole(), _CONSOLE_WRITECONSOLEOUTPUTSTRING_MSG::WriteCoord, and WriteOutputString.
|
|
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 452 of file ntcon/server/clipbrd.c. References BisectClipbrd(), BOOL, _SCREEN_INFORMATION::BufferInfo, CloseClipboard, CONSOLE_OEMFONT_DISPLAY, CONSOLE_SELECTION_NOT_EMPTY, CONSOLE_TEXTMODE_BUFFER, CONSOLE_VDM_REGISTERED, ConsoleHeapAlloc, ConsoleHeapFree, ConsoleHeapSize, FALSE, FalseUnicodeToRealUnicode(), _SCREEN_INFORMATION::Flags, GetKeyState(), _SCREEN_INFORMATION::hPalette, KEY_PRESSED, MAKE_TAG, MyInvert(), NtReleaseMutant(), NtWaitForSingleObject(), NULL, OpenClipboard(), ReadRectFromScreenBuffer(), _SCREEN_INFORMATION::ScreenBufferSize, SelectPalette, SetClipboardData(), SHORT, StringLength(), TMP_TAG, UNICODE_CARRIAGERETURN, UNICODE_LINEFEED, UNICODE_SPACE, _SCREEN_INFORMATION::Window, WINDOW_SIZE_X, and WINDOW_SIZE_Y. Referenced by DoCopy(), and HandleKeyEvent().
|
|
Definition at line 881 of file w32/ntcon/server/misc.c. References ConsoleHeapAlloc, _TEXT_BUFFER_FONT_INFO::FaceName, _TEXT_BUFFER_FONT_INFO::Family, FONT_TAG, _TEXT_BUFFER_FONT_INFO::FontCodePage, _TEXT_BUFFER_FONT_INFO::FontNumber, _TEXT_BUFFER_FONT_INFO::FontSize, MAKE_TAG, _TEXT_BUFFER_FONT_INFO::NextTextBufferFont, NULL, and _TEXT_BUFFER_FONT_INFO::Weight. Referenced by ConvertToFullScreen(), ConvertToWindowed(), CreateScreenBuffer(), SetFont(), and SetScreenBufferFont().
|
|
Definition at line 2998 of file output.c. References ACTIVE_SCREEN_BUFFER, ASSERT, _ATTR_PAIR::Attr, _ATTR_ROW::AttrPair, _ROW::AttrRow, _ATTR_ROW::Attrs, BOOL, Rect::bottom, _ROW::CharRow, _CHAR_ROW::Chars, CONSOLE_IS_ICONIC, CONSOLE_NO_WINDOW, CONSOLE_TEXTMODE_BUFFER, ConsoleHeapFree, ConsoleHideCursor(), ConsoleShowCursor(), _CONSOLE_INFORMATION::Flags, _CONSOLE_INFORMATION::FullScreenFlags, ghrgnScroll, _CONSOLE_INFORMATION::hDC, INVALID_OLD_LENGTH, _CHAR_ROW::Left, Rect::left, _ATTR_ROW::Length, _ATTR_PAIR::Length, LockScrollBuffer, max, min, NULL, _CHAR_ROW::OldLeft, _CHAR_ROW::OldRight, PBYTE, Rect, _CHAR_ROW::Right, Rect::right, SCR_FONTSIZE(), ScrollDC(), ScrollEntireScreen(), SHORT, TEXT_VALID_HINT, Rect::top, TRUE, UnlockScrollBuffer, UpdateComplexRegion(), UsePolyTextOut, WINDOW_SIZE_X, WINDOW_SIZE_Y, WriteRegionToScreen, and WriteToScreen. Referenced by WWSB_AdjustCursorPosition().
|
|
Definition at line 1831 of file srvinit.c. References ConsoleHeapAlloc, MAKE_TAG, MyStringCompareW(), NULL, PBYTE, SYSTEM_ROOT, SYSTEM_ROOT_LENGTH, TITLE_TAG, TRUE, and USHORT. Referenced by AllocateConsole(), and GetRegistryValues().
|
|
Definition at line 1191 of file directio.c. References FALSE, FE_TranslateOutputToAnsiUnicodeInternal(), and Size.
|
|
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().
|
|
|
Referenced by AllocateConsole(), RtlDeleteCriticalSection(), and RtlInitializeCriticalSectionAndSpinCount(). |
|
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 573 of file server/private.c. References BOOL, FALSE, NtUserSetInformationThread(), NULL, RealizePalette, and TRUE. Referenced by ConsoleWindowProc(), and DisplayModeTransition().
|
|
Referenced by HandleMouseEvent(). |
|
Definition at line 370 of file w32/ntcon/server/handle.c. References ConsoleHandles, NULL, and NumberOfConsoleHandles. Referenced by ConsoleWindowProc(), and UnlockConsole().
|
|
Definition at line 4575 of file output.c. References ASSERT, CONSOLE_SCROLLBAR_TRACKING, CONSOLE_TEXTMODE_BUFFER, CONSOLE_WINDOW_SIZE_Y, max, min, SetWindowOrigin(), SHORT, TEXT_VALID_HINT, TRUE, and UnblockWriteConsole(). Referenced by ConsoleWindowProc(), and HandleKeyEvent().
|
|
Definition at line 1489 of file w32/ntcon/server/misc.c. References DBGCHARS, NULL, OEMCP, and RtlUnicodeToOemN(). Referenced by FE_WriteRegionToScreenHW(), ReadOutputString(), SB_TranslateOutputToOem(), and TranslateInputToOem().
|
|
|
|
Definition at line 293 of file w32/ntcon/server/bitmap.c. References DWORD, FALSE, InvertSelection(), NtReleaseMutant(), NtWaitForSingleObject(), NULL, and TRUE. Referenced by ConsoleWindowProc(), and WWSB_WriteToScreen().
|
|
|
|
Definition at line 165 of file consrv.h. Referenced by ConServerDllInitialization(). |
|
Definition at line 164 of file consrv.h. Referenced by ConServerDllInitialization(). |