home *** CD-ROM | disk | FTP | other *** search
/ Inside Multimedia 1995 July / IMM0795.ISO / share / os2 / pmfract / src / tool.h < prev    next >
C/C++ Source or Header  |  1994-01-24  |  1KB  |  33 lines

  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 EXPENTRY
  10. #define EXPENTRY 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
  33.