source: trunk/src/kernel32/conprop.h@ 7029

Last change on this file since 7029 was 1476, checked in by phaller, 26 years ago

Add: console properties update

File size: 2.6 KB
Line 
1/* $Id: conprop.h,v 1.6 1999-10-27 12:38:46 phaller Exp $ */
2
3/*
4 * Win32 Console Subsystem for OS/2
5 *
6 * 1998/03/06 PH Patrick Haller (haller@zebra.fh-weingarten.de)
7 *
8 * @(#) ConProp.Cpp 1.0.0 1998/03/06 PH start
9 */
10
11#ifndef _CONSOLEPROPERTY_H_
12#define _CONSOLEPROPERTY_H_
13
14
15/*****************************************************************************
16 * Remark *
17 *****************************************************************************
18 */
19
20/*****************************************************************************
21 * Includes *
22 *****************************************************************************/
23
24#include "handlemanager.h"
25#include "console2.h"
26#include "consolerc.h"
27
28
29/*****************************************************************************
30 * Defines & Macros *
31 *****************************************************************************/
32
33 /* this is sent after properties have been read properly from disk */
34#define UM_PROPERTY_APPLY WM_USER + 0x10
35#define UM_PROPERTY_UNDO WM_USER + 0x11
36
37
38/*****************************************************************************
39 * Structures *
40 *****************************************************************************/
41
42
43 /*****************************************************************************
44 * Prototypes *
45 *****************************************************************************/
46
47#ifdef __cplusplus
48extern "C" {
49#endif
50
51
52MRESULT EXPENTRY ConsolePropertyDlgProc(HWND hwnd,
53 ULONG ulMessage,
54 MPARAM mp1,
55 MPARAM mp2);
56
57 /* default console properties */
58DWORD ConsolePropertyDefault(PICONSOLEOPTIONS pConsoleOptions);
59 /* read console properties */
60DWORD ConsolePropertyLoad(PICONSOLEOPTIONS pConsoleOptions);
61
62 /* write console properties */
63DWORD ConsolePropertySave(PICONSOLEOPTIONS pConsoleOptions);
64
65 /* apply console properties */
66DWORD ConsolePropertyApply(PICONSOLEOPTIONS pConsoleOptions);
67
68#ifdef __cplusplus
69}
70#endif
71
72
73#endif /* _CONSOLEPROPERTY_H_ */
Note: See TracBrowser for help on using the repository browser.