ReactOS 0.4.16-dev-1-gcf26321
|
Go to the source code of this file.
Macros | |
#define | NDEBUG |
#define | ConioRectHeight(Rect) (((Rect)->Top > (Rect)->Bottom) ? 0 : ((Rect)->Bottom - (Rect)->Top + 1)) |
#define | ConioRectWidth(Rect) (((Rect)->Left > (Rect)->Right) ? 0 : ((Rect)->Right - (Rect)->Left + 1)) |
#define ConioRectHeight | ( | Rect | ) | (((Rect)->Top > (Rect)->Bottom) ? 0 : ((Rect)->Bottom - (Rect)->Top + 1)) |
Definition at line 22 of file readwrite.c.
#define ConioRectWidth | ( | Rect | ) | (((Rect)->Left > (Rect)->Right) ? 0 : ((Rect)->Right - (Rect)->Left + 1)) |
Definition at line 24 of file readwrite.c.
#define NDEBUG |
Definition at line 17 of file readwrite.c.
BOOL WINAPI DECLSPEC_HOTPATCH FillConsoleOutputAttribute | ( | IN HANDLE | hConsoleOutput, |
IN WORD | wAttribute, | ||
IN DWORD | nLength, | ||
IN COORD | dwWriteCoord, | ||
OUT LPDWORD | lpNumberOfAttrsWritten | ||
) |
Definition at line 1720 of file readwrite.c.
BOOL WINAPI DECLSPEC_HOTPATCH FillConsoleOutputCharacterA | ( | IN HANDLE | hConsoleOutput, |
IN CHAR | cCharacter, | ||
IN DWORD | nLength, | ||
IN COORD | dwWriteCoord, | ||
LPDWORD | lpNumberOfCharsWritten | ||
) |
Definition at line 1697 of file readwrite.c.
BOOL WINAPI DECLSPEC_HOTPATCH FillConsoleOutputCharacterW | ( | IN HANDLE | hConsoleOutput, |
IN WCHAR | cCharacter, | ||
IN DWORD | nLength, | ||
IN COORD | dwWriteCoord, | ||
OUT LPDWORD | lpNumberOfCharsWritten | ||
) |
Definition at line 1674 of file readwrite.c.
Referenced by ClearScreen(), ConClearLine(), ConClearScreen(), test_cp855(), test_cp932(), and test_FillConsoleOutputCharacterW().
|
static |
Definition at line 1104 of file readwrite.c.
Referenced by FillConsoleOutputAttribute(), FillConsoleOutputCharacterA(), and FillConsoleOutputCharacterW().
|
static |
Definition at line 231 of file readwrite.c.
Referenced by PeekConsoleInputA(), PeekConsoleInputW(), ReadConsoleInputA(), ReadConsoleInputExA(), ReadConsoleInputExW(), and ReadConsoleInputW().
|
static |
Definition at line 36 of file readwrite.c.
Referenced by ReadConsoleA(), and ReadConsoleW().
|
static |
Definition at line 341 of file readwrite.c.
Referenced by ReadConsoleOutputA(), and ReadConsoleOutputW().
|
static |
Definition at line 477 of file readwrite.c.
Referenced by ReadConsoleOutputAttribute(), ReadConsoleOutputCharacterA(), and ReadConsoleOutputCharacterW().
|
static |
Definition at line 598 of file readwrite.c.
Referenced by WriteConsoleA(), and WriteConsoleW().
|
static |
Definition at line 710 of file readwrite.c.
Referenced by WriteConsoleInputA(), WriteConsoleInputVDMA(), WriteConsoleInputVDMW(), and WriteConsoleInputW().
|
static |
Definition at line 810 of file readwrite.c.
Referenced by WriteConsoleOutputA(), and WriteConsoleOutputW().
|
static |
Definition at line 981 of file readwrite.c.
Referenced by WriteConsoleOutputAttribute(), WriteConsoleOutputCharacterA(), and WriteConsoleOutputCharacterW().
BOOL WINAPI DECLSPEC_HOTPATCH PeekConsoleInputA | ( | IN HANDLE | hConsoleInput, |
OUT PINPUT_RECORD | lpBuffer, | ||
IN DWORD | nLength, | ||
OUT LPDWORD | lpNumberOfEventsRead | ||
) |
Definition at line 1236 of file readwrite.c.
BOOL WINAPI DECLSPEC_HOTPATCH PeekConsoleInputW | ( | IN HANDLE | hConsoleInput, |
OUT PINPUT_RECORD | lpBuffer, | ||
IN DWORD | nLength, | ||
OUT LPDWORD | lpNumberOfEventsRead | ||
) |
Definition at line 1216 of file readwrite.c.
Referenced by InputWait().
BOOL WINAPI DECLSPEC_HOTPATCH ReadConsoleA | ( | IN HANDLE | hConsoleInput, |
OUT LPVOID | lpBuffer, | ||
IN DWORD | nNumberOfCharsToRead, | ||
OUT LPDWORD | lpNumberOfCharsRead, | ||
IN PCONSOLE_READCONSOLE_CONTROL pInputControl | OPTIONAL | ||
) |
Definition at line 1195 of file readwrite.c.
Referenced by _getch(), getinput(), GetInput(), main(), ReadFile(), test2(), test3(), and test_ReadConsole().
BOOL WINAPI DECLSPEC_HOTPATCH ReadConsoleInputA | ( | IN HANDLE | hConsoleInput, |
OUT PINPUT_RECORD | lpBuffer, | ||
IN DWORD | nLength, | ||
OUT LPDWORD | lpNumberOfEventsRead | ||
) |
Definition at line 1276 of file readwrite.c.
BOOL WINAPI DECLSPEC_HOTPATCH ReadConsoleInputExA | ( | IN HANDLE | hConsoleInput, |
OUT PINPUT_RECORD | lpBuffer, | ||
IN DWORD | nLength, | ||
OUT LPDWORD | lpNumberOfEventsRead, | ||
IN WORD | wFlags | ||
) |
Definition at line 1317 of file readwrite.c.
BOOL WINAPI DECLSPEC_HOTPATCH ReadConsoleInputExW | ( | IN HANDLE | hConsoleInput, |
OUT PINPUT_RECORD | lpBuffer, | ||
IN DWORD | nLength, | ||
OUT LPDWORD | lpNumberOfEventsRead, | ||
IN WORD | wFlags | ||
) |
Definition at line 1296 of file readwrite.c.
Referenced by ConsoleEventThread().
BOOL WINAPI DECLSPEC_HOTPATCH ReadConsoleInputW | ( | IN HANDLE | hConsoleInput, |
OUT PINPUT_RECORD | lpBuffer, | ||
IN DWORD | nLength, | ||
OUT LPDWORD | lpNumberOfEventsRead | ||
) |
Definition at line 1256 of file readwrite.c.
Referenced by InputWait().
BOOL WINAPI DECLSPEC_HOTPATCH ReadConsoleOutputA | ( | IN HANDLE | hConsoleOutput, |
OUT PCHAR_INFO | lpBuffer, | ||
IN COORD | dwBufferSize, | ||
IN COORD | dwBufferCoord, | ||
IN OUT PSMALL_RECT | lpReadRegion | ||
) |
Definition at line 1359 of file readwrite.c.
Referenced by AttachToConsoleInternal().
BOOL WINAPI DECLSPEC_HOTPATCH ReadConsoleOutputAttribute | ( | IN HANDLE | hConsoleOutput, |
OUT LPWORD | lpAttribute, | ||
IN DWORD | nLength, | ||
IN COORD | dwReadCoord, | ||
OUT LPDWORD | lpNumberOfAttrsRead | ||
) |
Definition at line 1422 of file readwrite.c.
Referenced by TConsole::Darkbg(), TConsole::Lightbg(), test_cp855(), test_cp932(), test_ReadConsoleOutputAttribute(), testWriteNotWrappedProcessed(), and testWriteWrappedProcessed().
BOOL WINAPI DECLSPEC_HOTPATCH ReadConsoleOutputCharacterA | ( | IN HANDLE | hConsoleOutput, |
OUT LPSTR | lpCharacter, | ||
IN DWORD | nLength, | ||
IN COORD | dwReadCoord, | ||
OUT LPDWORD | lpNumberOfCharsRead | ||
) |
Definition at line 1401 of file readwrite.c.
Referenced by test_ReadConsoleOutputCharacterA(), and testScreenBuffer().
BOOL WINAPI DECLSPEC_HOTPATCH ReadConsoleOutputCharacterW | ( | IN HANDLE | hConsoleOutput, |
OUT LPWSTR | lpCharacter, | ||
IN DWORD | nLength, | ||
IN COORD | dwReadCoord, | ||
OUT LPDWORD | lpNumberOfCharsRead | ||
) |
Definition at line 1380 of file readwrite.c.
Referenced by test_cp855(), test_cp932(), test_ReadConsoleOutputCharacterW(), and testScreenBuffer().
BOOL WINAPI DECLSPEC_HOTPATCH ReadConsoleOutputW | ( | IN HANDLE | hConsoleOutput, |
OUT PCHAR_INFO | lpBuffer, | ||
IN COORD | dwBufferSize, | ||
IN COORD | dwBufferCoord, | ||
IN OUT PSMALL_RECT | lpReadRegion | ||
) |
Definition at line 1338 of file readwrite.c.
Referenced by test_cp932().
BOOL WINAPI DECLSPEC_HOTPATCH ReadConsoleW | ( | IN HANDLE | hConsoleInput, |
OUT LPVOID | lpBuffer, | ||
IN DWORD | nNumberOfCharsToRead, | ||
OUT LPDWORD | lpNumberOfCharsRead, | ||
IN PCONSOLE_READCONSOLE_CONTROL pInputControl | OPTIONAL | ||
) |
Definition at line 1174 of file readwrite.c.
Referenced by ask_confirm(), ask_overwrite_value(), Confirm(), ReadString(), and test_ReadConsole().
BOOL WINAPI DECLSPEC_HOTPATCH WriteConsoleA | ( | IN HANDLE | hConsoleOutput, |
IN CONST VOID * | lpBuffer, | ||
IN DWORD | nNumberOfCharsToWrite, | ||
OUT LPDWORD | lpNumberOfCharsWritten, | ||
LPVOID | lpReserved | ||
) |
Definition at line 1468 of file readwrite.c.
Referenced by _cputs(), debug_printf(), dprintf(), testEmptyWrite(), testScreenBuffer(), testWriteNotWrappedNotProcessed(), testWriteNotWrappedProcessed(), testWriteSimple(), testWriteWrappedNotProcessed(), testWriteWrappedProcessed(), and WriteFile().
BOOL WINAPI DECLSPEC_HOTPATCH WriteConsoleInputA | ( | IN HANDLE | hConsoleInput, |
IN CONST INPUT_RECORD * | lpBuffer, | ||
IN DWORD | nLength, | ||
OUT LPDWORD | lpNumberOfEventsWritten | ||
) |
Definition at line 1509 of file readwrite.c.
Referenced by test_WriteConsoleInputA().
BOOL WINAPI DECLSPEC_HOTPATCH WriteConsoleInputVDMA | ( | IN HANDLE | hConsoleInput, |
IN CONST INPUT_RECORD * | lpBuffer, | ||
IN DWORD | nLength, | ||
OUT LPDWORD | lpNumberOfEventsWritten | ||
) |
Definition at line 1549 of file readwrite.c.
BOOL WINAPI DECLSPEC_HOTPATCH WriteConsoleInputVDMW | ( | IN HANDLE | hConsoleInput, |
IN CONST INPUT_RECORD * | lpBuffer, | ||
IN DWORD | nLength, | ||
OUT LPDWORD | lpNumberOfEventsWritten | ||
) |
Definition at line 1529 of file readwrite.c.
BOOL WINAPI DECLSPEC_HOTPATCH WriteConsoleInputW | ( | IN HANDLE | hConsoleInput, |
IN CONST INPUT_RECORD * | lpBuffer, | ||
IN DWORD | nLength, | ||
OUT LPDWORD | lpNumberOfEventsWritten | ||
) |
Definition at line 1489 of file readwrite.c.
Referenced by test_WriteConsoleInputW(), and testWaitForConsoleInput().
BOOL WINAPI DECLSPEC_HOTPATCH WriteConsoleOutputA | ( | IN HANDLE | hConsoleOutput, |
IN CONST CHAR_INFO * | lpBuffer, | ||
IN COORD | dwBufferSize, | ||
IN COORD | dwBufferCoord, | ||
IN OUT PSMALL_RECT | lpWriteRegion | ||
) |
Definition at line 1590 of file readwrite.c.
Referenced by __InvalidateConsoleDIBits().
BOOL WINAPI DECLSPEC_HOTPATCH WriteConsoleOutputAttribute | ( | IN HANDLE | hConsoleOutput, |
IN CONST WORD * | lpAttribute, | ||
IN DWORD | nLength, | ||
IN COORD | dwWriteCoord, | ||
OUT LPDWORD | lpNumberOfAttrsWritten | ||
) |
Definition at line 1653 of file readwrite.c.
Referenced by TConsole::Darkbg(), TConsole::Lightbg(), resetContent(), test_cp932(), test_WriteConsoleOutputAttribute(), and WriteConsoleOutputCharAndAttribute().
BOOL WINAPI DECLSPEC_HOTPATCH WriteConsoleOutputCharacterA | ( | IN HANDLE | hConsoleOutput, |
IN LPCSTR | lpCharacter, | ||
IN DWORD | nLength, | ||
IN COORD | dwWriteCoord, | ||
OUT LPDWORD | lpNumberOfCharsWritten | ||
) |
Definition at line 1632 of file readwrite.c.
BOOL WINAPI DECLSPEC_HOTPATCH WriteConsoleOutputCharacterW | ( | IN HANDLE | hConsoleOutput, |
IN LPCWSTR | lpCharacter, | ||
IN DWORD | nLength, | ||
IN COORD | dwWriteCoord, | ||
OUT LPDWORD | lpNumberOfCharsWritten | ||
) |
Definition at line 1611 of file readwrite.c.
BOOL WINAPI DECLSPEC_HOTPATCH WriteConsoleOutputW | ( | IN HANDLE | hConsoleOutput, |
IN CONST CHAR_INFO * | lpBuffer, | ||
IN COORD | dwBufferSize, | ||
IN COORD | dwBufferCoord, | ||
IN OUT PSMALL_RECT | lpWriteRegion | ||
) |
Definition at line 1569 of file readwrite.c.
Referenced by test_cp932().
BOOL WINAPI DECLSPEC_HOTPATCH WriteConsoleW | ( | IN HANDLE | hConsoleOutput, |
IN CONST VOID * | lpBuffer, | ||
IN DWORD | nNumberOfCharsToWrite, | ||
OUT LPDWORD | lpNumberOfCharsWritten, | ||
LPVOID | lpReserved | ||
) |
Definition at line 1447 of file readwrite.c.
Referenced by DisplayResourceText(), output_header(), output_string(), output_writeconsole(), print_string(), ReadString(), taskkill_vprintfW(), test_cp855(), test_cp932(), TUIDisplayStatusMessage(), and XCOPY_wprintf().