|
|
1.1 root 1: /*
2: TOOL.H -- Contains common definitions
3: Created by Microsoft Corporation, 1989
4: */
5:
6: #define INCL_WIN
7: #include <os2.h>
8:
9: #include "opendlg.h"
10: #include "dialog.h" /* dialog box id's and constants */
11:
12: #define HABX 0L
13: #define CSTRINGS 7
14: #define CCHSTRINGSMAX 512 /* The total length of all loaded strings
15: must be less than or equal to this.
16: If this is exceeded, ToolInit() will fail.
17: Ifthis should occur, CCHSTRINGSMAX should
18: be increased as necessary and the initial
19: heap size in WINTOOL.DEF should also
20: be increased accordingly.
21: */
22:
23: /* Instead of including STDLIB.H */
24: #define min(a,b) (((a) < (b)) ? (a) : (b))
25: #define max(a,b) (((a) > (b)) ? (a) : (b))
26:
27: #ifndef RC_INVOKED
28: #include "declare.h"
29: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.