#include "precomp.h"
Go to the source code of this file.
Defines | |
#define | SCREEN_BUFFER_POINTER(BASE, X, Y, XSIZE, CELLSIZE) ((ULONG_PTR)BASE + ((XSIZE * (Y)) + (X)) * (ULONG)CELLSIZE) |
Functions | |
BOOL APIENTRY | GetConsoleInput (IN HANDLE hConsoleInput, OUT PINPUT_RECORD lpBuffer, IN DWORD nLength, OUT LPDWORD lpNumberOfEventsRead, IN USHORT wFlags, IN BOOLEAN Unicode) |
BOOL APIENTRY | PeekConsoleInputA (HANDLE hConsoleInput, PINPUT_RECORD lpBuffer, DWORD nLength, LPDWORD lpNumberOfEventsRead) |
defined(BUILD_WOW6432) | |
BOOL APIENTRY | PeekConsoleInputW (HANDLE hConsoleInput, PINPUT_RECORD lpBuffer, DWORD nLength, LPDWORD lpNumberOfEventsRead) |
BOOL APIENTRY | ReadConsoleInputA (HANDLE hConsoleInput, PINPUT_RECORD lpBuffer, DWORD nLength, LPDWORD lpNumberOfEventsRead) |
BOOL APIENTRY | ReadConsoleInputW (HANDLE hConsoleInput, PINPUT_RECORD lpBuffer, DWORD nLength, LPDWORD lpNumberOfEventsRead) |
BOOL APIENTRY | ReadConsoleInputExA (HANDLE hConsoleInput, PINPUT_RECORD lpBuffer, DWORD nLength, LPDWORD lpNumberOfEventsRead, USHORT wFlags) |
BOOL APIENTRY | ReadConsoleInputExW (HANDLE hConsoleInput, PINPUT_RECORD lpBuffer, DWORD nLength, LPDWORD lpNumberOfEventsRead, USHORT wFlags) |
BOOL APIENTRY | WriteConsoleInputInternal (IN HANDLE hConsoleInput, IN CONST INPUT_RECORD *lpBuffer, IN DWORD nLength, OUT LPDWORD lpNumberOfEventsWritten, IN BOOLEAN Unicode, IN BOOLEAN Append) |
defined(BUILD_WOW64) | |
BOOL APIENTRY | WriteConsoleInputA (HANDLE hConsoleInput, CONST INPUT_RECORD *lpBuffer, DWORD nLength, LPDWORD lpNumberOfEventsWritten) |
defined(BUILD_WOW6432) | |
BOOL APIENTRY | WriteConsoleInputW (HANDLE hConsoleInput, CONST INPUT_RECORD *lpBuffer, DWORD nLength, LPDWORD lpNumberOfEventsWritten) |
VOID | CopyRectangle (IN CONST CHAR_INFO *Source, IN COORD SourceSize, IN PSMALL_RECT SourceRect, OUT PCHAR_INFO Target, IN COORD TargetSize, IN COORD TargetPoint) |
defined(BUILD_WOW64) | |
BOOL APIENTRY | ReadConsoleOutputInternal (IN HANDLE hConsoleOutput, OUT PCHAR_INFO lpBuffer, IN COORD dwBufferSize, IN COORD dwBufferCoord, IN OUT PSMALL_RECT lpReadRegion, IN BOOLEAN Unicode) |
BOOL APIENTRY | ReadConsoleOutputW (HANDLE hConsoleOutput, PCHAR_INFO lpBuffer, COORD dwBufferSize, COORD dwBufferCoord, PSMALL_RECT lpReadRegion) |
defined(BUILD_WOW6432) | |
BOOL APIENTRY | ReadConsoleOutputA (HANDLE hConsoleOutput, PCHAR_INFO lpBuffer, COORD dwBufferSize, COORD dwBufferCoord, PSMALL_RECT lpReadRegion) |
BOOL APIENTRY | WriteConsoleOutputInternal (IN HANDLE hConsoleOutput, IN CONST CHAR_INFO *lpBuffer, IN COORD dwBufferSize, IN COORD dwBufferCoord, IN PSMALL_RECT lpWriteRegion, IN BOOLEAN Unicode) |
defined(BUILD_WOW64) | |
BOOL APIENTRY | WriteConsoleOutputW (HANDLE hConsoleOutput, CONST CHAR_INFO *lpBuffer, COORD dwBufferSize, COORD dwBufferCoord, PSMALL_RECT lpWriteRegion) |
defined(BUILD_WOW6432) | |
BOOL APIENTRY | WriteConsoleOutputA (HANDLE hConsoleOutput, CONST CHAR_INFO *lpBuffer, COORD dwBufferSize, COORD dwBufferCoord, PSMALL_RECT lpWriteRegion) |
BOOL APIENTRY | ReadConsoleOutputString (IN HANDLE hConsoleOutput, OUT LPVOID lpString, IN DWORD nLength, IN DWORD nSize, IN DWORD fFlags, IN COORD dwReadCoord, OUT LPDWORD lpNumberOfElementsRead) |
BOOL APIENTRY | ReadConsoleOutputCharacterA (HANDLE hConsoleOutput, LPSTR lpCharacter, DWORD nLength, COORD dwReadCoord, LPDWORD lpNumberOfCharsRead) |
defined(BUILD_WOW6432) | |
BOOL APIENTRY | ReadConsoleOutputCharacterW (HANDLE hConsoleOutput, LPWSTR lpCharacter, DWORD nLength, COORD dwReadCoord, LPDWORD lpNumberOfCharsRead) |
BOOL APIENTRY | ReadConsoleOutputAttribute (HANDLE hConsoleOutput, LPWORD lpAttribute, DWORD nLength, COORD dwReadCoord, LPDWORD lpNumberOfAttrsRead) |
BOOL APIENTRY | WriteConsoleOutputString (IN HANDLE hConsoleOutput, IN CONST VOID *lpString, IN DWORD nLength, IN DWORD nSize, IN DWORD fFlags, IN COORD dwWriteCoord, OUT LPDWORD lpNumberOfElementsWritten) |
defined(BUILD_WOW64) | |
BOOL APIENTRY | WriteConsoleOutputCharacterA (HANDLE hConsoleOutput, LPCSTR lpCharacter, DWORD nLength, COORD dwWriteCoord, LPDWORD lpNumberOfCharsWritten) |
defined(BUILD_WOW6432) | |
BOOL APIENTRY | WriteConsoleOutputCharacterW (HANDLE hConsoleOutput, LPCWSTR lpCharacter, DWORD nLength, COORD dwWriteCoord, LPDWORD lpNumberOfCharsWritten) |
BOOL APIENTRY | WriteConsoleOutputAttribute (HANDLE hConsoleOutput, CONST WORD *lpAttribute, DWORD nLength, COORD dwWriteCoord, LPDWORD lpNumberOfAttrsWritten) |
BOOL APIENTRY | FillConsoleOutput (IN HANDLE hConsoleOutput, IN WORD Element, IN DWORD nLength, IN DWORD fFlags, IN COORD dwWriteCoord, OUT LPDWORD lpNumberOfElementsWritten) |
defined(BUILD_WOW64) | |
BOOL APIENTRY | FillConsoleOutputCharacterA (HANDLE hConsoleOutput, CHAR cCharacter, DWORD nLength, COORD dwWriteCoord, LPDWORD lpNumberOfCharsWritten) |
defined(BUILD_WOW6432) | |
BOOL APIENTRY | FillConsoleOutputCharacterW (HANDLE hConsoleOutput, WCHAR cCharacter, DWORD nLength, COORD dwWriteCoord, LPDWORD lpNumberOfCharsWritten) |
BOOL APIENTRY | FillConsoleOutputAttribute (HANDLE hConsoleOutput, WORD wAttribute, DWORD nLength, COORD dwWriteCoord, LPDWORD lpNumberOfAttrsWritten) |
HANDLE WINAPI | CreateConsoleScreenBuffer (IN DWORD dwDesiredAccess, IN DWORD dwShareMode, IN CONST SECURITY_ATTRIBUTES *lpSecurityAttributes, IN DWORD dwFlags, IN PVOID lpScreenBufferData OPTIONAL) |
defined(BUILD_WOW64) | |
BOOL WINAPI | InvalidateConsoleDIBits (IN HANDLE hConsoleOutput, IN PSMALL_RECT lpRect) |
|
|
defined(BUILD_WOW64)
Definition at line 472 of file iostubs.c. References ASSERT, CONSOLE_RECT_SIZE_X, CONSOLE_RECT_SIZE_Y, FALSE, SCREEN_BUFFER_POINTER, SHORT, and TRUE.
|
|
defined(BUILD_WOW64)
Definition at line 1666 of file iostubs.c. References CONSOLE_GRAPHICS_BUFFER, CONSOLE_TEXTMODE_BUFFER, _CONSOLE_CREATESCREENBUFFER_MSG::ConsoleHandle, ConsolepCreateScreenBuffer, CsrAllocateCaptureBuffer(), CsrCaptureMessageBuffer(), CsrClientCallServer(), CsrFreeCaptureBuffer(), _CONSOLE_CREATESCREENBUFFER_MSG::DesiredAccess, dwFlags, EXCEPTION_EXECUTE_HANDLER, FALSE, _CONSOLE_CREATESCREENBUFFER_MSG::Flags, GET_CONSOLE_HANDLE, _CONSOLE_CREATESCREENBUFFER_MSG::GraphicsBufferInfo, _CONSOLE_CREATESCREENBUFFER_MSG::InheritHandle, INVALID_HANDLE_VALUE, NT_SUCCESS, NULL, SET_LAST_ERROR, SET_LAST_NT_ERROR, _CONSOLE_CREATESCREENBUFFER_MSG::ShareMode, _CONSOLE_API_MSG::u, VALID_ACCESSES, and VALID_SHARE_ACCESSES. Referenced by main().
|
|
defined(BUILD_WOW64)
Definition at line 1448 of file iostubs.c. References _CONSOLE_FILLCONSOLEOUTPUT_MSG::ConsoleHandle, ConsolepFillConsoleOutput, CsrClientCallServer(), _CONSOLE_FILLCONSOLEOUTPUT_MSG::Element, _CONSOLE_FILLCONSOLEOUTPUT_MSG::ElementType, EXCEPTION_EXECUTE_HANDLER, FALSE, GET_CONSOLE_HANDLE, _CONSOLE_FILLCONSOLEOUTPUT_MSG::Length, NT_SUCCESS, NULL, _CONSOLE_FILLCONSOLEOUTPUT_MSG::OutputHandle, SET_LAST_ERROR, SET_LAST_NT_ERROR, TRUE, _CONSOLE_API_MSG::u, and _CONSOLE_FILLCONSOLEOUTPUT_MSG::WriteCoord. Referenced by FillConsoleOutputAttribute(), FillConsoleOutputCharacterA(), and FillConsoleOutputCharacterW().
|
|
Definition at line 1616 of file iostubs.c. References CONSOLE_ATTRIBUTE, and FillConsoleOutput().
|
|
defined(BUILD_WOW6432)
Definition at line 1524 of file iostubs.c. References CONSOLE_ASCII, FillConsoleOutput(), and USHORT.
|
|
Definition at line 1570 of file iostubs.c. References CONSOLE_REAL_UNICODE, FillConsoleOutput(), and USHORT.
|
|
Definition at line 29 of file iostubs.c. References _CONSOLE_GETCONSOLEINPUT_MSG::BufPtr, CONSOLE_HANDLE, _CONSOLE_GETCONSOLEINPUT_MSG::ConsoleHandle, ConsolepGetConsoleInput, CsrAllocateCaptureBuffer(), CsrCaptureMessageBuffer(), CsrClientCallServer(), CsrFreeCaptureBuffer(), EXCEPTION_EXECUTE_HANDLER, FALSE, _CONSOLE_GETCONSOLEINPUT_MSG::Flags, GET_CONSOLE_HANDLE, INPUT_RECORD_BUFFER_SIZE, _CONSOLE_GETCONSOLEINPUT_MSG::InputHandle, NT_SUCCESS, NULL, _CONSOLE_GETCONSOLEINPUT_MSG::NumRecords, _CONSOLE_GETCONSOLEINPUT_MSG::Record, SET_LAST_ERROR, SET_LAST_NT_ERROR, _CONSOLE_API_MSG::u, Unicode, and _CONSOLE_GETCONSOLEINPUT_MSG::Unicode. Referenced by PeekConsoleInputA(), PeekConsoleInputW(), ReadConsoleInputA(), ReadConsoleInputExA(), ReadConsoleInputExW(), and ReadConsoleInputW().
|
|
Definition at line 1752 of file iostubs.c. References _CONSOLE_INVALIDATERECT_MSG::ConsoleHandle, ConsolepInvalidateBitmapRect, CsrClientCallServer(), EXCEPTION_EXECUTE_HANDLER, FALSE, GET_CONSOLE_HANDLE, NT_SUCCESS, NULL, _CONSOLE_INVALIDATERECT_MSG::OutputHandle, _CONSOLE_INVALIDATERECT_MSG::Rect, SET_LAST_ERROR, SET_LAST_NT_ERROR, TRUE, and _CONSOLE_API_MSG::u. Referenced by main().
|
|
defined(BUILD_WOW6432)
Definition at line 150 of file iostubs.c. References FALSE, and GetConsoleInput().
|
|
Definition at line 168 of file iostubs.c. References GetConsoleInput(), and TRUE.
|
|
Definition at line 209 of file iostubs.c. References FALSE, and GetConsoleInput().
|
|
Definition at line 268 of file iostubs.c. References FALSE, and GetConsoleInput().
|
|
Definition at line 287 of file iostubs.c. References GetConsoleInput(), and TRUE.
|
|
Definition at line 227 of file iostubs.c. References GetConsoleInput(), and TRUE.
|
|
Definition at line 748 of file iostubs.c. References FALSE, and ReadConsoleOutputInternal().
|
|
Definition at line 1160 of file iostubs.c. References CONSOLE_ATTRIBUTE, and ReadConsoleOutputString().
|
|
defined(BUILD_WOW6432)
Definition at line 1089 of file iostubs.c. References CHAR, CONSOLE_ASCII, and ReadConsoleOutputString().
|
|
Definition at line 1138 of file iostubs.c. References CONSOLE_REAL_UNICODE, and ReadConsoleOutputString().
|
|
Definition at line 585 of file iostubs.c. References _CONSOLE_READCONSOLEOUTPUT_MSG::BufPtr, _CONSOLE_READCONSOLEOUTPUT_MSG::Char, _CONSOLE_READCONSOLEOUTPUT_MSG::CharRegion, CONSOLE_RECT_SIZE_X, CONSOLE_RECT_SIZE_Y, _CONSOLE_READCONSOLEOUTPUT_MSG::ConsoleHandle, ConsolepReadConsoleOutput, CopyRectangle(), CsrAllocateCaptureBuffer(), CsrCaptureMessageBuffer(), CsrClientCallServer(), CsrFreeCaptureBuffer(), EXCEPTION_EXECUTE_HANDLER, FALSE, GET_CONSOLE_HANDLE, NT_SUCCESS, NULL, _CONSOLE_READCONSOLEOUTPUT_MSG::OutputHandle, SET_LAST_ERROR, SET_LAST_NT_ERROR, SHORT, TRUE, _CONSOLE_API_MSG::u, Unicode, and _CONSOLE_READCONSOLEOUTPUT_MSG::Unicode. Referenced by ReadConsoleOutputA(), and ReadConsoleOutputW().
|
|
Definition at line 974 of file iostubs.c. References _CONSOLE_READCONSOLEOUTPUTSTRING_MSG::BufPtr, _CONSOLE_READCONSOLEOUTPUTSTRING_MSG::ConsoleHandle, ConsolepReadConsoleOutputString, CsrAllocateCaptureBuffer(), CsrCaptureMessageBuffer(), CsrClientCallServer(), CsrFreeCaptureBuffer(), EXCEPTION_EXECUTE_HANDLER, FALSE, GET_CONSOLE_HANDLE, NT_SUCCESS, NULL, _CONSOLE_READCONSOLEOUTPUTSTRING_MSG::NumRecords, _CONSOLE_READCONSOLEOUTPUTSTRING_MSG::OutputHandle, _CONSOLE_READCONSOLEOUTPUTSTRING_MSG::ReadCoord, SET_LAST_ERROR, SET_LAST_NT_ERROR, _CONSOLE_READCONSOLEOUTPUTSTRING_MSG::String, _CONSOLE_READCONSOLEOUTPUTSTRING_MSG::StringType, and _CONSOLE_API_MSG::u. Referenced by ReadConsoleOutputAttribute(), ReadConsoleOutputCharacterA(), and ReadConsoleOutputCharacterW().
|
|
defined(BUILD_WOW6432)
Definition at line 729 of file iostubs.c. References ReadConsoleOutputInternal(), and TRUE.
|
|
defined(BUILD_WOW6432)
Definition at line 444 of file iostubs.c. References FALSE, TRUE, and WriteConsoleInputInternal().
|
|
defined(BUILD_WOW64)
Definition at line 335 of file iostubs.c. References _CONSOLE_WRITECONSOLEINPUT_MSG::Append, _CONSOLE_WRITECONSOLEINPUT_MSG::BufPtr, _CONSOLE_WRITECONSOLEINPUT_MSG::ConsoleHandle, ConsolepWriteConsoleInput, CsrAllocateCaptureBuffer(), CsrCaptureMessageBuffer(), CsrClientCallServer(), CsrFreeCaptureBuffer(), EXCEPTION_EXECUTE_HANDLER, FALSE, GET_CONSOLE_HANDLE, INPUT_RECORD_BUFFER_SIZE, _CONSOLE_WRITECONSOLEINPUT_MSG::InputHandle, NT_SUCCESS, NULL, _CONSOLE_WRITECONSOLEINPUT_MSG::NumRecords, _CONSOLE_WRITECONSOLEINPUT_MSG::Record, SET_LAST_ERROR, SET_LAST_NT_ERROR, TRUE, _CONSOLE_API_MSG::u, Unicode, and _CONSOLE_WRITECONSOLEINPUT_MSG::Unicode. Referenced by WriteConsoleInputA(), WriteConsoleInputVDMA(), WriteConsoleInputVDMW(), and WriteConsoleInputW().
|
|
Definition at line 456 of file iostubs.c. References TRUE, and WriteConsoleInputInternal().
|
|
Definition at line 951 of file iostubs.c. References FALSE, and WriteConsoleOutputInternal().
|
|
Definition at line 1397 of file iostubs.c. References CONSOLE_ATTRIBUTE, and WriteConsoleOutputString().
|
|
defined(BUILD_WOW6432)
Definition at line 1329 of file iostubs.c. References CHAR, CONSOLE_ASCII, and WriteConsoleOutputString().
|
|
Definition at line 1376 of file iostubs.c. References CONSOLE_REAL_UNICODE, and WriteConsoleOutputString().
|
|
defined(BUILD_WOW64)
Definition at line 771 of file iostubs.c. References _CONSOLE_WRITECONSOLEOUTPUT_MSG::BufPtr, _CONSOLE_WRITECONSOLEOUTPUT_MSG::Char, _CONSOLE_WRITECONSOLEOUTPUT_MSG::CharRegion, CONSOLE_RECT_SIZE_X, CONSOLE_RECT_SIZE_Y, _CONSOLE_WRITECONSOLEOUTPUT_MSG::ConsoleHandle, ConsolepWriteConsoleOutput, CopyRectangle(), CsrAllocateCaptureBuffer(), CsrCaptureMessageBuffer(), CsrClientCallServer(), CsrFreeCaptureBuffer(), EXCEPTION_EXECUTE_HANDLER, FALSE, GET_CONSOLE_HANDLE, NT_SUCCESS, NULL, _CONSOLE_WRITECONSOLEOUTPUT_MSG::OutputHandle, _CONSOLE_WRITECONSOLEOUTPUT_MSG::ReadVM, RtlAllocateHeap, RtlFreeHeap, SET_LAST_ERROR, SET_LAST_NT_ERROR, SHORT, TRUE, _CONSOLE_API_MSG::u, Unicode, and _CONSOLE_WRITECONSOLEOUTPUT_MSG::Unicode. Referenced by WriteConsoleOutputA(), and WriteConsoleOutputW().
|
|
defined(BUILD_WOW64)
Definition at line 1212 of file iostubs.c. References _CONSOLE_WRITECONSOLEOUTPUTSTRING_MSG::BufPtr, _CONSOLE_WRITECONSOLEOUTPUTSTRING_MSG::ConsoleHandle, ConsolepWriteConsoleOutputString, CsrAllocateCaptureBuffer(), CsrCaptureMessageBuffer(), CsrClientCallServer(), CsrFreeCaptureBuffer(), EXCEPTION_EXECUTE_HANDLER, FALSE, GET_CONSOLE_HANDLE, NT_SUCCESS, NULL, _CONSOLE_WRITECONSOLEOUTPUTSTRING_MSG::NumRecords, _CONSOLE_WRITECONSOLEOUTPUTSTRING_MSG::OutputHandle, SET_LAST_ERROR, SET_LAST_NT_ERROR, _CONSOLE_WRITECONSOLEOUTPUTSTRING_MSG::String, _CONSOLE_WRITECONSOLEOUTPUTSTRING_MSG::StringType, TRUE, _CONSOLE_API_MSG::u, and _CONSOLE_WRITECONSOLEOUTPUTSTRING_MSG::WriteCoord. Referenced by WriteConsoleOutputAttribute(), WriteConsoleOutputCharacterA(), and WriteConsoleOutputCharacterW().
|
|
defined(BUILD_WOW6432)
Definition at line 932 of file iostubs.c. References TRUE, and WriteConsoleOutputInternal().
|