source: trunk/src/kernel32/console.h

Last change on this file was 8773, checked in by sandervl, 23 years ago

KSO: Console Ctrl Handlers updates; GetFileType on std files doesn't always return TYPE_CHAR; Enable writing to STDERRconodin32.cpp

File size: 1.4 KB
RevLine 
[8773]1/* $Id: console.h,v 1.5 2002-06-26 07:13:00 sandervl Exp $ */
[111]2
3/*
4 * Project Odin Software License can be found in LICENSE.TXT
5 * Win32 Console Subsystem for OS/2
6 * 1998/02/11 PH Patrick Haller (haller@zebra.fh-weingarten.de)
7 */
8
9#ifndef _CONSOLE_H_
10#define _CONSOLE_H_
11
12
13/*****************************************************************************
14 * Remark *
15 *****************************************************************************
16 */
17
18/*****************************************************************************
19 * Prototypes *
20 *****************************************************************************/
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
[1182]26#define TABVIRTUALKEYCODES 0x6D
27extern char tabVirtualKeyCodes[TABVIRTUALKEYCODES];
[111]28
[4502]29extern BOOL flVioConsole;
[1182]30
[4502]31DWORD iConsoleInit(BOOL fVioConsole); /* creation of the console subsystem */
[111]32
33DWORD iConsoleDevicesRegister(void); /* create console devices */
34
35void iConsoleWaitClose(void); /* wait for user to close console */
36
37BOOL iConsoleIsActive(void); /* returns TRUE if console window open */
38
[705]39ULONG iConsoleTerminate(void);/* termination of the console subsystem */
[111]40
[8773]41BOOL InternalGenerateConsoleCtrlEvent(DWORD dwCtrlEvent, DWORD dwProcessGroupID);
42BOOL WIN32API DefaultConsoleCtrlHandler(DWORD dwEvent);
43
[111]44#ifdef __cplusplus
45 }
46#endif
47
48#endif /* _CONSOLE_H_ */
Note: See TracBrowser for help on using the repository browser.