home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ddkx86v1.zip / DDKX86 / H / PMDEVP.H < prev    next >
C/C++ Source or Header  |  1995-04-14  |  3KB  |  81 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: PMDEVP.H
  15. *
  16. * OS/2 Presentation Manager Device Context PRIVATE constants, types and
  17. * function declarations
  18. *
  19. *
  20. *
  21. * ===========================================================================
  22. *
  23. * Comments at the end of each typedef line give the name tags used in
  24. * the assembler include version of this file.
  25. *
  26. * The assembler include version of this file excludes lines between NOINC
  27. * and INC comments.
  28. *
  29. #ifndef __IBMC__
  30.    * The 32-bit version of this file (as placed into the IBMH directory)
  31.    * excludes all non 32-bit material marked in this file as well
  32.    * as any areas specifically marked with __IBMC__ conditional
  33.    * sections - including this paragraph. The H2IBMH rexx command file
  34.    * removes these sections.
  35. #endif
  36. \***************************************************************************/
  37.  
  38. /* NOINC */
  39. #ifdef __IBMC__
  40.    #pragma checkout( suspend )
  41.       #ifndef __CHKHDR__
  42.          #pragma checkout( suspend )
  43.       #endif
  44.    #pragma checkout( resume )
  45. #endif
  46. /* INC */
  47.  
  48. #define PMDEVP_INCLUDED
  49.  
  50. #ifndef INCL_32         /* If neither INCL_32 or INCL_16 set already */
  51.    #ifndef INCL_16      /* find out from compiler if 32-bit or not.  */
  52.      #ifdef M_I386
  53.         #define INCL_32 /* Compiling for 32-bit */
  54.      #else
  55.         #define INCL_16 /* Compiling for 16-bit */
  56.      #endif
  57.   #endif
  58. #endif
  59.  
  60. /* APIs */
  61. BOOL APIENTRY DevStdOpen(HDC);
  62.  
  63. /* structure for DEVESC_SETMODE - special case for code page */
  64. typedef struct _ESCSETMODE {  /* esm */
  65.     ULONG  mode;
  66.     USHORT codepage;
  67. } ESCSETMODE;
  68. typedef ESCSETMODE FAR * PESCSETMODE;
  69.  
  70. /* NOINC */
  71. #ifdef __IBMC__
  72.    #pragma checkout( suspend )
  73.       #ifndef __CHKHDR__
  74.          #pragma checkout( resume )
  75.       #endif
  76.    #pragma checkout( resume )
  77. #endif
  78. /* INC */
  79.  
  80. /**************************** end of file **********************************/
  81.