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: subsys/system/usetup/console.h
23 * PURPOSE: Console support functions
24 * PROGRAMMER: Eric Kohl
34 IN DWORD dwProcessId
);
37 FillConsoleOutputAttribute(
38 IN HANDLE hConsoleOutput
,
41 IN COORD dwWriteCoord
,
42 OUT LPDWORD lpNumberOfAttrsWritten
);
45 FillConsoleOutputCharacterA(
46 IN HANDLE hConsoleOutput
,
49 IN COORD dwWriteCoord
,
50 OUT LPDWORD lpNumberOfCharsWritten
);
56 GetConsoleScreenBufferInfo(
57 IN HANDLE hConsoleOutput
,
58 OUT PCONSOLE_SCREEN_BUFFER_INFO lpConsoleScreenBufferInfo
);
66 IN HANDLE hConsoleInput
,
67 OUT PINPUT_RECORD lpBuffer
,
69 OUT LPDWORD lpNumberOfEventsRead
);
73 IN HANDLE hConsoleOutput
,
74 IN
const CONSOLE_CURSOR_INFO
* lpConsoleCursorInfo
);
77 SetConsoleCursorPosition(
78 IN HANDLE hConsoleOutput
,
79 IN COORD dwCursorPosition
);
82 SetConsoleTextAttribute(
83 IN HANDLE hConsoleOutput
,
88 IN HANDLE hConsoleOutput
,
89 IN
const VOID
* lpBuffer
,
90 IN DWORD nNumberOfCharsToWrite
,
91 OUT LPDWORD lpNumberOfCharsWritten
,
92 IN LPVOID lpReserved
);
95 WriteConsoleOutputCharacterA(
96 HANDLE hConsoleOutput
,
97 IN LPCSTR lpCharacter
,
99 IN COORD dwWriteCoord
,
100 OUT LPDWORD lpNumberOfCharsWritten
);
103 WriteConsoleOutputCharacterW(
104 HANDLE hConsoleOutput
,
105 IN LPCSTR lpCharacter
,
107 IN COORD dwWriteCoord
,
108 OUT LPDWORD lpNumberOfCharsWritten
);