1 | /*
|
---|
2 | * Copyright (C) the Wine project
|
---|
3 | *
|
---|
4 | * This library is free software; you can redistribute it and/or
|
---|
5 | * modify it under the terms of the GNU Lesser General Public
|
---|
6 | * License as published by the Free Software Foundation; either
|
---|
7 | * version 2.1 of the License, or (at your option) any later version.
|
---|
8 | *
|
---|
9 | * This library is distributed in the hope that it will be useful,
|
---|
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
12 | * Lesser General Public License for more details.
|
---|
13 | *
|
---|
14 | * You should have received a copy of the GNU Lesser General Public
|
---|
15 | * License along with this library; if not, write to the Free Software
|
---|
16 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
---|
17 | */
|
---|
18 |
|
---|
19 | /*
|
---|
20 | * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
|
---|
21 | * other than GPL or LGPL is available it will apply instead, Sun elects to use only
|
---|
22 | * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
|
---|
23 | * a choice of LGPL license versions is made available with the language indicating
|
---|
24 | * that LGPLv2 or any later version may be used, or where a choice of which version
|
---|
25 | * of the LGPL is applied is otherwise unspecified.
|
---|
26 | */
|
---|
27 |
|
---|
28 | #ifndef __WINE_WINCON_H
|
---|
29 | #define __WINE_WINCON_H
|
---|
30 |
|
---|
31 | #ifdef __cplusplus
|
---|
32 | extern "C" {
|
---|
33 | #endif
|
---|
34 |
|
---|
35 | #ifndef NOGDI
|
---|
36 | #include <wingdi.h>
|
---|
37 | #endif
|
---|
38 |
|
---|
39 | /* AttachConsole special pid value */
|
---|
40 | #define ATTACH_PARENT_PROCESS ((DWORD) -1)
|
---|
41 |
|
---|
42 | /* GetConsoleDisplayMode flags */
|
---|
43 | #define CONSOLE_FULLSCREEN 1
|
---|
44 | #define CONSOLE_FULLSCREEN_HARDWARE 2
|
---|
45 |
|
---|
46 | /* SetConsoleDisplayMode flags */
|
---|
47 | #define CONSOLE_FULLSCREEN_MODE 1
|
---|
48 | #define CONSOLE_WINDOWED_MODE 2
|
---|
49 |
|
---|
50 | /* CONSOLE_SELECTION_INFO.dwFlags */
|
---|
51 | #define CONSOLE_NO_SELECTION 0x00
|
---|
52 | #define CONSOLE_SELECTION_IN_PROGRESS 0x01
|
---|
53 | #define CONSOLE_SELECTION_NOT_EMPTY 0x02
|
---|
54 | #define CONSOLE_MOUSE_SELECTION 0x04
|
---|
55 | #define CONSOLE_MOUSE_DOWN 0x08
|
---|
56 |
|
---|
57 | /* handler routine control signal type */
|
---|
58 | #define CTRL_C_EVENT 0
|
---|
59 | #define CTRL_BREAK_EVENT 1
|
---|
60 | #define CTRL_CLOSE_EVENT 2
|
---|
61 | #define CTRL_LOGOFF_EVENT 5
|
---|
62 | #define CTRL_SHUTDOWN_EVENT 6
|
---|
63 |
|
---|
64 | /* Console Mode flags */
|
---|
65 | #define ENABLE_PROCESSED_INPUT 0x0001
|
---|
66 | #define ENABLE_LINE_INPUT 0x0002
|
---|
67 | #define ENABLE_ECHO_INPUT 0x0004
|
---|
68 | #define ENABLE_WINDOW_INPUT 0x0008
|
---|
69 | #define ENABLE_MOUSE_INPUT 0x0010
|
---|
70 | #define ENABLE_INSERT_MODE 0x0020
|
---|
71 | #define ENABLE_QUICK_EDIT_MODE 0x0040
|
---|
72 | #define ENABLE_EXTENDED_FLAGS 0x0080
|
---|
73 | #define ENABLE_AUTO_POSITION 0x0100
|
---|
74 |
|
---|
75 | #define ENABLE_PROCESSED_OUTPUT 0x01
|
---|
76 | #define ENABLE_WRAP_AT_EOL_OUTPUT 0x02
|
---|
77 |
|
---|
78 |
|
---|
79 | typedef BOOL (WINAPI *PHANDLER_ROUTINE)(DWORD dwCtrlType);
|
---|
80 |
|
---|
81 | /* Attributes flags: */
|
---|
82 |
|
---|
83 | #define FOREGROUND_BLUE 0x0001
|
---|
84 | #define FOREGROUND_GREEN 0x0002
|
---|
85 | #define FOREGROUND_RED 0x0004
|
---|
86 | #define FOREGROUND_INTENSITY 0x0008
|
---|
87 | #define BACKGROUND_BLUE 0x0010
|
---|
88 | #define BACKGROUND_GREEN 0x0020
|
---|
89 | #define BACKGROUND_RED 0x0040
|
---|
90 | #define BACKGROUND_INTENSITY 0x0080
|
---|
91 | #define COMMON_LVB_LEADING_BYTE 0x0100
|
---|
92 | #define COMMON_LVB_TRAILING_BYTE 0x0200
|
---|
93 | #define COMMON_LVB_GRID_HORIZONTAL 0x0400
|
---|
94 | #define COMMON_LVB_GRID_LVERTICAL 0x0800
|
---|
95 | #define COMMON_LVB_GRID_RVERTICAL 0x1000
|
---|
96 | #define COMMON_LVB_REVERSE_VIDEO 0x4000
|
---|
97 | #define COMMON_LVB_UNDERSCORE 0x8000
|
---|
98 |
|
---|
99 | /* CONSOLE_HISTORY_INFO.dwFlags */
|
---|
100 | #define HISTORY_NO_DUP_FLAG 0x01
|
---|
101 |
|
---|
102 | typedef struct _CONSOLE_CURSOR_INFO {
|
---|
103 | DWORD dwSize; /* Between 1 & 100 for percentage of cell filled */
|
---|
104 | BOOL bVisible; /* Visibility of cursor */
|
---|
105 | } CONSOLE_CURSOR_INFO, *LPCONSOLE_CURSOR_INFO;
|
---|
106 |
|
---|
107 | typedef struct tagCOORD
|
---|
108 | {
|
---|
109 | SHORT X;
|
---|
110 | SHORT Y;
|
---|
111 | } COORD, *LPCOORD;
|
---|
112 |
|
---|
113 | typedef struct tagSMALL_RECT
|
---|
114 | {
|
---|
115 | SHORT Left;
|
---|
116 | SHORT Top;
|
---|
117 | SHORT Right;
|
---|
118 | SHORT Bottom;
|
---|
119 | } SMALL_RECT,*LPSMALL_RECT;
|
---|
120 |
|
---|
121 | typedef struct _CONSOLE_FONT_INFO
|
---|
122 | {
|
---|
123 | DWORD nFont;
|
---|
124 | COORD dwFontSize;
|
---|
125 | } CONSOLE_FONT_INFO,*LPCONSOLE_FONT_INFO;
|
---|
126 |
|
---|
127 | #ifndef NOGDI
|
---|
128 | typedef struct _CONSOLE_FONT_INFOEX
|
---|
129 | {
|
---|
130 | ULONG cbSize;
|
---|
131 | DWORD nFont;
|
---|
132 | COORD dwFontSize;
|
---|
133 | UINT FontFamily;
|
---|
134 | UINT FontWeight;
|
---|
135 | WCHAR FaceName[LF_FACESIZE];
|
---|
136 | } CONSOLE_FONT_INFOEX,*LPCONSOLE_FONT_INFOEX;
|
---|
137 | #endif
|
---|
138 |
|
---|
139 | typedef struct tagCONSOLE_HISTORY_INFO
|
---|
140 | {
|
---|
141 | UINT cbSize;
|
---|
142 | UINT HistoryBufferSize;
|
---|
143 | UINT NumberOfHistoryBuffers;
|
---|
144 | DWORD dwFlags;
|
---|
145 | } CONSOLE_HISTORY_INFO,*LPCONSOLE_HISTORY_INFO;
|
---|
146 |
|
---|
147 | typedef struct _CONSOLE_READCONSOLE_CONTROL
|
---|
148 | {
|
---|
149 | ULONG nLength;
|
---|
150 | ULONG nInitialChars;
|
---|
151 | ULONG dwCtrlWakeupMask;
|
---|
152 | ULONG dwConsoleKeyState;
|
---|
153 | } CONSOLE_READCONSOLE_CONTROL,*LPCONSOLE_READCONSOLE_CONTROL;
|
---|
154 |
|
---|
155 | typedef struct tagCONSOLE_SCREEN_BUFFER_INFO
|
---|
156 | {
|
---|
157 | COORD dwSize;
|
---|
158 | COORD dwCursorPosition;
|
---|
159 | WORD wAttributes;
|
---|
160 | SMALL_RECT srWindow;
|
---|
161 | COORD dwMaximumWindowSize;
|
---|
162 | } CONSOLE_SCREEN_BUFFER_INFO,*LPCONSOLE_SCREEN_BUFFER_INFO;
|
---|
163 |
|
---|
164 | typedef struct _CONSOLE_SCREEN_BUFFER_INFOEX
|
---|
165 | {
|
---|
166 | ULONG cbSize;
|
---|
167 | COORD dwSize;
|
---|
168 | COORD dwCursorPosition;
|
---|
169 | WORD wAttributes;
|
---|
170 | SMALL_RECT srWindow;
|
---|
171 | COORD dwMaximumWindowSize;
|
---|
172 | WORD wPopupAttributes;
|
---|
173 | BOOL bFullscreenSupported;
|
---|
174 | COLORREF ColorTable[16];
|
---|
175 | } CONSOLE_SCREEN_BUFFER_INFOEX,*LPCONSOLE_SCREEN_BUFFER_INFOEX;
|
---|
176 |
|
---|
177 | typedef struct _CONSOLE_SELECTION_INFO
|
---|
178 | {
|
---|
179 | DWORD dwFlags;
|
---|
180 | COORD dwSelectionAnchor;
|
---|
181 | SMALL_RECT srSelection;
|
---|
182 | } CONSOLE_SELECTION_INFO,*LPCONSOLE_SELECTION_INFO;
|
---|
183 |
|
---|
184 | typedef struct tagCHAR_INFO
|
---|
185 | {
|
---|
186 | union
|
---|
187 | {
|
---|
188 | WCHAR UnicodeChar;
|
---|
189 | CHAR AsciiChar;
|
---|
190 | } Char;
|
---|
191 | WORD Attributes;
|
---|
192 | } CHAR_INFO,*LPCHAR_INFO;
|
---|
193 |
|
---|
194 | typedef struct tagKEY_EVENT_RECORD
|
---|
195 | {
|
---|
196 | BOOL bKeyDown; /* 04 */
|
---|
197 | WORD wRepeatCount; /* 08 */
|
---|
198 | WORD wVirtualKeyCode; /* 0A */
|
---|
199 | WORD wVirtualScanCode; /* 0C */
|
---|
200 | union /* 0E */
|
---|
201 | {
|
---|
202 | WCHAR UnicodeChar; /* 0E */
|
---|
203 | CHAR AsciiChar; /* 0E */
|
---|
204 | } uChar;
|
---|
205 | DWORD dwControlKeyState; /* 10 */
|
---|
206 | } KEY_EVENT_RECORD,*LPKEY_EVENT_RECORD;
|
---|
207 |
|
---|
208 | /* dwControlKeyState bitmask */
|
---|
209 | #define RIGHT_ALT_PRESSED 0x0001
|
---|
210 | #define LEFT_ALT_PRESSED 0x0002
|
---|
211 | #define RIGHT_CTRL_PRESSED 0x0004
|
---|
212 | #define LEFT_CTRL_PRESSED 0x0008
|
---|
213 | #define SHIFT_PRESSED 0x0010
|
---|
214 | #define NUMLOCK_ON 0x0020
|
---|
215 | #define SCROLLLOCK_ON 0x0040
|
---|
216 | #define CAPSLOCK_ON 0x0080
|
---|
217 | #define ENHANCED_KEY 0x0100
|
---|
218 |
|
---|
219 | typedef struct tagMOUSE_EVENT_RECORD
|
---|
220 | {
|
---|
221 | COORD dwMousePosition;
|
---|
222 | DWORD dwButtonState;
|
---|
223 | DWORD dwControlKeyState;
|
---|
224 | DWORD dwEventFlags;
|
---|
225 | } MOUSE_EVENT_RECORD,*LPMOUSE_EVENT_RECORD;
|
---|
226 |
|
---|
227 | /* MOUSE_EVENT_RECORD.dwButtonState */
|
---|
228 | #define FROM_LEFT_1ST_BUTTON_PRESSED 0x0001
|
---|
229 | #define RIGHTMOST_BUTTON_PRESSED 0x0002
|
---|
230 | #define FROM_LEFT_2ND_BUTTON_PRESSED 0x0004
|
---|
231 | #define FROM_LEFT_3RD_BUTTON_PRESSED 0x0008
|
---|
232 | #define FROM_LEFT_4TH_BUTTON_PRESSED 0x0010
|
---|
233 |
|
---|
234 | /* MOUSE_EVENT_RECORD.dwEventFlags */
|
---|
235 | #define MOUSE_MOVED 0x0001
|
---|
236 | #define DOUBLE_CLICK 0x0002
|
---|
237 | #define MOUSE_WHEELED 0x0004
|
---|
238 | #define MOUSE_HWHEELED 0x0008
|
---|
239 |
|
---|
240 | typedef struct tagWINDOW_BUFFER_SIZE_RECORD
|
---|
241 | {
|
---|
242 | COORD dwSize;
|
---|
243 | } WINDOW_BUFFER_SIZE_RECORD,*LPWINDOW_BUFFER_SIZE_RECORD;
|
---|
244 |
|
---|
245 | typedef struct tagMENU_EVENT_RECORD
|
---|
246 | {
|
---|
247 | UINT dwCommandId; /* perhaps UINT16 ??? */
|
---|
248 | } MENU_EVENT_RECORD,*LPMENU_EVENT_RECORD;
|
---|
249 |
|
---|
250 | typedef struct tagFOCUS_EVENT_RECORD
|
---|
251 | {
|
---|
252 | BOOL bSetFocus; /* perhaps BOOL16 ??? */
|
---|
253 | } FOCUS_EVENT_RECORD,*LPFOCUS_EVENT_RECORD;
|
---|
254 |
|
---|
255 | typedef struct tagINPUT_RECORD
|
---|
256 | {
|
---|
257 | WORD EventType; /* 00 */
|
---|
258 | union
|
---|
259 | {
|
---|
260 | KEY_EVENT_RECORD KeyEvent;
|
---|
261 | MOUSE_EVENT_RECORD MouseEvent;
|
---|
262 | WINDOW_BUFFER_SIZE_RECORD WindowBufferSizeEvent;
|
---|
263 | MENU_EVENT_RECORD MenuEvent;
|
---|
264 | FOCUS_EVENT_RECORD FocusEvent;
|
---|
265 | } Event;
|
---|
266 | } INPUT_RECORD,*PINPUT_RECORD;
|
---|
267 |
|
---|
268 | /* INPUT_RECORD.wEventType */
|
---|
269 | #define KEY_EVENT 0x01
|
---|
270 | #define MOUSE_EVENT 0x02
|
---|
271 | #define WINDOW_BUFFER_SIZE_EVENT 0x04
|
---|
272 | #define MENU_EVENT 0x08
|
---|
273 | #define FOCUS_EVENT 0x10
|
---|
274 |
|
---|
275 | #define CONSOLE_TEXTMODE_BUFFER 1
|
---|
276 |
|
---|
277 | #ifdef __i386__
|
---|
278 | /* Note: this should return a COORD, but calling convention for returning
|
---|
279 | * structures is different between Windows and gcc on i386. */
|
---|
280 | WINBASEAPI DWORD WINAPI GetLargestConsoleWindowSize(HANDLE);
|
---|
281 |
|
---|
282 | static inline COORD __wine_GetLargestConsoleWindowSize_wrapper(HANDLE h)
|
---|
283 | {
|
---|
284 | union {
|
---|
285 | COORD c;
|
---|
286 | DWORD dw;
|
---|
287 | } u;
|
---|
288 | u.dw = GetLargestConsoleWindowSize(h);
|
---|
289 | return u.c;
|
---|
290 | }
|
---|
291 | #define GetLargestConsoleWindowSize(h) __wine_GetLargestConsoleWindowSize_wrapper(h)
|
---|
292 |
|
---|
293 | #else /* __i386__ */
|
---|
294 | WINBASEAPI COORD WINAPI GetLargestConsoleWindowSize(HANDLE);
|
---|
295 | #endif /* __i386__ */
|
---|
296 |
|
---|
297 | WINBASEAPI BOOL WINAPI AddConsoleAliasA(LPSTR,LPSTR,LPSTR);
|
---|
298 | WINBASEAPI BOOL WINAPI AddConsoleAliasW(LPWSTR,LPWSTR,LPWSTR);
|
---|
299 | #define AddConsoleAlias WINELIB_NAME_AW(AddConsoleAlias)
|
---|
300 | WINBASEAPI BOOL WINAPI AllocConsole(VOID);
|
---|
301 | WINBASEAPI BOOL WINAPI AttachConsole(DWORD);
|
---|
302 | WINBASEAPI HANDLE WINAPI CreateConsoleScreenBuffer( DWORD,DWORD,LPSECURITY_ATTRIBUTES,DWORD,LPVOID);
|
---|
303 | WINBASEAPI BOOL WINAPI FillConsoleOutputAttribute( HANDLE,WORD,DWORD,COORD,LPDWORD);
|
---|
304 | WINBASEAPI BOOL WINAPI FillConsoleOutputCharacterA(HANDLE,CHAR,DWORD,COORD,LPDWORD);
|
---|
305 | WINBASEAPI BOOL WINAPI FillConsoleOutputCharacterW(HANDLE,WCHAR,DWORD,COORD,LPDWORD);
|
---|
306 | #define FillConsoleOutputCharacter WINELIB_NAME_AW(FillConsoleOutputCharacter)
|
---|
307 | WINBASEAPI BOOL WINAPI FlushConsoleInputBuffer( HANDLE);
|
---|
308 | WINBASEAPI BOOL WINAPI FreeConsole(VOID);
|
---|
309 | WINBASEAPI BOOL WINAPI GenerateConsoleCtrlEvent( DWORD,DWORD);
|
---|
310 | WINBASEAPI DWORD WINAPI GetConsoleAliasA(LPSTR,LPSTR,DWORD,LPSTR);
|
---|
311 | WINBASEAPI DWORD WINAPI GetConsoleAliasW(LPWSTR,LPWSTR,DWORD,LPWSTR);
|
---|
312 | #define GetConsoleAlias WINELIB_NAME_AW(GetConsoleAlias)
|
---|
313 | WINBASEAPI DWORD WINAPI GetConsoleAliasesA(LPSTR,DWORD,LPSTR);
|
---|
314 | WINBASEAPI DWORD WINAPI GetConsoleAliasesW(LPWSTR,DWORD,LPWSTR);
|
---|
315 | #define GetConsoleAliases WINELIB_NAME_AW(GetConsoleAliases)
|
---|
316 | WINBASEAPI DWORD WINAPI GetConsoleAliasesLengthA(LPSTR);
|
---|
317 | WINBASEAPI DWORD WINAPI GetConsoleAliasesLengthW(LPWSTR);
|
---|
318 | #define GetConsoleAliasesLength WINELIB_NAME_AW(GetConsoleAliasesLength)
|
---|
319 | WINBASEAPI DWORD WINAPI GetConsoleAliasExesA(LPSTR,DWORD);
|
---|
320 | WINBASEAPI DWORD WINAPI GetConsoleAliasExesW(LPWSTR,DWORD);
|
---|
321 | #define GetConsoleAliasExes WINELIB_NAME_AW(GetConsoleAliasExes)
|
---|
322 | WINBASEAPI DWORD WINAPI GetConsoleAliasExesLengthA(VOID);
|
---|
323 | WINBASEAPI DWORD WINAPI GetConsoleAliasExesLengthW(VOID);
|
---|
324 | #define GetConsoleAliasExesLength WINELIB_NAME_AW(GetConsoleAliasExesLength)
|
---|
325 | WINBASEAPI UINT WINAPI GetConsoleCP(VOID);
|
---|
326 | WINBASEAPI BOOL WINAPI GetConsoleCursorInfo( HANDLE,LPCONSOLE_CURSOR_INFO);
|
---|
327 | WINBASEAPI BOOL WINAPI GetConsoleDisplayMode(LPDWORD);
|
---|
328 | WINBASEAPI COORD WINAPI GetConsoleFontSize(HANDLE,DWORD);
|
---|
329 | WINBASEAPI BOOL WINAPI GetConsoleHistoryInfo(LPCONSOLE_HISTORY_INFO);
|
---|
330 | WINBASEAPI BOOL WINAPI GetConsoleInputExeNameA(DWORD,LPSTR);
|
---|
331 | WINBASEAPI BOOL WINAPI GetConsoleInputExeNameW(DWORD,LPWSTR);
|
---|
332 | #define GetConsoleInputExeName WINELIB_NAME_AW(GetConsoleInputExeName)
|
---|
333 | WINBASEAPI BOOL WINAPI GetConsoleMode( HANDLE,LPDWORD);
|
---|
334 | WINBASEAPI DWORD WINAPI GetConsoleOriginalTitleA(LPSTR,DWORD);
|
---|
335 | WINBASEAPI DWORD WINAPI GetConsoleOriginalTitleW(LPWSTR,DWORD);
|
---|
336 | #define GetConsoleOriginalTitle WINELIB_NAME_AW(GetConsoleOriginalTitle)
|
---|
337 | WINBASEAPI UINT WINAPI GetConsoleOutputCP(VOID);
|
---|
338 | WINBASEAPI DWORD WINAPI GetConsoleProcessList(LPDWORD,DWORD);
|
---|
339 | WINBASEAPI BOOL WINAPI GetConsoleScreenBufferInfo(HANDLE,LPCONSOLE_SCREEN_BUFFER_INFO);
|
---|
340 | WINBASEAPI BOOL WINAPI GetConsoleScreenBufferInfoEx(HANDLE,LPCONSOLE_SCREEN_BUFFER_INFOEX);
|
---|
341 | WINBASEAPI DWORD WINAPI GetConsoleTitleA(LPSTR,DWORD);
|
---|
342 | WINBASEAPI DWORD WINAPI GetConsoleTitleW(LPWSTR,DWORD);
|
---|
343 | #define GetConsoleTitle WINELIB_NAME_AW(GetConsoleTitle)
|
---|
344 | WINBASEAPI HWND WINAPI GetConsoleWindow(void);
|
---|
345 | WINBASEAPI BOOL WINAPI GetCurrentConsoleFont(HANDLE,BOOL,LPCONSOLE_FONT_INFO);
|
---|
346 | WINBASEAPI BOOL WINAPI GetCurrentConsoleFontEx(HANDLE,BOOL,LPCONSOLE_FONT_INFOEX);
|
---|
347 | WINBASEAPI BOOL WINAPI GetNumberOfConsoleInputEvents( HANDLE,LPDWORD);
|
---|
348 | WINBASEAPI BOOL WINAPI GetNumberOfConsoleMouseButtons(LPDWORD);
|
---|
349 | WINBASEAPI BOOL WINAPI PeekConsoleInputA( HANDLE,PINPUT_RECORD,DWORD,LPDWORD);
|
---|
350 | WINBASEAPI BOOL WINAPI PeekConsoleInputW( HANDLE,PINPUT_RECORD,DWORD,LPDWORD);
|
---|
351 | #define PeekConsoleInput WINELIB_NAME_AW(PeekConsoleInput)
|
---|
352 | WINBASEAPI BOOL WINAPI ReadConsoleA(HANDLE,LPVOID,DWORD,LPDWORD,LPVOID);
|
---|
353 | WINBASEAPI BOOL WINAPI ReadConsoleW(HANDLE,LPVOID,DWORD,LPDWORD,LPVOID);
|
---|
354 | #define ReadConsole WINELIB_NAME_AW(ReadConsole)
|
---|
355 | WINBASEAPI BOOL WINAPI ReadConsoleInputA(HANDLE,PINPUT_RECORD,DWORD,LPDWORD);
|
---|
356 | WINBASEAPI BOOL WINAPI ReadConsoleInputW(HANDLE,PINPUT_RECORD,DWORD,LPDWORD);
|
---|
357 | #define ReadConsoleInput WINELIB_NAME_AW(ReadConsoleInput)
|
---|
358 | WINBASEAPI BOOL WINAPI ReadConsoleOutputA( HANDLE,LPCHAR_INFO,COORD,COORD,LPSMALL_RECT);
|
---|
359 | WINBASEAPI BOOL WINAPI ReadConsoleOutputW( HANDLE,LPCHAR_INFO,COORD,COORD,LPSMALL_RECT);
|
---|
360 | #define ReadConsoleOutput WINELIB_NAME_AW(ReadConsoleOutput)
|
---|
361 | WINBASEAPI BOOL WINAPI ReadConsoleOutputAttribute( HANDLE,LPWORD,DWORD,COORD,LPDWORD);
|
---|
362 | WINBASEAPI BOOL WINAPI ReadConsoleOutputCharacterA(HANDLE,LPSTR,DWORD,COORD,LPDWORD);
|
---|
363 | WINBASEAPI BOOL WINAPI ReadConsoleOutputCharacterW(HANDLE,LPWSTR,DWORD,COORD,LPDWORD);
|
---|
364 | #define ReadConsoleOutputCharacter WINELIB_NAME_AW(ReadConsoleOutputCharacter)
|
---|
365 | WINBASEAPI BOOL WINAPI ScrollConsoleScreenBufferA( HANDLE,LPSMALL_RECT,LPSMALL_RECT,COORD,LPCHAR_INFO);
|
---|
366 | WINBASEAPI BOOL WINAPI ScrollConsoleScreenBufferW( HANDLE,LPSMALL_RECT,LPSMALL_RECT,COORD,LPCHAR_INFO);
|
---|
367 | #define ScrollConsoleScreenBuffer WINELIB_NAME_AW(ScrollConsoleScreenBuffer)
|
---|
368 | WINBASEAPI BOOL WINAPI SetConsoleActiveScreenBuffer( HANDLE);
|
---|
369 | WINBASEAPI BOOL WINAPI SetConsoleCP(UINT);
|
---|
370 | WINBASEAPI BOOL WINAPI SetConsoleCtrlHandler( PHANDLER_ROUTINE,BOOL);
|
---|
371 | WINBASEAPI BOOL WINAPI SetConsoleCursorInfo( HANDLE,LPCONSOLE_CURSOR_INFO);
|
---|
372 | WINBASEAPI BOOL WINAPI SetConsoleCursorPosition(HANDLE,COORD);
|
---|
373 | WINBASEAPI BOOL WINAPI SetConsoleDisplayMode(HANDLE,DWORD,LPCOORD);
|
---|
374 | WINBASEAPI BOOL WINAPI SetConsoleHistoryInfo(LPCONSOLE_HISTORY_INFO);
|
---|
375 | WINBASEAPI BOOL WINAPI SetConsoleMode( HANDLE,DWORD);
|
---|
376 | WINBASEAPI BOOL WINAPI SetConsoleOutputCP(UINT);
|
---|
377 | WINBASEAPI BOOL WINAPI SetConsoleScreenBufferInfoEx(HANDLE,LPCONSOLE_SCREEN_BUFFER_INFOEX);
|
---|
378 | WINBASEAPI BOOL WINAPI SetConsoleScreenBufferSize(HANDLE,COORD);
|
---|
379 | WINBASEAPI BOOL WINAPI SetConsoleTextAttribute( HANDLE,WORD);
|
---|
380 | WINBASEAPI BOOL WINAPI SetConsoleTitleA(LPCSTR);
|
---|
381 | WINBASEAPI BOOL WINAPI SetConsoleTitleW(LPCWSTR);
|
---|
382 | #define SetConsoleTitle WINELIB_NAME_AW(SetConsoleTitle)
|
---|
383 | WINBASEAPI BOOL WINAPI SetConsoleWindowInfo( HANDLE,BOOL,LPSMALL_RECT);
|
---|
384 | WINBASEAPI BOOL WINAPI SetCurrentConsoleFontEx(HANDLE,BOOL,LPCONSOLE_FONT_INFOEX);
|
---|
385 | WINBASEAPI BOOL WINAPI WriteConsoleA(HANDLE,CONST VOID *,DWORD,LPDWORD,LPVOID);
|
---|
386 | WINBASEAPI BOOL WINAPI WriteConsoleW(HANDLE,CONST VOID *,DWORD,LPDWORD,LPVOID);
|
---|
387 | #define WriteConsole WINELIB_NAME_AW(WriteConsole)
|
---|
388 | WINBASEAPI BOOL WINAPI WriteConsoleInputA(HANDLE,const INPUT_RECORD *,DWORD,LPDWORD);
|
---|
389 | WINBASEAPI BOOL WINAPI WriteConsoleInputW(HANDLE,const INPUT_RECORD *,DWORD,LPDWORD);
|
---|
390 | #define WriteConsoleInput WINELIB_NAME_AW(WriteConsoleInput)
|
---|
391 | WINBASEAPI BOOL WINAPI WriteConsoleOutputA(HANDLE,const CHAR_INFO*,COORD,COORD,LPSMALL_RECT);
|
---|
392 | WINBASEAPI BOOL WINAPI WriteConsoleOutputW(HANDLE,const CHAR_INFO*,COORD,COORD,LPSMALL_RECT);
|
---|
393 | #define WriteConsoleOutput WINELIB_NAME_AW(WriteConsoleOutput)
|
---|
394 | WINBASEAPI BOOL WINAPI WriteConsoleOutputAttribute(HANDLE,CONST WORD *,DWORD,COORD,LPDWORD);
|
---|
395 | WINBASEAPI BOOL WINAPI WriteConsoleOutputCharacterA(HANDLE,LPCSTR,DWORD,COORD,LPDWORD);
|
---|
396 | WINBASEAPI BOOL WINAPI WriteConsoleOutputCharacterW(HANDLE,LPCWSTR,DWORD,COORD,LPDWORD);
|
---|
397 | #define WriteConsoleOutputCharacter WINELIB_NAME_AW(WriteConsoleOutputCharacter)
|
---|
398 |
|
---|
399 | #ifdef __cplusplus
|
---|
400 | }
|
---|
401 | #endif
|
---|
402 |
|
---|
403 | #endif /* __WINE_WINCON_H */
|
---|