| 1 | /** |
| 2 | * This file has no copyright assigned and is placed in the Public Domain. |
| 3 | * This file is part of the mingw-w64 runtime package. |
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. |
| 5 | */ |
| 6 | |
| 7 | #ifndef _WINCON_ |
| 8 | #define _WINCON_ |
| 9 | |
| 10 | #include <winapifamily.h> |
| 11 | |
| 12 | #ifdef __cplusplus |
| 13 | extern "C" { |
| 14 | #endif |
| 15 | |
| 16 | #include <wincontypes.h> |
| 17 | |
| 18 | #ifndef NOGDI |
| 19 | #include <wingdi.h> |
| 20 | #endif |
| 21 | |
| 22 | #ifndef NOAPISET |
| 23 | #include <consoleapi.h> |
| 24 | #include <consoleapi2.h> |
| 25 | #include <consoleapi3.h> |
| 26 | #endif |
| 27 | |
| 28 | #define CONSOLE_REAL_OUTPUT_HANDLE (LongToHandle(-2)) |
| 29 | #define CONSOLE_REAL_INPUT_HANDLE (LongToHandle(-3)) |
| 30 | |
| 31 | #define CONSOLE_TEXTMODE_BUFFER 1 |
| 32 | |
| 33 | #ifdef __cplusplus |
| 34 | } |
| 35 | #endif |
| 36 | |
| 37 | #endif /* _WINCON_ */ |