File:  [OS/2 SDKs] / pmsdk / samples / opendlg / tool.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 12:28:17 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: pmsdk-1989, HEAD
Microsoft OS/2 SDK PM 02-24-1989

/*
    TOOL.H -- Contains common definitions
    Created by Microsoft Corporation, 1989
*/

#define INCL_WIN
#include <os2.h>

#undef CALLBACK
#define CALLBACK pascal far _loadds

#include "opendlg.h"
#include "dialog.h"	/* dialog box id's and constants */

#define HABX		0L
#define CSTRINGS	7
#define CCHSTRINGSMAX	512 /* The total length of all loaded strings
                                must be less than or equal to this.
                                If this is exceeded, ToolInit() will fail.
                                Ifthis should occur, CCHSTRINGSMAX should
                                be increased as necessary and the initial 
                                heap size in WINTOOL.DEF should also
                                be increased accordingly.
                             */

/* Instead of including STDLIB.H */
#define min(a,b)  (((a) < (b)) ? (a) : (b))
#define max(a,b)  (((a) > (b)) ? (a) : (b))

#ifndef RC_INVOKED
#include "declare.h"
#endif

unix.superglobalmegacorp.com

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