diff options
Diffstat (limited to 'winsup/w32api/include/wincon.h')
-rw-r--r-- | winsup/w32api/include/wincon.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/winsup/w32api/include/wincon.h b/winsup/w32api/include/wincon.h index 541e5efcd..a43fe17f9 100644 --- a/winsup/w32api/include/wincon.h +++ b/winsup/w32api/include/wincon.h @@ -18,7 +18,7 @@ extern "C" { #define BACKGROUND_INTENSITY 128 #if (_WIN32_WINNT >= 0x0501) #define CONSOLE_FULLSCREEN_MODE 1 -#define CONSOLE_WINDOWED_MODE 0 +#define CONSOLE_WINDOWED_MODE 2 #endif #define CTRL_C_EVENT 0 #define CTRL_BREAK_EVENT 1 @@ -126,7 +126,8 @@ typedef struct _INPUT_RECORD { } INPUT_RECORD,*PINPUT_RECORD; BOOL WINAPI AllocConsole(void); -#if (_WIN32_WINNT >= 0x0501) +#if (_WIN32_WINNT >= 0x0500) +#define ATTACH_PARENT_PROCESS ((DWORD)-1) BOOL WINAPI AttachConsole(DWORD); #endif HANDLE WINAPI CreateConsoleScreenBuffer(DWORD,DWORD,CONST SECURITY_ATTRIBUTES*,DWORD,LPVOID); |