3 * Copyright (C) 2002 ReactOS Team
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License along
16 * with this program; if not, write to the Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20 * COPYRIGHT: See COPYING in the top level directory
21 * PROJECT: ReactOS text-mode setup
22 * FILE: base/setup/usetup/native/utils/console.h
23 * PURPOSE: Console support functions
24 * PROGRAMMER: Eric Kohl
36 IN DWORD dwProcessId
);
40 FillConsoleOutputAttribute(
41 IN HANDLE hConsoleOutput
,
44 IN COORD dwWriteCoord
,
45 OUT LPDWORD lpNumberOfAttrsWritten
);
49 FillConsoleOutputCharacterA(
50 IN HANDLE hConsoleOutput
,
53 IN COORD dwWriteCoord
,
54 OUT LPDWORD lpNumberOfCharsWritten
);
62 GetConsoleScreenBufferInfo(
63 IN HANDLE hConsoleOutput
,
64 OUT PCONSOLE_SCREEN_BUFFER_INFO lpConsoleScreenBufferInfo
);
74 IN HANDLE hConsoleInput
,
75 OUT PINPUT_RECORD lpBuffer
,
77 OUT LPDWORD lpNumberOfEventsRead
);
82 IN HANDLE hConsoleOutput
,
83 IN
const CONSOLE_CURSOR_INFO
*lpConsoleCursorInfo
);
87 SetConsoleCursorPosition(
88 IN HANDLE hConsoleOutput
,
89 IN COORD dwCursorPosition
);
93 SetConsoleTextAttribute(
94 IN HANDLE hConsoleOutput
,
100 IN HANDLE hConsoleOutput
,
101 IN
const VOID
*lpBuffer
,
102 IN DWORD nNumberOfCharsToWrite
,
103 OUT LPDWORD lpNumberOfCharsWritten
,
104 IN LPVOID lpReserved
);
108 WriteConsoleOutputCharacterA(
109 HANDLE hConsoleOutput
,
110 IN LPCSTR lpCharacter
,
112 IN COORD dwWriteCoord
,
113 OUT LPDWORD lpNumberOfCharsWritten
);
117 WriteConsoleOutputCharacterW(
118 HANDLE hConsoleOutput
,
119 IN LPCSTR lpCharacter
,
121 IN COORD dwWriteCoord
,
122 OUT LPDWORD lpNumberOfCharsWritten
);