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

Last change on this file since 1036 was 767, checked in by phaller, 26 years ago

Add: little improvement of console properties

File size: 2.4 KB
Line 
1/* $Id: conprop.h,v 1.5 1999-08-31 22:44:33 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
58 /* read console properties */
59APIRET EXPENTRY ConsolePropertyLoad(PICONSOLEOPTIONS pConsoleOptions);
60
61 /* write console properties */
62APIRET EXPENTRY ConsolePropertySave(PICONSOLEOPTIONS pConsoleOptions);
63
64 /* apply console properties */
65APIRET EXPENTRY ConsolePropertyApply(PICONSOLEOPTIONS pConsoleOptions);
66
67#ifdef __cplusplus
68}
69#endif
70
71
72#endif /* _CONSOLEPROPERTY_H_ */
Note: See TracBrowser for help on using the repository browser.