home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ddkx86v1.zip / DDKX86 / H / PMP.H < prev    next >
C/C++ Source or Header  |  1995-04-14  |  4KB  |  126 lines

  1. /*DDK*************************************************************************/
  2. /*                                                                           */
  3. /* COPYRIGHT    Copyright (C) 1995 IBM Corporation                           */
  4. /*                                                                           */
  5. /*    The following IBM OS/2 WARP source code is provided to you solely for  */
  6. /*    the purpose of assisting you in your development of OS/2 WARP device   */
  7. /*    drivers. You may use this code in accordance with the IBM License      */
  8. /*    Agreement provided in the IBM Device Driver Source Kit for OS/2. This  */
  9. /*    Copyright statement may not be removed.                                */
  10. /*                                                                           */
  11. /*****************************************************************************/
  12. /****************************** Module Header ******************************\
  13. *
  14. * Module Name: PMP.H
  15. *
  16. * OS/2 Presentation Manager top level include file.
  17. *
  18. *
  19. *
  20. * ===========================================================================
  21. *
  22. * The following symbols are used in this file for conditional sections.
  23. *
  24. *   #define:                To include:
  25. *
  26. *   INCL_PMP    -  ALL of OS/2 PRIVATE Presentation Manager
  27. *   INCL_WINP   -  OS/2 PRIVATE Window Manager
  28. *   INCL_SHLP   -  OS/2 PRIVATE Shell
  29. *   INCL_DEVP   -  OS/2 PRIVATE Device Context
  30. *   INCL_GPIP   -  OS/2 PRIVATE GPI
  31. *   INCL_AVIOP  -  OS/2 PRIVATE Avio
  32. *   INCL_SPLP   -  OS/2 PRIVATE Spooler
  33. *   INCL_HELP   -  OS/2 PRIVATE Help
  34. *   INCL_TKTP   -  OS/2 PRIVATE Toolkit
  35. *
  36. * ===========================================================================
  37. *
  38. * Comments at the end of each typedef line give the name tags used in
  39. * the assembler include version of this file.
  40. *
  41. * The assembler include version of this file excludes lines between NOINC
  42. * and INC comments.
  43. *
  44. #ifndef __IBMC__
  45.    * The 32-bit version of this file (as placed into the IBMH directory)
  46.    * excludes all non 32-bit material marked in this file as well
  47.    * as any areas specifically marked with __IBMC__ conditional
  48.    * sections - including this paragraph. The H2IBMH rexx command file
  49.    * removes these sections.
  50. #endif
  51. \***************************************************************************/
  52.  
  53. /* NOINC */
  54. #ifdef __IBMC__
  55.    #pragma checkout( suspend )
  56.       #ifndef __CHKHDR__
  57.          #pragma checkout( suspend )
  58.       #endif
  59.    #pragma checkout( resume )
  60. #endif
  61. /* INC */
  62.  
  63. #define PMP_INCLUDED
  64.  
  65. #ifndef INCL_32         /* If neither INCL_32 or INCL_16 set already */
  66.    #ifndef INCL_16      /* find out from compiler if 32-bit or not.  */
  67.      #ifdef M_I386
  68.         #define INCL_32 /* Compiling for 32-bit */
  69.      #else
  70.         #define INCL_16 /* Compiling for 16-bit */
  71.      #endif
  72.   #endif
  73. #endif
  74.  
  75. /* if INCL_PMP defined then define all the symbols */
  76. #ifdef INCL_PMP
  77.     #define INCL_WINP
  78.     #define INCL_SHLP
  79.     #define INCL_DEVP
  80.     #define INCL_GPIP
  81.     #define INCL_AVIOP
  82.     #define INCL_SPLP
  83.     #define INCL_HELP
  84.     #define INCL_TKTP
  85. #endif /* INCL_PMP*/
  86.  
  87. #ifdef INCL_WINP
  88. #include <pmwinp.h>    /* PRIVATE OS/2 Window Manager definitions */
  89. #endif
  90.  
  91. #ifdef INCL_SHLP
  92. #include <pmshlp.h>    /* PRIVATE OS/2 Shell definitions */
  93. #endif
  94.  
  95. #ifdef INCL_DEVP
  96. #include <pmdevp.h>    /* PRIVATE OS/2 Device Context definitions */
  97. #endif
  98.  
  99. #ifdef INCL_GPIP
  100. #include <pmgpip.h>    /* PRIVATE OS/2 GPI definitions */
  101. #endif
  102.  
  103. #ifdef INCL_AVIOP
  104. #include <pmaviop.h>   /* PRIVATE OS/2 AVIO definitions */
  105. #endif
  106.  
  107. #ifdef INCL_SPLP
  108. #include <pmsplp.h>    /* PRIVATE OS/2 Spooler definitions */
  109. #endif
  110.  
  111. #if (defined(INCL_HELP) || defined(INCL_TKTP))
  112. #include <pmtktp.h>    /* PRIVATE OS/2 Toolkit definitions */
  113. #endif
  114.  
  115. /* NOINC */
  116. #ifdef __IBMC__
  117.    #pragma checkout( suspend )
  118.       #ifndef __CHKHDR__
  119.          #pragma checkout( resume )
  120.       #endif
  121.    #pragma checkout( resume )
  122. #endif
  123. /* INC */
  124.  
  125. /**************************** end of file **********************************/
  126.