+2005-07-18 Michael Gerdau <mgdde@users.sourceforge.net>
+
+ * include/wincon.h (AttachConsole): Correct _WIN32_WINNT guard.
+ (ATTACH_PARENT_PROCESS): Define.
+ (CONSOLE_WINDOWED_MODE): Correct definition to match MSDN
+ documentation.
+
2005-07-17 Benoit Blanchon <bblanchon@users.sourceforge.net>
* include/winbase.h (QueueUserWorkItem): Add prototype.
2005-03-16 Christopher Faylor <cgf@timesys.com>
- * winclude/winnt.h (SYSTEM_LUID): Fix definitition invalidated by below
+ * include/winnt.h (SYSTEM_LUID): Fix definitition invalidated by below
change.
2005-03-16 Danny Smith <dannysmith@users.sourceforge.net>
* include/winuser.h (LLKHF_EXTENDED, LLKHF_INJECTED, LLKHF_UP):
Add defines.
- (LLKHF_ALTDOWN): Define based on KF_ALTDOWN,
+ (LLKHF_ALTDOWN): Define based on KF_ALTDOWN.
2004-11-19 Benoit Blanchon <bblanchon@users.sourceforge.net>
#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
} 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);