home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ddkx86v1.zip / DDKX86 / IBMH / BSE.H next >
C/C++ Source or Header  |  1995-04-14  |  3KB  |  79 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. /*static char *SCCSID = "@(#)bse.h    6.8 92/03/15";*/
  13. /****************************** Module Header ******************************\
  14. *
  15. * Module Name: BSE.H
  16. *
  17. * This file includes the definitions necessary for writing Base OS/2 applications.
  18. *
  19. *
  20. *
  21. *
  22. * ===========================================================================
  23. *
  24. * The following symbols are used in this file for conditional sections.
  25. *
  26. *   INCL_BASE      -  ALL of OS/2 Base
  27. *   INCL_DOS       -  OS/2 DOS Kernel
  28. *   INCL_SUB       -  OS/2 VIO/KBD/MOU
  29. *   INCL_DOSERRORS -  OS/2 Errors         - only included if symbol defined
  30. *   INCL_ORDINALS  -  OS/2 Ordinals       - only included if symbol defined
  31. \***************************************************************************/
  32.  
  33. #ifdef __IBMC__
  34. #pragma checkout( suspend )
  35.    #ifndef __CHKHDR__
  36.       #pragma checkout( suspend )
  37.    #endif
  38. #pragma checkout( resume )
  39. #endif
  40.  
  41. #ifndef __BSE__
  42. /* NOINC */
  43. #define __BSE__
  44. /* INC */
  45.  
  46. #define INCL_BASEINCLUDED
  47.  
  48. /* if INCL_BASE defined then define all the symbols */
  49.  
  50. #ifdef INCL_BASE
  51.    #define INCL_DOS
  52.    #define INCL_SUB
  53.    #define INCL_DOSERRORS
  54. #endif /* INCL_BASE */
  55.  
  56. #include <bsedos.h>       /* Base definitions */
  57.  
  58.  
  59. #ifdef INCL_DOSDEVIOCTL
  60.    #include <bsedev.h>    /* Structures and constants for DosDevIOCtl */
  61. #endif /* INCL_DOSDEVIOCTL */
  62.  
  63. #include <bsesub.h>       /* VIO/KBD/MOU definitions */
  64. #include <bseerr.h>       /* Base error code definitions */
  65.  
  66. #ifdef INCL_ORDINALS
  67. #include <bseord.h>     /* ordinals */
  68. #endif /* INCL_ORDINALS */
  69.  
  70. #endif /* __BSE__ */
  71.  
  72. #ifdef __IBMC__
  73. #pragma checkout( suspend )
  74.    #ifndef __CHKHDR__
  75.       #pragma checkout( resume )
  76.    #endif
  77. #pragma checkout( resume )
  78. #endif
  79.