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

  1. /*DDK*************************************************************************/
  2. /*                                                                           */
  3. /* COPYRIGHT (C) Microsoft Corporation, 1989                                 */
  4. /* COPYRIGHT    Copyright (C) 1995 IBM Corporation                           */
  5. /*                                                                           */
  6. /*    The following IBM OS/2 WARP source code is provided to you solely for  */
  7. /*    the purpose of assisting you in your development of OS/2 WARP device   */
  8. /*    drivers. You may use this code in accordance with the IBM License      */
  9. /*    Agreement provided in the IBM Device Driver Source Kit for OS/2. This  */
  10. /*    Copyright statement may not be removed.                                */
  11. /*                                                                           */
  12. /*****************************************************************************/
  13. /*static char *SCCSID = "@(#)bse.h    6.2 91/02/12";*/
  14. /*static char *SCCSID = "@(#)bse.h    6.2 91/02/12";*/
  15. /****************************** Module Header ******************************\
  16. *
  17. * Module Name: BSE.H
  18. *
  19. * This file includes the definitions necessary for writing Base OS/2 applications.
  20. *
  21. *
  22. *
  23. *
  24. * ===========================================================================
  25. *
  26. * The following symbols are used in this file for conditional sections.
  27. *
  28. *   INCL_BASE   -  ALL of OS/2 Base
  29. *   INCL_DOS    -  OS/2 DOS Kernel
  30. *   INCL_SUB    -  OS/2 VIO/KBD/MOU
  31. *   INCL_DOSERRORS -  OS/2 Errors         - only included if symbol defined
  32. *
  33. \***************************************************************************/
  34.  
  35. #define INCL_BASEINCLUDED
  36.  
  37. /* if INCL_BASE defined then define all the symbols */
  38. #ifdef INCL_BASE
  39.     #define INCL_DOS
  40.     #define INCL_SUB
  41.     #define INCL_DOSERRORS
  42. #endif /* INCL_BASE */
  43.  
  44. #ifndef OS2_INCLUDED
  45. #if !(defined(INCL_32) || defined(INCL_16))
  46. #ifdef M_I386
  47.     #define INCL_32
  48. #else /* not M_I386 */
  49.     #define INCL_16
  50. #endif /* M_I386 */
  51. #endif /* INCL_32 || INCL_16 */
  52. #endif /* OS2_INCLUDED */
  53.  
  54. /* XLATOFF */
  55. #ifdef INCL_32
  56. #if defined(INCL_16)
  57. #error message ("Illegal combination of API Flags - 32 && 16")
  58. #endif /* || INCL_16 */
  59. #endif /* INCL_32 */
  60. /* XLATON */
  61.  
  62. #include <bsedos.h>       /* Base definitions */
  63.  
  64. #ifdef INCL_DOSDEVIOCTL
  65. #include <bsedev.h>       /* Structures and constants for DosDevIOCtl */
  66. #endif /* INCL_DOSDEVIOCTL */
  67.  
  68. #ifndef INCL_32
  69. #include <bsesub.h>       /* VIO/KBD/MOU definitions */
  70. #endif /* INCL_32 */
  71. #include <bseerr.h>       /* Base error code definitions */
  72.  
  73. #ifdef INCL_ORDINALS
  74. #include <bseord.h>     /* ordinals */
  75. #endif /* INCL_ORDINALS */
  76.