Annotation of pmsdk/samples/opendlg/tool.h, revision 1.1.1.1

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: #undef CALLBACK
                     10: #define CALLBACK pascal far _loadds
                     11: 
                     12: #include "opendlg.h"
                     13: #include "dialog.h"    /* dialog box id's and constants */
                     14: 
                     15: #define HABX           0L
                     16: #define CSTRINGS       7
                     17: #define CCHSTRINGSMAX  512 /* The total length of all loaded strings
                     18:                                 must be less than or equal to this.
                     19:                                 If this is exceeded, ToolInit() will fail.
                     20:                                 Ifthis should occur, CCHSTRINGSMAX should
                     21:                                 be increased as necessary and the initial 
                     22:                                 heap size in WINTOOL.DEF should also
                     23:                                 be increased accordingly.
                     24:                              */
                     25: 
                     26: /* Instead of including STDLIB.H */
                     27: #define min(a,b)  (((a) < (b)) ? (a) : (b))
                     28: #define max(a,b)  (((a) > (b)) ? (a) : (b))
                     29: 
                     30: #ifndef RC_INVOKED
                     31: #include "declare.h"
                     32: #endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.