home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ddkx86v1.zip / DDKX86 / IBMH / PMDDIM.H < prev    next >
C/C++ Source or Header  |  1995-04-14  |  48KB  |  661 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: PMDDIM.H
  15. *
  16. * OS/2 Presentation Manager entry points macros for the Graphics Engine
  17. *
  18. *
  19. * ===========================================================================
  20. *
  21. * This file is included from PMDDI.H
  22. *
  23. * ===========================================================================
  24. *
  25. * Comments at the end of each typedef line give the name tags used in
  26. * the assembler include version of this file.
  27. *
  28. * The assembler include version of this file excludes lines between NOINC
  29. * and INC comments.
  30. *
  31. \***************************************************************************/
  32.  
  33. /* NOINC */
  34. #ifdef __IBMC__
  35.    #pragma checkout( suspend )
  36.    #ifndef __CHKHDR__
  37.       #pragma checkout( suspend )
  38.    #endif
  39.    #pragma checkout( resume )
  40. #endif
  41. /* INC */
  42.  
  43. #define DDIM_INCLUDED
  44.  
  45. ULONG APIENTRY Gre32Entry2(ULONG,ULONG);
  46. ULONG APIENTRY Gre32Entry3(ULONG,ULONG,ULONG);
  47. ULONG APIENTRY Gre32Entry4(ULONG,ULONG,ULONG,ULONG);
  48. ULONG APIENTRY Gre32Entry5(ULONG,ULONG,ULONG,ULONG,ULONG);
  49. ULONG APIENTRY Gre32Entry6(ULONG,ULONG,ULONG,ULONG,ULONG,ULONG);
  50. ULONG APIENTRY Gre32Entry7(ULONG,ULONG,ULONG,ULONG,ULONG,ULONG,ULONG);
  51. ULONG APIENTRY Gre32Entry8(ULONG,ULONG,ULONG,ULONG,ULONG,ULONG,ULONG,ULONG);
  52. ULONG APIENTRY Gre32Entry9(ULONG,ULONG,ULONG,ULONG,ULONG,ULONG,ULONG,ULONG,ULONG);
  53. ULONG APIENTRY Gre32Entry10(ULONG,ULONG,ULONG,ULONG,ULONG,ULONG,ULONG,ULONG,ULONG,ULONG);
  54.  
  55. #ifdef INCL_GRE_ARCS
  56.    #define GreGetArcParameters(a,b) (BOOL) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PARCPARAMS)(b),0L,0x00004000L)
  57.    #define NGreGetArcParameters 0x00004000L
  58.    #define GreSetArcParameters(a,b) (BOOL) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PARCPARAMS)(b),0L,0x00004001L)
  59.    #define NGreSetArcParameters 0x00004001L
  60.    #define GreArc(a,b) (INT) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PPOINTL)(b),0L,0x00004002L)
  61.    #define NGreArc 0x00004002L
  62.    #define GrePartialArc(a,b,c,d,e) (INT) Gre32Entry7((ULONG)(HDC)(a),(ULONG)(PPOINTL)(b),(ULONG)(FIXED)(c),(ULONG)(FIXED)(d),(ULONG)(FIXED)(e),0L,0x00004003L)
  63.    #define NGrePartialArc 0x00004003L
  64.    #define GreFullArcInterior(a,b) (INT) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(FIXED)(b),0L,0x00004004L)
  65.    #define NGreFullArcInterior 0x00004004L
  66.    #define GreFullArcBoundary(a,b) (INT) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(FIXED)(b),0L,0x00004005L)
  67.    #define NGreFullArcBoundary 0x00004005L
  68.    #define GreFullArcBoth(a,b) (INT) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(FIXED)(b),0L,0x00004006L)
  69.    #define NGreFullArcBoth 0x00004006L
  70.    #define GreBoxInterior(a,b) (INT) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PBOXPARAMS)(b),0L,0x00004007L)
  71.    #define NGreBoxInterior 0x00004007L
  72.    #define GreBoxBoundary(a,b) (INT) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PBOXPARAMS)(b),0L,0x00004008L)
  73.    #define NGreBoxBoundary 0x00004008L
  74.    #define GreBoxBoth(a,b) (INT) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PBOXPARAMS)(b),0L,0x00004009L)
  75.    #define NGreBoxBoth 0x00004009L
  76.    #define GrePolyFillet(a,b,c) (INT) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(PPOINTL)(b),(ULONG)(LONG)(c),0L,0x0000400AL)
  77.    #define NGrePolyFillet 0x0000400AL
  78.    #define GrePolyFilletSharp(a,b,c,d) (INT) Gre32Entry6((ULONG)(HDC)(a),(ULONG)(PPOINTL)(b),(ULONG)(LONG)(c),(ULONG)(PFIXED)(d),0L,0x0000400BL)
  79.    #define NGrePolyFilletSharp 0x0000400BL
  80.    #define GrePolySpline(a,b,c) (INT) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(PPOINTL)(b),(ULONG)(LONG)(c),0L,0x0000400CL)
  81.    #define NGrePolySpline 0x0000400CL
  82.    #define GreDrawConicsInPath(a,b,c,d) (BOOL) Gre32Entry6((ULONG)(HDC)(a),(ULONG)(PPATH)(b),(ULONG)(PCURVE)(c),(ULONG)(LONG)(d),0L,0x0000400DL)
  83.    #define NGreDrawConicsInPath 0x0000400DL
  84.    #define GreCookWholePath(a,b) (BOOL) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PPATH)(b),0L,0x0000400EL)
  85.    #define NGreCookWholePath 0x0000400EL
  86.    #define GreCookPathCurves(a,b,c) (BOOL) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(PPATH)(b),(ULONG)(PPIPELINEINFO)(c),0L,0x0000400FL)
  87.    #define NGreCookPathCurves 0x0000400FL
  88.    #define GreRenderPath(a,b,c,d,e,f,g,h) (BOOL) Gre32Entry10((ULONG)(HDC)(a),(ULONG)(PPATH)(b),(ULONG)(PCURVE)(c),(ULONG)(LONG)(d),(ULONG)(LONG)(e),(ULONG)(LONG)(f),(ULONG)(PSHORTLINE)(g),(ULONG)(LONG)(h),0L,0x00004011L)
  89.    #define NGreRenderPath 0x00004011L
  90. #endif
  91. #ifdef INCL_GRE_LINES
  92.    #define GreDisjointLines(a,b,c) (INT) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(PPOINTL)(b),(ULONG)(LONG)(c),0L,0x00004016L)
  93.    #define NGreDisjointLines 0x00004016L
  94.    #define GreGetCurrentPosition(a,b) (BOOL) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PPOINTL)(b),0L,0x00004017L)
  95.    #define NGreGetCurrentPosition 0x00004017L
  96.    #define GreSetCurrentPosition(a,b) (BOOL) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PPOINTL)(b),0L,0x00004018L)
  97.    #define NGreSetCurrentPosition 0x00004018L
  98.    #define GrePolyLine(a,b,c) (INT) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(PPOINTL)(b),(ULONG)(LONG)(c),0L,0x00004019L)
  99.    #define NGrePolyLine 0x00004019L
  100.    #define GreDrawLinesInPath(a,b,c,d) (BOOL) Gre32Entry6((ULONG)(HDC)(a),(ULONG)(PPATH)(b),(ULONG)(PCURVE)(c),(ULONG)(LONG)(d),0L,0x0000401AL)
  101.    #define NGreDrawLinesInPath 0x0000401AL
  102.    #define GrePolyShortLine(a,b) (INT) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PSHORTLINE)(b),0L,0x0000401BL)
  103.    #define NGrePolyShortLine 0x0000401BL
  104. #endif
  105. #ifdef INCL_GRE_SCANS
  106.    #define GrePolyScanline(a,b) (ULONG) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PSCANDATA)(b),0L,0x0000401CL)
  107.    #define NGrePolyScanline 0x0000401CL
  108. #endif
  109. #ifdef INCL_GRE_BITMAPS
  110.    #define GreDrawBits(a,b,c,d,e,f,g) (LONG) Gre32Entry9((ULONG)(HDC)(a),(ULONG)(PBYTE)(b),(ULONG)(PBITMAPINFO2)(c),(ULONG)(LONG)(d),(ULONG)(PPOINTL)(e),(ULONG)(LONG)(f),(ULONG)(ULONG)(g),0L,0x00006022L)
  111.    #define NGreDrawBits 0x00006022L
  112.    #define GreDeviceCreateBitmap(a,b,c,d,e) (HBITMAP) Gre32Entry7((ULONG)(HDC)(a),(ULONG)(PBITMAPINFOHEADER2)(b),(ULONG)(ULONG)(c),(ULONG)(PBYTE)(d),(ULONG)(PBITMAPINFO2)(e),0L,0x00006023L)
  113.    #define NGreDeviceCreateBitmap 0x00006023L
  114.    #define GreDeviceDeleteBitmap(a,b,c,d) (BOOL) Gre32Entry6((ULONG)(HDC)(a),(ULONG)(HBITMAP)(b),(ULONG)(PDELETERETURN)(c),(ULONG)(ULONG)(d),0L,0x00004024L)
  115.    #define NGreDeviceDeleteBitmap 0x00004024L
  116.    #define GreDeviceSelectBitmap(a,b) (ULONG) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(HBITMAP)(b),0L,0x00004025L)
  117.    #define NGreDeviceSelectBitmap 0x00004025L
  118.    #define GreBitblt(a,b,c,d,e,f,g) (INT) Gre32Entry9((ULONG)(HDC)(a),(ULONG)(HDC)(b),(ULONG)(LONG)(c),(ULONG)(PBITBLTPARAMETERS)(d),(ULONG)(LONG)(e),(ULONG)(ULONG)(f),(ULONG)(PBITBLTATTRS)(g),0L,0x00006026L)
  119.    #define NGreBitblt 0x00006026L
  120.    #define GreGetPel(a,b) (LONG) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PPOINTL)(b),0L,0x00006027L)
  121.    #define NGreGetPel 0x00006027L
  122.    #define GreSetPel(a,b) (INT) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PPOINTL)(b),0L,0x00004028L)
  123.    #define NGreSetPel 0x00004028L
  124.    #define GreImageData(a,b,c,d) (INT) Gre32Entry6((ULONG)(HDC)(a),(ULONG)(PBYTE)(b),(ULONG)(LONG)(c),(ULONG)(LONG)(d),0L,0x00004029L)
  125.    #define NGreImageData 0x00004029L
  126.    #define GreScanLR(a,b,c,d,e,f) (INT) Gre32Entry8((ULONG)(HDC)(a),(ULONG)(PPOINTL)(b),(ULONG)(LONG)(c),(ULONG)(LONG)(d),(ULONG)(PLONG)(e),(ULONG)(PLONG)(f),0L,0x0000602AL)
  127.    #define NGreScanLR 0x0000602AL
  128.    #define GreFloodFill(a,b,c) (INT) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(LONG)(b),(ULONG)(LONG)(c),0L,0x0000602BL)
  129.    #define NGreFloodFill 0x0000602BL
  130.    #define GreSaveScreenBits(a,b) (ULONG) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PRECTL)(b),0L,0x0000402CL)
  131.    #define NGreSaveScreenBits 0x0000402CL
  132.    #define GreRestoreScreenBits(a,b,c,d) (BOOL) Gre32Entry6((ULONG)(HDC)(a),(ULONG)(LHANDLE)(b),(ULONG)(PRECTL)(c),(ULONG)(ULONG)(d),0L,0x0000402DL)
  133.    #define NGreRestoreScreenBits 0x0000402DL
  134.    #define GreDrawBorder(a,b,c,d,e,f,g) (BOOL) Gre32Entry9((ULONG)(HDC)(a),(ULONG)(PRECTL)(b),(ULONG)(LONG)(c),(ULONG)(LONG)(d),(ULONG)(COLOR)(e),(ULONG)(COLOR)(f),(ULONG)(ULONG)(g),0L,0x0000602EL)
  135.    #define NGreDrawBorder 0x0000602EL
  136.    #define GreDeviceSetCursor(a,b,c) (BOOL) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(PPOINTL)(b),(ULONG)(HBITMAP)(c),0L,0x0000402FL)
  137.    #define NGreDeviceSetCursor 0x0000402FL
  138.    #define GreGetBitmapBits(a,b,c,d,e,f) (LONG) Gre32Entry8((ULONG)(HDC)(a),(ULONG)(HBITMAP)(b),(ULONG)(LONG)(c),(ULONG)(LONG)(d),(ULONG)(PBYTE)(e),(ULONG)(PBITMAPINFO2)(f),0L,0x00006030L)
  139.    #define NGreGetBitmapBits 0x00006030L
  140.    #define GreSetBitmapBits(a,b,c,d,e,f) (LONG) Gre32Entry8((ULONG)(HDC)(a),(ULONG)(HBITMAP)(b),(ULONG)(LONG)(c),(ULONG)(LONG)(d),(ULONG)(PBYTE)(e),(ULONG)(PBITMAPINFO2)(f),0L,0x00006031L)
  141.    #define NGreSetBitmapBits 0x00006031L
  142. #endif
  143. #ifdef INCL_WINPOINTERS
  144.    #define GreSetColorCursor(a,b) (BOOL) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PPOINTERINFO)(b),0L,0x00004032L)
  145.    #define NGreSetColorCursor 0x00004032L
  146. #endif
  147. #ifdef INCL_GRE_STRINGS
  148.    #define GreCharString(a,b,c) (INT) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(LONG)(b),(ULONG)(PCH)(c),0L,0x00005035L)
  149.    #define NGreCharString 0x00005035L
  150.    #define GreCharStringPos(a,b,c,d,e,f,g,h) (INT) Gre32Entry10((ULONG)(HDC)(a),(ULONG)(PPOINTL)(b),(ULONG)(PRECTL)(c),(ULONG)(ULONG)(d),(ULONG)(LONG)(e),(ULONG)(PCH)(f),(ULONG)(PLONG)(g),(ULONG)(PCSP_INFO)(h),0L,0x00007036L)
  151.    #define NGreCharStringPos 0x00007036L
  152.    #define GreQueryTextBox(a,b,c,d,e) (BOOL) Gre32Entry7((ULONG)(HDC)(a),(ULONG)(LONG)(b),(ULONG)(PCH)(c),(ULONG)(LONG)(d),(ULONG)(PPOINTL)(e),0L,0x00005037L)
  153.    #define NGreQueryTextBox 0x00005037L
  154.    #define GreQueryCharPositions(a,b,c,d,e,f,g) (ULONG) Gre32Entry9((ULONG)(HDC)(a),(ULONG)(PPOINTL)(b),(ULONG)(ULONG)(c),(ULONG)(LONG)(d),(ULONG)(PCH)(e),(ULONG)(PLONG)(f),(ULONG)(PPOINTL)(g),0L,0x00005038L)
  155.    #define NGreQueryCharPositions 0x00005038L
  156.    #define GreQueryWidthTable(a,b,c,d) (BOOL) Gre32Entry6((ULONG)(HDC)(a),(ULONG)(LONG)(b),(ULONG)(LONG)(c),(ULONG)(PLONG)(d),0L,0x00005039L)
  157.    #define NGreQueryWidthTable 0x00005039L
  158. #endif
  159. #ifdef INCL_GRE_MARKERS
  160.    #define GrePolyMarker(a,b,c) (INT) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(PPOINTL)(b),(ULONG)(LONG)(c),0L,0x0000403AL)
  161.    #define NGrePolyMarker 0x0000403AL
  162. #endif
  163. #ifdef INCL_AVIOP
  164.    #define GreCharRect(a,b,c) (ULONG) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(VioPresentationSpace *)(b),(ULONG)(LPGridRectRef)(c),0L,0x0000403BL)
  165.    #define NGreCharRect 0x0000403BL
  166.    #define GreCharStr(a,b,c) (ULONG) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(VioPresentationSpace *)(b),(ULONG)(LPGridStringRef)(c),0L,0x0000403CL)
  167.    #define NGreCharStr 0x0000403CL
  168.    #define GreScrollRect(a,b,c) (ULONG) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(VioPresentationSpace *)(b),(ULONG)(LPScrollRectRef)(c),0L,0x0000403DL)
  169.    #define NGreScrollRect 0x0000403DL
  170.    #define GreUpdateCursor(a,b) (ULONG) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(VioPresentationSpace *)(b),0L,0x0000403EL)
  171.    #define NGreUpdateCursor 0x0000403EL
  172. #endif
  173. #ifdef INCL_WINPOINTERS
  174.    #define GreDeviceSetPointer(a,b) (LONG) Gre32Entry4((a), (PHWSETPTRIN)(b), 0L, 0x0000403FL)
  175.    #define NGreDeviceSetPointer 0x0000403FL
  176. #endif
  177. #ifdef INCL_GRE_PATHS
  178.    #define GreBeginArea(a,b) (INT) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(ULONG)(b),0L,0x00004046L)
  179.    #define NGreBeginArea 0x00004046L
  180.    #define GreEndArea(a,b) (INT) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(ULONG)(b),0L,0x00004047L)
  181.    #define NGreEndArea 0x00004047L
  182.    #define GreBeginPath(a,b) (BOOL) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PHID)(b),0L,0x00004048L)
  183.    #define NGreBeginPath 0x00004048L
  184.    #define GreEndPath(a,b) (BOOL) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(ULONG)(b),0L,0x00004049L)
  185.    #define NGreEndPath 0x00004049L
  186.    #define GreCloseFigure(a) (BOOL) Gre32Entry3((ULONG)(HDC)(a),0L,0x0000404AL)
  187.    #define NGreCloseFigure 0x0000404AL
  188.    #define GreFillPath(a,b,c) (BOOL) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(PHID)(b),(ULONG)(ULONG)(c),0L,0x0000404BL)
  189.    #define NGreFillPath 0x0000404BL
  190.    #define GreOutlinePath(a,b,c) (BOOL) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(PHID)(b),(ULONG)(ULONG)(c),0L,0x0000404CL)
  191.    #define NGreOutlinePath 0x0000404CL
  192.    #define GreModifyPath(a,b,c) (BOOL) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(PHID)(b),(ULONG)(ULONG)(c),0L,0x0000404DL)
  193.    #define NGreModifyPath 0x0000404DL
  194.    #define GreStrokePath(a,b,c) (BOOL) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(PHID)(b),(ULONG)(ULONG)(c),0L,0x0000404EL)
  195.    #define NGreStrokePath 0x0000404EL
  196.    #define GreSelectClipPath(a,b,c) (BOOL) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(PHID)(b),(ULONG)(ULONG)(c),0L,0x0000404FL)
  197.    #define NGreSelectClipPath 0x0000404FL
  198.    #define GreSavePath(a,b) (BOOL) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(LONG)(b),0L,0x00004050L)
  199.    #define NGreSavePath 0x00004050L
  200.    #define GreRestorePath(a,b) (BOOL) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(LONG)(b),0L,0x00004051L)
  201.    #define NGreRestorePath 0x00004051L
  202.    #define GreClip1DPath(a,b,c) (BOOL) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(PPATH)(b),(ULONG)(PPIPELINEINFO)(c),0L,0x00004052L)
  203.    #define NGreClip1DPath 0x00004052L
  204.    #define GreDrawRawPath(a,b) (BOOL) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PPATH)(b),0L,0x00004053L)
  205.    #define NGreDrawRawPath 0x00004053L
  206.    #define GreDrawCookedPath(a,b,c,d) (BOOL) Gre32Entry6((ULONG)(HDC)(a),(ULONG)(PPATH)(b),(ULONG)(PCURVE)(c),(ULONG)(LONG)(d),0L,0x00004054L)
  207.    #define NGreDrawCookedPath 0x00004054L
  208.    #define GreAreaSetAttributes(a,b,c,d,e) (BOOL) Gre32Entry7((ULONG)(HDC)(a),(ULONG)(ULONG)(b),(ULONG)(ULONG)(c),(ULONG)(ULONG)(d),(ULONG)(PBUNDLE)(e),0L,0x00006055L)
  209.    #define NGreAreaSetAttributes 0x00006055L
  210.    #define GrePathToRegion(a,b,c) (HRGN) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(PHID)(b),(ULONG)(ULONG)(c),0L,0x00004057L)
  211.    #define NGrePathToRegion 0x00004057L
  212. #endif
  213. #ifdef INCL_GRE_POLYGON
  214.    #define GrePolygonSet(a,b,c,d,e) (ULONG) Gre32Entry7((ULONG)(HDC)(a),(ULONG)(b),(ULONG)(c),(ULONG)(PPOLYGON)(d),(ULONG)(e),0L,0x00004056L)
  215.    #define NGrePolygonSet 0x00004056L
  216.    #define GreDrawRLE(a,b) (ULONG) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PRLEHDR)(b),0L,0x00004058L)
  217.    #define NGreDrawRLE 0x00004058L
  218.    #define GreDevicePolygonSet32(a,b) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PPOLYSET)(b),0L,0x00004059L)
  219.    #define NGreDevicePolygonSet 0x00004059L
  220. #endif
  221. #ifdef INCL_GRE_REGIONS
  222.    #define GreGetRegionBox(a,b,c) (INT) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(HRGN)(b),(ULONG)(PRECTL)(c),0L,0x0000405DL)
  223.    #define NGreGetRegionBox 0x0000405DL
  224.    #define GreGetRegionRects(a,b,c,d,e) (BOOL) Gre32Entry7((ULONG)(HDC)(a),(ULONG)(HRGN)(b),(ULONG)(PRECTL)(c),(ULONG)(PRGNRECT)(d),(ULONG)(PRECTL)(e),0L,0x0000405EL)
  225.    #define NGreGetRegionRects 0x0000405EL
  226.    #define GreOffsetRegion(a,b,c) (BOOL) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(HRGN)(b),(ULONG)(PPOINTL)(c),0L,0x0000405FL)
  227.    #define NGreOffsetRegion 0x0000405FL
  228.    #define GrePtInRegion(a,b,c) (INT) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(HRGN)(b),(ULONG)(PPOINTL)(c),0L,0x00004060L)
  229.    #define NGrePtInRegion 0x00004060L
  230.    #define GreRectInRegion(a,b,c) (INT) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(HRGN)(b),(ULONG)(PRECTL)(c),0L,0x00004061L)
  231.    #define NGreRectInRegion 0x00004061L
  232.    #define GreCreateRectRegion(a,b,c) (HRGN) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(PRECTL)(b),(ULONG)(LONG)(c),0L,0x00004062L)
  233.    #define NGreCreateRectRegion 0x00004062L
  234.    #define GreDestroyRegion(a,b) (BOOL) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(HRGN)(b),0L,0x00004063L)
  235.    #define NGreDestroyRegion 0x00004063L
  236.    #define GreSetRectRegion(a,b,c,d) (BOOL) Gre32Entry6((ULONG)(HDC)(a),(ULONG)(HRGN)(b),(ULONG)(PRECTL)(c),(ULONG)(LONG)(d),0L,0x00004064L)
  237.    #define NGreSetRectRegion 0x00004064L
  238.    #define GreCombineRegion(a,b,c,d,e) (INT) Gre32Entry7((ULONG)(HDC)(a),(ULONG)(HRGN)(b),(ULONG)(HRGN)(c),(ULONG)(HRGN)(d),(ULONG)(ULONG)(e),0L,0x00004065L)
  239.    #define NGreCombineRegion 0x00004065L
  240.    #define GreCombineRectRegion(a,b,c,d,e) (INT) Gre32Entry7((ULONG)(HDC)(a),(ULONG)(HRGN)(b),(ULONG)(PRECTL)(c),(ULONG)(HRGN)(d),(ULONG)(ULONG)(e),0L,0x00004066L)
  241.    #define NGreCombineRectRegion 0x00004066L
  242.    #define GreCombineShortLineRegion(a,b,c) (INT) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(HRGN)(b),(ULONG)(PSHORTLINE)(c),0L,0x00004067L)
  243.    #define NGreCombineShortLineRegion 0x00004067L
  244.    #define GreEqualRegion(a,b,c) (INT) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(HRGN)(b),(ULONG)(HRGN)(c),0L,0x00004068L)
  245.    #define NGreEqualRegion 0x00004068L
  246.    #define GrePaintRegion(a,b) (INT) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(HRGN)(b),0L,0x00004069L)
  247.    #define NGrePaintRegion 0x00004069L
  248.    #define GreSetRegionOwner(a,b,c) (BOOL) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(HRGN)(b),(ULONG)(ULONG)(c),0L,0x0000406AL)
  249.    #define NGreSetRegionOwner 0x0000406AL
  250.    #define GreFrameRegion(a,b,c) (INT) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(HRGN)(b),(ULONG)(PSIZEL)(c),0L,0x0000406BL)
  251.    #define NGreFrameRegion 0x0000406BL
  252. #endif
  253. #ifdef INCL_GRE_CLIP
  254.    #define GreGetClipBox(a,b) (INT) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PRECTL)(b),0L,0x0000406EL)
  255.    #define NGreGetClipBox 0x0000406EL
  256.    #define GreGetClipRects(a,b,c,d) (INT) Gre32Entry6((ULONG)(HDC)(a),(ULONG)(PRECTL)(b),(ULONG)(PRGNRECT)(c),(ULONG)(PRECTL)(d),0L,0x0000406FL)
  257.    #define NGreGetClipRects 0x0000406FL
  258.    #define GreOffsetClipRegion(a,b) (INT) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PPOINTL)(b),0L,0x00004070L)
  259.    #define NGreOffsetClipRegion 0x00004070L
  260.    #define GrePtVisible(a,b) (INT) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PPOINTL)(b),0L,0x00004071L)
  261.    #define NGrePtVisible 0x00004071L
  262.    #define GreRectVisible(a,b) (INT) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PRECTL)(b),0L,0x00004072L)
  263.    #define NGreRectVisible 0x00004072L
  264.    #define GreQueryClipRegion(a) (HRGN) Gre32Entry3((ULONG)(HDC)(a),0L,0x00004073L)
  265.    #define NGreQueryClipRegion 0x00004073L
  266.    #define GreSelectClipRegion(a,b,c) (INT) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(HRGN)(b),(ULONG)(PHRGN)(c),0L,0x00004074L)
  267.    #define NGreSelectClipRegion 0x00004074L
  268.    #define GreIntersectClipRectangle(a,b) (INT) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PRECTL)(b),0L,0x00004075L)
  269.    #define NGreIntersectClipRectangle 0x00004075L
  270.    #define GreExcludeClipRectangle(a,b) (INT) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PRECTL)(b),0L,0x00004076L)
  271.    #define NGreExcludeClipRectangle 0x00004076L
  272.    #define GreSetXformRect(a,b) (ULONG) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PRECTL)(b),0L,0x00004077L)
  273.    #define NGreSetXformRect 0x00004077L
  274.    #define GreSaveRegion(a,b) (BOOL) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(LONG)(b),0L,0x0000407BL)
  275.    #define NGreSaveRegion 0x0000407BL
  276.    #define GreRestoreRegion(a,b) (BOOL) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(LONG)(b),0L,0x0000407CL)
  277.    #define NGreRestoreRegion 0x0000407CL
  278.    #define GreClipPathCurves(a,b,c) (BOOL) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(PPATH)(b),(ULONG)(PPIPELINEINFO)(c),0L,0x0000407DL)
  279.    #define NGreClipPathCurves 0x0000407DL
  280.    #define GreSelectPathRegion(a,b) (INT) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(HRGN)(b),0L,0x0000407EL)
  281.    #define NGreSelectPathRegion 0x0000407EL
  282.    #define GreRegionSelectBitmap(a,b) (ULONG) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(HBITMAP)(b),0L,0x0000407FL)
  283.    #define NGreRegionSelectBitmap 0x0000407FL
  284.    #define GreCopyClipRegion(a,b,c,d) (INT) Gre32Entry6((ULONG)(HDC)(a),(ULONG)(HRGN)(b),(ULONG)(PRECTL)(c),(ULONG)(ULONG)(d),0L,0x00004080L)
  285.    #define NGreCopyClipRegion 0x00004080L
  286.    #define GreSetupDC(a,b,c,d,e,f) (BOOL) Gre32Entry8((ULONG)(HDC)(a),(ULONG)(HRGN)(b),(ULONG)(LONG)(c),(ULONG)(LONG)(d),(ULONG)(PRECTL)(e),(ULONG)(ULONG)(f),0L,0x00004081L)
  287.    #define NGreSetupDC 0x00004081L
  288. #endif
  289. #ifdef INCL_GRE_XFORMS
  290.    #define GreGetPageUnits(a,b) (LONG) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PULONG)(b),0L,0x00004083L)
  291.    #define NGreGetPageUnits 0x00004083L
  292.    #define GreSetPageUnits(a,b,c,d) (BOOL) Gre32Entry6((ULONG)(HDC)(a),(ULONG)(ULONG)(b),(ULONG)(LONG)(c),(ULONG)(LONG)(d),0L,0x00004084L)
  293.    #define NGreSetPageUnits 0x00004084L
  294.    #define GreGetModelXform(a,b) (BOOL) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PXFORM)(b),0L,0x00004085L)
  295.    #define NGreGetModelXform 0x00004085L
  296.    #define GreSetModelXform(a,b,c) (BOOL) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(PXFORM)(b),(ULONG)(ULONG)(c),0L,0x00004086L)
  297.    #define NGreSetModelXform 0x00004086L
  298.    #define GreGetWindowViewportXform(a,b) (BOOL) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PXFORM)(b),0L,0x00004087L)
  299.    #define NGreGetWindowViewportXform 0x00004087L
  300.    #define GreSetWindowViewportXform(a,b,c) (BOOL) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(PXFORM)(b),(ULONG)(ULONG)(c),0L,0x00004088L)
  301.    #define NGreSetWindowViewportXform 0x00004088L
  302.    #define GreGetGlobalViewingXform(a,b) (BOOL) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PXFORM)(b),0L,0x00004089L)
  303.    #define NGreGetGlobalViewingXform 0x00004089L
  304.    #define GreSetGlobalViewingXform(a,b,c) (BOOL) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(PXFORM)(b),(ULONG)(ULONG)(c),0L,0x0000408AL)
  305.    #define NGreSetGlobalViewingXform 0x0000408AL
  306.    #define GreSaveXformData(a,b,c) (LONG) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(LONG)(b),(ULONG)(PBYTE)(c),0L,0x0000408BL)
  307.    #define NGreSaveXformData 0x0000408BL
  308.    #define GreRestoreXformData(a,b,c) (LONG) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(LONG)(b),(ULONG)(PBYTE)(c),0L,0x0000408CL)
  309.    #define NGreRestoreXformData 0x0000408CL
  310.    #define GreGetPageViewport(a,b) (BOOL) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PRECTL)(b),0L,0x0000408DL)
  311.    #define NGreGetPageViewport 0x0000408DL
  312.    #define GreSetPageViewport(a,b,c) (BOOL) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(PRECTL)(b),(ULONG)(ULONG)(c),0L,0x0000408EL)
  313.    #define NGreSetPageViewport 0x0000408EL
  314.    #define GreGetGraphicsField(a,b) (BOOL) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PRECTL)(b),0L,0x00004091L)
  315.    #define NGreGetGraphicsField 0x00004091L
  316.    #define GreSetGraphicsField(a,b) (BOOL) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PRECTL)(b),0L,0x00004092L)
  317.    #define NGreSetGraphicsField 0x00004092L
  318.    #define GreGetViewingLimits(a,b) (BOOL) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PRECTL)(b),0L,0x00004093L)
  319.    #define NGreGetViewingLimits 0x00004093L
  320.    #define GreSetViewingLimits(a,b) (BOOL) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PRECTL)(b),0L,0x00004094L)
  321.    #define NGreSetViewingLimits 0x00004094L
  322.    #define GreQueryViewportSize(a,b,c,d) (BOOL) Gre32Entry6((ULONG)(HDC)(a),(ULONG)(ULONG)(b),(ULONG)(LONG)(c),(ULONG)(PVIEWPORTSIZE)(d),0L,0x00004095L)
  323.    #define NGreQueryViewportSize 0x00004095L
  324.    #define GreConvert(a,b,c,d,e) (BOOL) Gre32Entry7((ULONG)(HDC)(a),(ULONG)(LONG)(b),(ULONG)(LONG)(c),(ULONG)(PPOINTL)(d),(ULONG)(LONG)(e),0L,0x00004096L)
  325.    #define NGreConvert 0x00004096L
  326.    #define GreConvertPath(a,b,c,d,e,f) (BOOL) Gre32Entry8((ULONG)(HDC)(a),(ULONG)(PPATH)(b),(ULONG)(LONG)(c),(ULONG)(LONG)(d),(ULONG)(PCURVE)(e),(ULONG)(LONG)(f),0L,0x00004097L)
  327.    #define NGreConvertPath 0x00004097L
  328.    #define GreSaveXform(a,b) (BOOL) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(LONG)(b),0L,0x00004098L)
  329.    #define NGreSaveXform 0x00004098L
  330.    #define GreRestoreXform(a,b) (BOOL) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(LONG)(b),0L,0x00004099L)
  331.    #define NGreRestoreXform 0x00004099L
  332.    #define GreMultiplyXforms(a,b,c,d) (BOOL) Gre32Entry6((ULONG)(HDC)(a),(ULONG)(PXFORM)(b),(ULONG)(PXFORM)(c),(ULONG)(ULONG)(d),0L,0x0000409AL)
  333.    #define NGreMultiplyXforms 0x0000409AL
  334.    #define GreConvertWithMatrix(a,b,c,d) (BOOL) Gre32Entry6((ULONG)(HDC)(a),(ULONG)(PPOINTL)(b),(ULONG)(LONG)(c),(ULONG)(PXFORM)(d),0L,0x0000409BL)
  335.    #define NGreConvertWithMatrix 0x0000409BL
  336. #endif
  337. #ifdef INCL_GRE_DEVMISC1
  338.    #define GreDeviceGetAttributes(a,b,c,d) (BOOL) Gre32Entry6((ULONG)(HDC)(a),(ULONG)(ULONG)(b),(ULONG)(ULONG)(c),(ULONG)(PBUNDLE)(d),0L,0x0000609DL)
  339.    #define NGreDeviceGetAttributes 0x0000609DL
  340.    #define GreDeviceSetAVIOFont2(a,b,c,d) (ULONG) Gre32Entry6((ULONG)(HDC)(a),(ULONG)(PFATTRS)(b),(ULONG)(PFOCAFONT)(c),(ULONG)(LCID)(d),0L,0x0000409EL)
  341.    #define NGreDeviceSetAVIOFont2 0x0000409EL
  342.    #define GreGetPairKerningTable(a,b,c) (ULONG) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(LONG)(b),(ULONG)(PKERNINGPAIRS)(c),0L,0x000040A0L)
  343.    #define NGreGetPairKerningTable 0x000040A0L
  344.    #define GreDeviceSetAVIOFont(a,b,c) (ULONG) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(PFOCAFONT)(b),(ULONG)(LCID)(c),0L,0x000040A1L)
  345.    #define NGreDeviceSetAVIOFont 0x000040A1L
  346.    #define GreDeviceSetAttributes(a,b,c,d,e) (ULONG) Gre32Entry7((ULONG)(HDC)(a),(ULONG)(ULONG)(b),(ULONG)(ULONG)(c),(ULONG)(ULONG)(d),(ULONG)(PBUNDLE)(e),0L,0x000060A2L)
  347.    #define NGreDeviceSetAttributes 0x000060A2L
  348.    #define GreDeviceSetGlobalAttribute(a,b,c,d) (ULONG) Gre32Entry6((ULONG)(HDC)(a),(ULONG)(ULONG)(b),(ULONG)(ULONG)(c),(ULONG)(ULONG)(d),0L,0x000060A3L)
  349.    #define NGreDeviceSetGlobalAttribute 0x000060A3L
  350. #endif
  351. #ifdef INCL_GRE_DEVMISC2
  352.    #define GreNotifyClipChange(a,b,c,d) (ULONG) Gre32Entry6((ULONG)(HDC)(a),(ULONG)(PRECTL)(b),(ULONG)(LONG)(c),(ULONG)(ULONG)(d),0L,0x000040A4L)
  353.    #define NGreNotifyClipChange 0x000040A4L
  354.    #define GreNotifyTransformChange(a,b,c) (BOOL) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(ULONG)(b),(ULONG)(PNOTIFYTRANSFORMDATA)(c),0L,0x000040A5L)
  355.    #define NGreNotifyTransformChange 0x000040A5L
  356.    #define GreRealizeFont(a,b,c,d) (ULONG) Gre32Entry6((ULONG)(HDC)(a),(ULONG)(ULONG)(b),(ULONG)(PFATTRS)(c),(ULONG)(PFOCAFONT)(d),0L,0x000040A6L)
  357.    #define NGreRealizeFont 0x000040A6L
  358.    #define GreErasePS(a) (BOOL) Gre32Entry3((ULONG)(HDC)(a),0L,0x000040A7L)
  359.    #define NGreErasePS 0x000040A7L
  360.    #define GreSetStyleRatio(a,b) (BOOL) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PBYTE)(b),0L,0x000040A8L)
  361.    #define NGreSetStyleRatio 0x000040A8L
  362.    #define GreDeviceQueryFontAttributes(a,b,c) (BOOL) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(LONG)(b),(ULONG)(PFONTMETRICS)(c),0L,0x000040A9L)
  363.    #define NGreDeviceQueryFontAttributes 0x000040A9L
  364.    #define GreDeviceQueryFonts(a,b,c,d,e,f) (LONG) Gre32Entry8((ULONG)(HDC)(a),(ULONG)(ULONG)(b),(ULONG)(PSZ)(c),(ULONG)(PFONTMETRICS)(d),(ULONG)(LONG)(e),(ULONG)(PLONG)(f),0L,0x000040AAL)
  365.    #define NGreDeviceQueryFonts 0x000040AAL
  366.    #define GreDeviceInvalidateVisRegion(a,b,c) (BOOL) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(LONG)(b),(ULONG)(PDC_BLOCK)(c),0L,0x000040ABL)
  367.    #define NGreDeviceInvalidateVisRegion 0x000040ABL
  368. #endif
  369. #ifdef INCL_GRE_PICK
  370.    #define GreGetPickWindow(a,b) (BOOL) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PRECTL)(b),0L,0x000040ACL)
  371.    #define NGreGetPickWindow 0x000040ACL
  372.    #define GreSetPickWindow(a,b) (BOOL) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PRECTL)(b),0L,0x000040ADL)
  373.    #define NGreSetPickWindow 0x000040ADL
  374. #endif
  375. #ifdef INCL_GRE_DEVMISC3
  376.    #define GreResetBounds(a,b) (BOOL) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(ULONG)(b),0L,0x000040AEL)
  377.    #define NGreResetBounds 0x000040AEL
  378.    #define GreGetBoundsData(a,b,c) (BOOL) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(ULONG)(b),(ULONG)(PRECTL)(c),0L,0x000040AFL)
  379.    #define NGreGetBoundsData 0x000040AFL
  380.    #define GreAccumulateBounds(a,b) (ULONG) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PRECTL)(b),0L,0x000040B0L)
  381.    #define NGreAccumulateBounds 0x000040B0L
  382.    #define GreGetExtraError(a) (FIXED) Gre32Entry3((ULONG)(HDC)(a),0L,0x000040B1L)
  383.    #define NGreGetExtraError 0x000040B1L
  384.    #define GreSetExtraError(a,b) (VOID) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(FIXED)(b),0L,0x000040B2L)
  385.    #define NGreSetExtraError 0x000040B2L
  386.    #define GreGetCodePage(a) (LONG) Gre32Entry3((ULONG)(HDC)(a),0L,0x000040B3L)
  387.    #define NGreGetCodePage 0x000040B3L
  388.    #define GreSetCodePage(a,b) (BOOL) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(ULONG)(b),0L,0x000040B4L)
  389.    #define NGreSetCodePage 0x000040B4L
  390.    #define GreLockDevice(a) (BOOL) Gre32Entry3((ULONG)(HDC)(a),0L,0x000040B5L)
  391.    #define NGreLockDevice 0x000040B5L
  392.    #define GreUnlockDevice(a) (BOOL) Gre32Entry3((ULONG)(HDC)(a),0L,0x000040B6L)
  393.    #define NGreUnlockDevice 0x000040B6L
  394.    #define GreDeath(a) (BOOL) Gre32Entry3((ULONG)(HDC)(a),0L,0x000040B7L)
  395.    #define NGreDeath 0x000040B7L
  396.    #define GreResurrection(a,b,c) (BOOL) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(LONG)(b),(ULONG)(PBYTE)(c),0L,0x000040B8L)
  397.    #define NGreResurrection 0x000040B8L
  398.    #define GreGetDCOrigin(a,b) (BOOL) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PPOINTL)(b),0L,0x000040BAL)
  399.    #define NGreGetDCOrigin 0x000040BAL
  400.    #define GreDeviceSetDCOrigin(a,b) (BOOL) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PPOINTL)(b),0L,0x000040BBL)
  401.    #define NGreDeviceSetDCOrigin 0x000040BBL
  402.    #define GreGetLineOrigin(a,b) (LONG) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PPOINTL)(b),0L,0x000040BCL)
  403.    #define NGreGetLineOrigin 0x000040BCL
  404.    #define GreSetLineOrigin(a,b,c) (BOOL) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(PPOINTL)(b),(ULONG)(LONG)(c),0L,0x000040BDL)
  405.    #define NGreSetLineOrigin 0x000040BDL
  406. #endif
  407. #ifdef INCL_GRE_DEVMISC2
  408.    #define GreGetStyleRatio(a,b) (BOOL) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PBYTE)(b),0L,0x000040BEL)
  409.    #define NGreGetStyleRatio 0x000040BEL
  410. #endif
  411. #ifdef INCL_GRE_COLORTABLE
  412.    #define GreQueryColorData(a,b,c) (BOOL) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(LONG)(b),(ULONG)(PLONG)(c),0L,0x000060C3L)
  413.    #define NGreQueryColorData 0x000060C3L
  414.    #define GreQueryLogColorTable(a,b,c,d,e) (LONG) Gre32Entry7((ULONG)(HDC)(a),(ULONG)(ULONG)(b),(ULONG)(LONG)(c),(ULONG)(LONG)(d),(ULONG)(PLONG)(e),0L,0x000060C4L)
  415.    #define NGreQueryLogColorTable 0x000060C4L
  416.    #define GreCreateLogColorTable(a,b,c,d,e,f) (BOOL) Gre32Entry8((ULONG)(HDC)(a),(ULONG)(ULONG)(b),(ULONG)(ULONG)(c),(ULONG)(LONG)(d),(ULONG)(LONG)(e),(ULONG)(PLONG)(f),0L,0x000060C5L)
  417.    #define NGreCreateLogColorTable 0x000060C5L
  418.    #define GreRealizeColorTable(a) (BOOL) Gre32Entry3((ULONG)(HDC)(a),0L,0x000060C6L)
  419.    #define NGreRealizeColorTable 0x000060C6L
  420.    #define GreUnrealizeColorTable(a) (BOOL) Gre32Entry3((ULONG)(HDC)(a),0L,0x000060C7L)
  421.    #define NGreUnrealizeColorTable 0x000060C7L
  422.    #define GreQueryRealColors(a,b,c,d,e) (LONG) Gre32Entry7((ULONG)(HDC)(a),(ULONG)(ULONG)(b),(ULONG)(LONG)(c),(ULONG)(LONG)(d),(ULONG)(PLONG)(e),0L,0x000040C8L)
  423.    #define NGreQueryRealColors 0x000040C8L
  424.    #define GreQueryNearestColor(a,b,c) (LONG) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(ULONG)(b),(ULONG)(COLOR)(c),0L,0x000040C9L)
  425.    #define NGreQueryNearestColor 0x000040C9L
  426.    #define GreQueryColorIndex(a,b,c) (LONG) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(ULONG)(b),(ULONG)(COLOR)(c),0L,0x000060CAL)
  427.    #define NGreQueryColorIndex 0x000060CAL
  428.    #define GreQueryRGBColor(a,b,c) (LONG) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(ULONG)(b),(ULONG)(COLOR)(c),0L,0x000060CBL)
  429.    #define NGreQueryRGBColor 0x000060CBL
  430. #endif
  431. #ifdef INCL_GRE_DEVICE
  432.    #define GreQueryDeviceBitmaps(a,b,c) (BOOL) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(PBITMAPFORMAT)(b),(ULONG)(LONG)(c),0L,0x000040D0L)
  433.    #define NGreQueryDeviceBitmaps 0x000040D0L
  434.    #define GreQueryDeviceCaps(a,b,c,d) (BOOL) Gre32Entry6((ULONG)(HDC)(a),(ULONG)(LONG)(b),(ULONG)(PLONG)(c),(ULONG)(LONG)(d),0L,0x000040D1L)
  435.    #define NGreQueryDeviceCaps 0x000040D1L
  436.    #define GreEscape(a,b,c,d,e,f) (LONG) Gre32Entry8((ULONG)(HDC)(a),(ULONG)(ULONG)(b),(ULONG)(LONG)(c),(ULONG)(PBYTE)(d),(ULONG)(PLONG)(e),(ULONG)(PBYTE)(f),0L,0x000040D2L)
  437.    #define NGreEscape 0x000040D2L
  438.    #define GreQueryHardcopyCaps(a,b,c,d) (LONG) Gre32Entry6((ULONG)(HDC)(a),(ULONG)(LONG)(b),(ULONG)(LONG)(c),(ULONG)(PHCINFO)(d),0L,0x000040D3L)
  439.    #define NGreQueryHardcopyCaps 0x000040D3L
  440.    #define GreQueryDevResource2(a,b,c) (PVOID) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(ULONG)(b),(ULONG)(ULONG)(c),0L,0x000040D4L)
  441.    #define NGreQueryDevResource2 0x000040D4L
  442. #endif
  443. #ifdef INCL_GRE_SCREEN
  444.    #define GreOpenScreenChangeArea(a) (ULONG) Gre32Entry3((ULONG)(HDC)(a),0L,0x00004012L)
  445.    #define NGreOpenScreenChangeArea 0x00004012L
  446.    #define GreGetScreenChangeArea(a,b,c) (ULONG) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(ULONG)(b),(ULONG)(ULONG)(c),0L,0x00004013L)
  447.    #define NGreGetScreenChangeArea 0x00004013L
  448.    #define GreCloseScreenChangeArea(a,b) (ULONG) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(ULONG)(b),0L,0x00004014L)
  449.    #define NGreCloseScreenChangeArea 0x00004014L
  450.    #define GreGetScreenBits(a,b,c,d,e) (ULONG) Gre32Entry7((ULONG)(HDC)(a),(ULONG)(ULONG)(b),(ULONG)(ULONG)(c),(ULONG)(ULONG)(d),(ULONG)(ULONG)(e),0L,0x0000401DL)
  451.    #define NGreGetScreenBits 0x0000401DL
  452.    #define GreSetScreenBits(a,b,c,d) (ULONG) Gre32Entry6((ULONG)(HDC)(a),(ULONG)(ULONG)(b),(ULONG)(ULONG)(c),(ULONG)(ULONG)(d),0L,0x0000401EL)
  453.    #define NGreSetScreenBits 0x0000401EL
  454. #endif
  455. #ifdef INCL_GRE_PALETTE
  456.    #define GreDeviceCreatePalette(a,b,c) (ULONG) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(PPALETTEINFO)(b),(ULONG)(HDEVPAL)(c),0L,0x000040D5L)
  457.    #define NGreDeviceCreatePalette 0x000040D5L
  458.    #define GreDeviceDeletePalette(a,b) (ULONG) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(HDEVPAL)(b),0L,0x000040D6L)
  459.    #define NGreDeviceDeletePalette 0x000040D6L
  460.    #define GreDeviceSetPaletteEntries(a,b,c,d,e,f) (ULONG) Gre32Entry8((ULONG)(HDC)(a),(ULONG)(HDEVPAL)(b),(ULONG)(ULONG)(c),(ULONG)(ULONG)(d),(ULONG)(ULONG)(e),(ULONG)(PULONG)(f),0L,0x000040D7L)
  461.    #define NGreDeviceSetPaletteEntries 0x000040D7L
  462.    #define GreDeviceAnimatePalette(a,b,c,d,e,f) (ULONG) Gre32Entry8((ULONG)(HDC)(a),(ULONG)(HDEVPAL)(b),(ULONG)(ULONG)(c),(ULONG)(ULONG)(d),(ULONG)(ULONG)(e),(ULONG)(PULONG)(f),0L,0x000040D8L)
  463.    #define NGreDeviceAnimatePalette 0x000040D8L
  464.    #define GreDeviceResizePalette(a,b,c) (ULONG) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(HDEVPAL)(b),(ULONG)(ULONG)(c),0L,0x000040D9L)
  465.    #define NGreDeviceResizePalette 0x000040D9L
  466.    #define GreRealizePalette(a,b,c) (ULONG) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(ULONG)(b),(ULONG)(PULONG)(c),0L,0x000040DAL)
  467.    #define NGreRealizePalette 0x000040DAL
  468.    #define GreQueryHWPaletteInfo(a,b,c,d) (ULONG) Gre32Entry6((ULONG)(HDC)(a),(ULONG)(ULONG)(b),(ULONG)(ULONG)(c),(ULONG)(PULONG)(d),0L,0x000040DBL)
  469.    #define NGreQueryHWPaletteInfo 0x000040DBL
  470.    #define GreUpdateColors(a) (ULONG) Gre32Entry3((ULONG)(HDC)(a),0L,0x000040DCL)
  471.    #define NGreUpdateColors 0x000040DCL
  472.    #define GreQueryPaletteRealization(a,b,c,d) (ULONG) Gre32Entry6((ULONG)(HDC)(a),(ULONG)(ULONG)(b),(ULONG)(ULONG)(c),(ULONG)(PULONG)(d),0L,0x000040DDL)
  473.    #define NGreQueryPaletteRealization 0x000040DDL
  474.    #define GreGetVisRects(a,b,c,d) (INT) Gre32Entry6((ULONG)(HDC)(a),(ULONG)(PRECTL)(b),(ULONG)(PRGNRECT)(c),(ULONG)(PRECTL)(d),0L,0x000040DEL)
  475.    #define NGreGetVisRects 0x000040DEL
  476. #endif
  477. #ifdef INCL_GRE_DCS
  478.    #define GreOpenDC(a,b,c,d,e) (HDC) Gre32Entry7((ULONG)(HDC)(a),(ULONG)(ULONG)(b),(ULONG)(PSZ)(c),(ULONG)(LONG)(d),(ULONG)(PDEVOPENDATA)(e),0L,0x00000200L)
  479.    #define NGreOpenDC 0x00000200L
  480.    #define GreCloseDC(a) (BOOL) Gre32Entry3((ULONG)(HDC)(a),0L,0x00004201L)
  481.    #define NGreCloseDC 0x00004201L
  482.    #define GreResetDC(a,b) (ULONG) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(ULONG)(b),0L,0x00004202L)
  483.    #define NGreResetDC 0x00004202L
  484.    #define GreGetHandle(a,b) (LONG) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(ULONG)(b),0L,0x00004203L)
  485.    #define NGreGetHandle 0x00004203L
  486.    #define GreSetHandle(a,b,c) (BOOL) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(LHANDLE)(b),(ULONG)(ULONG)(c),0L,0x00004204L)
  487.    #define NGreSetHandle 0x00004204L
  488.    #define GreGetProcessControl(a) (LONG) Gre32Entry3((ULONG)(HDC)(a),0L,0x00004205L)
  489.    #define NGreGetProcessControl 0x00004205L
  490.    #define GreSetProcessControl(a,b,c) (BOOL) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(ULONG)(b),(ULONG)(ULONG)(c),0L,0x00004206L)
  491.    #define NGreSetProcessControl 0x00004206L
  492.    #define GreSaveDC(a) (LONG) Gre32Entry3((ULONG)(HDC)(a),0L,0x00004207L)
  493.    #define NGreSaveDC 0x00004207L
  494.    #define GreRestoreDC(a,b) (BOOL) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(LONG)(b),0L,0x00004208L)
  495.    #define NGreRestoreDC 0x00004208L
  496.    #define GreQueryDeviceNames(a,b,c,d,e,f) (BOOL) Gre32Entry8((ULONG)(PSZ)(a),(ULONG)(PLONG)(b),(ULONG)(PSTR32)(c),(ULONG)(PSTR64)(d),(ULONG)(PLONG)(e),(ULONG)(PSTR16)(f),0L,0x00000209L)
  497.    #define NGreQueryDeviceNames 0x00000209L
  498.    #define GreQueryEngineVersion() (LONG) Gre32Entry2(0L,0x0000020AL)
  499.    #define NGreQueryEngineVersion 0x0000020AL
  500.    #define GreSetDCOwner(a,b) (BOOL) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(ULONG)(b),0L,0x0000420BL)
  501.    #define NGreSetDCOwner 0x0000420BL
  502. #endif
  503. #ifdef INCL_GRE_DEVSUPPORT
  504.    #define GreQueryBitmapSelection(a) (HDC) Gre32Entry3((ULONG)(HBITMAP)(a),0L,0x0000020CL)
  505.    #define NGreQueryBitmapSelection 0x0000020CL
  506.    #define GreGetBitmapInfoHeader(a,b) (BOOL) Gre32Entry4((ULONG)(HBITMAP)(a),(ULONG)(PBITMAPINFOHEADER2)(b),0L,0x0000020DL)
  507.    #define NGreGetBitmapInfoHeader 0x0000020DL
  508.    #define GreConvertBitmapData(a,b,c,d,e,f,g) (ULONG) Gre32Entry9((ULONG)(HDC)(a),(ULONG)(ULONG)(b),(ULONG)(ULONG)(c),(ULONG)(PBITMAPINFO2)(d),(ULONG)(PBYTE)(e),(ULONG)(PBITMAPINFO2)(f),(ULONG)(PBYTE)(g),0L,0x0000420EL)
  509.    #define NGreConvertBitmapData 0x0000420EL
  510.    #define GreInvalidateVisRegion(a,b,c) (BOOL) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(LONG)(b),(ULONG)(PDC_BLOCK)(c),0L,0x0000420FL)
  511.    #define NGreInvalidateVisRegion 0x0000420FL
  512.    #define GreCreateBitmap(a,b,c,d,e) (HBITMAP) Gre32Entry7((ULONG)(HDC)(a),(ULONG)(PBITMAPINFOHEADER2)(b),(ULONG)(ULONG)(c),(ULONG)(PBYTE)(d),(ULONG)(PBITMAPINFO2)(e),0L,0x00004210L)
  513.    #define NGreCreateBitmap 0x00004210L
  514.    #define GreDeleteBitmap(a) (BOOL) Gre32Entry3((ULONG)(HBITMAP)(a),0L,0x00000211L)
  515.    #define NGreDeleteBitmap 0x00000211L
  516.    #define GreSelectBitmap(a,b) (HBITMAP) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(HBITMAP)(b),0L,0x00004212L)
  517.    #define NGreSelectBitmap 0x00004212L
  518.    #define GreGetBitmapParameters(a,b) (BOOL) Gre32Entry4((ULONG)(HBITMAP)(a),(ULONG)(PBITMAPINFOHEADER)(b),0L,0x00000213L)
  519.    #define NGreGetBitmapParameters 0x00000213L
  520.    #define GreGetBitmapDimension(a,b) (BOOL) Gre32Entry4((ULONG)(HBITMAP)(a),(ULONG)(PSIZEL)(b),0L,0x00000214L)
  521.    #define NGreGetBitmapDimension 0x00000214L
  522.    #define GreSetBitmapDimension(a,b) (BOOL) Gre32Entry4((ULONG)(HBITMAP)(a),(ULONG)(PSIZEL)(b),0L,0x00000215L)
  523.    #define NGreSetBitmapDimension 0x00000215L
  524.    #define GreSetCursor(a,b,c) (BOOL) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(PPOINTL)(b),(ULONG)(HBITMAP)(c),0L,0x00004216L)
  525.    #define NGreSetCursor 0x00004216L
  526.    #define GreGetAttributes(a,b,c,d) (LONG) Gre32Entry6((ULONG)(HDC)(a),(ULONG)(ULONG)(b),(ULONG)(ULONG)(c),(ULONG)(PBUNDLE)(d),0L,0x00004217L)
  527.    #define NGreGetAttributes 0x00004217L
  528.    #define GreSetAttributes(a,b,c,d,e) (BOOL) Gre32Entry7((ULONG)(HDC)(a),(ULONG)(ULONG)(b),(ULONG)(ULONG)(c),(ULONG)(ULONG)(d),(ULONG)(PBUNDLE)(e),0L,0x00004218L)
  529.    #define NGreSetAttributes 0x00004218L
  530.    #define GreSetGlobalAttribute(a,b,c,d) (BOOL) Gre32Entry6((ULONG)(HDC)(a),(ULONG)(ULONG)(b),(ULONG)(ULONG)(c),(ULONG)(ULONG)(d),0L,0x00004219L)
  531.    #define NGreSetGlobalAttribute 0x00004219L
  532.    #define GreSetBitmapOwner(a,b) (BOOL) Gre32Entry4((ULONG)(HBITMAP)(a),(ULONG)(ULONG)(b),0L,0x0000021AL)
  533.    #define NGreSetBitmapOwner 0x0000021AL
  534.    #define GreGetDefaultAttributes(a,b,c,d) (BOOL) Gre32Entry6((ULONG)(HDC)(a),(ULONG)(ULONG)(b),(ULONG)(ULONG)(c),(ULONG)(PBUNDLE)(d),0L,0x0000421BL)
  535.    #define NGreGetDefaultAttributes 0x0000421BL
  536.    #define GreSetDefaultAttributes(a,b,c,d) (BOOL) Gre32Entry6((ULONG)(HDC)(a),(ULONG)(ULONG)(b),(ULONG)(ULONG)(c),(ULONG)(PBUNDLE)(d),0L,0x0000421CL)
  537.    #define NGreSetDefaultAttributes 0x0000421CL
  538.    #define GreGetDefaultArcParameters(a,b) (BOOL) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PARCPARAMS)(b),0L,0x0000421DL)
  539.    #define NGreGetDefaultArcParameters 0x0000421DL
  540.    #define GreSetDefaultArcParameters(a,b) (BOOL) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PARCPARAMS)(b),0L,0x0000421EL)
  541.    #define NGreSetDefaultArcParameters 0x0000421EL
  542.    #define GreGetDefaultViewingLimits(a,b) (BOOL) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PRECTL)(b),0L,0x0000421FL)
  543.    #define NGreGetDefaultViewingLimits 0x0000421FL
  544.    #define GreSetDefaultViewingLimits(a,b) (BOOL) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(PRECTL)(b),0L,0x00004220L)
  545.    #define NGreSetDefaultViewingLimits 0x00004220L
  546.    #define GreInitializeAttributes(a,b) (BOOL) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(ULONG)(b),0L,0x00004221L)
  547.    #define NGreInitializeAttributes 0x00004221L
  548. #endif
  549. #ifdef INCL_GRE_SETID
  550.    #define GreDeleteSetId(a,b) (BOOL) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(LCID)(b),0L,0x00004222L)
  551.    #define NGreDeleteSetId 0x00004222L
  552.    #define GreQueryNumberSetIds(a,b) (LONG) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(ULONG)(b),0L,0x00004223L)
  553.    #define NGreQueryNumberSetIds 0x00004223L
  554.    #define GreQuerySetIds(a,b,c,d,e,f) (BOOL) Gre32Entry8((ULONG)(HDC)(a),(ULONG)(LONG)(b),(ULONG)(PLONG)(c),(ULONG)(PSTR8)(d),(ULONG)(PLCID)(e),(ULONG)(ULONG)(f),0L,0x00004224L)
  555.    #define NGreQuerySetIds 0x00004224L
  556. #endif
  557. #ifdef INCL_GRE_LCID
  558.    #define GreQueryBitmapHandle(a,b) (HBITMAP) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(LCID)(b),0L,0x00000225L)
  559.    #define NGreQueryBitmapHandle 0x00000225L
  560.    #define GreSetBitmapID(a,b,c) (BOOL) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(HBITMAP)(b),(ULONG)(LCID)(c),0L,0x00004226L)
  561.    #define NGreSetBitmapID 0x00004226L
  562.    #define GreCopyDCLoadData(a,b,c) (BOOL) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(ULONG)(b),(ULONG)(HDC)(c),0L,0x00004227L)
  563.    #define NGreCopyDCLoadData 0x00004227L
  564. #endif
  565. #ifdef INCL_GRE_SETID
  566.    #define GreQuerySetIdUsage(a,b) (LONG) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(LCID)(b),0L,0x00004228L)
  567.    #define NGreQuerySetIdUsage 0x00004228L
  568. #endif
  569. #ifdef INCL_GRE_FONTS
  570.    #define GreQueryFullFontFileDescriptions(a,b,c,d) (ULONG) Gre32Entry6((ULONG)(PSZ)(a),(ULONG)(PULONG)(b),(ULONG)(PVOID)(c),(ULONG)(PLONG)(d),0L,0x0000022BL)
  571.    #define NGreQueryFullFontFileDescriptions 0x0000022BL
  572.    #define GreQueryLogicalFont(a,b,c,d,e) (BOOL) Gre32Entry7((ULONG)(HDC)(a),(ULONG)(LCID)(b),(ULONG)(PSTR8)(c),(ULONG)(PFATTRS)(d),(ULONG)(LONG)(e),0L,0x0000422CL)
  573.    #define NGreQueryLogicalFont 0x0000422CL
  574.    #define GreCreateLogicalFont(a,b,c,d) (BOOL) Gre32Entry6((ULONG)(HDC)(a),(ULONG)(LCID)(b),(ULONG)(PSTR8)(c),(ULONG)(PFATTRS)(d),0L,0x0000422DL)
  575.    #define NGreCreateLogicalFont 0x0000422DL
  576.    #define GreLoadFont(a) (BOOL) Gre32Entry3((ULONG)(PSZ)(a),0L,0x0000022EL)
  577.    #define NGreLoadFont 0x0000022EL
  578.    #define GreUnloadFont(a) (BOOL) Gre32Entry3((ULONG)(PSZ)(a),0L,0x0000022FL)
  579.    #define NGreUnloadFont 0x0000022FL
  580.    #define GreQueryFonts(a,b,c,d,e,f) (LONG) Gre32Entry8((ULONG)(HDC)(a),(ULONG)(ULONG)(b),(ULONG)(PSZ)(c),(ULONG)(PFONTMETRICS)(d),(ULONG)(LONG)(e),(ULONG)(PLONG)(f),0L,0x00004230L)
  581.    #define NGreQueryFonts 0x00004230L
  582.    #define GreQueryFontAttributes(a,b,c) (BOOL) Gre32Entry5((ULONG)(HDC)(a),(ULONG)(LONG)(b),(ULONG)(PFONTMETRICS)(c),0L,0x00004231L)
  583.    #define NGreQueryFontAttributes 0x00004231L
  584.    #define GreInstallIFI(a,b,c,d) (LONG) Gre32Entry6((ULONG)(ULONG)(a),(ULONG)(PSZ)(b),(ULONG)(PSZ)(c),(ULONG)(PSZ)(d),0L,0x00000232L)
  585.    #define NGreInstallIFI 0x00000232L
  586.    #define GreLoadPublicFont(a) (BOOL) Gre32Entry3((ULONG)(PSZ)(a),0L,0x00000233L)
  587.    #define NGreLoadPublicFont 0x00000233L
  588.    #define GreUnLoadPublicFont(a) (BOOL) Gre32Entry3((ULONG)(PSZ)(a),0L,0x00000234L)
  589.    #define NGreUnLoadPublicFont 0x00000234L
  590.    #define GreQueryCodePageVector(a) (ULONG) Gre32Entry3((ULONG)(ULONG)(a),0L,0x00000235L)
  591.    #define NGreQueryCodePageVector 0x00000235L
  592.    #define GreQueryFontFileDescriptions(a,b,c) (ULONG) Gre32Entry5((ULONG)(PSZ)(a),(ULONG)(PLONG)(b),(ULONG)(PFFDESCS)(c),0L,0x00000236L)
  593.    #define NGreQueryFontFileDescriptions 0x00000236L
  594.    #define GreQueryFaceString(a,b,c,d,e) (ULONG) Gre32Entry7((ULONG)(HDC)(a),(ULONG)(PSZ)(b),(ULONG)(PFACENAMEDESC)(c),(ULONG)(ULONG)(d),(ULONG)(PSZ)(e),0L,0x00004237L)
  595.    #define NGreQueryFaceString 0x00004237L
  596.    #define GreQueryFontAction(a) (ULONG) Gre32Entry3((ULONG)(ULONG)(a),0L,0x00000238L)
  597.    #define NGreQueryFontAction 0x00000238L
  598. #endif
  599. #ifdef INCL_GRE_JOURNALING
  600.    #define GreAccumulateJournalFile(a) (ULONG) Gre32Entry3((ULONG)(ULONG)(a),0L,0x00000239L)
  601.    #define NGreAccumulateJournalFile 0x00000239L
  602.    #define GreCreateJournalFile(a,b,c) (ULONG) Gre32Entry5((ULONG)(PSZ)(a),(ULONG)(ULONG)(b),(ULONG)(LONG)(c),0L,0x0000023AL)
  603.    #define NGreCreateJournalFile 0x0000023AL
  604.    #define GreDeleteJournalFile(a) (ULONG) Gre32Entry3((ULONG)(LHANDLE)(a),0L,0x0000023BL)
  605.    #define NGreDeleteJournalFile 0x0000023BL
  606.    #define GreStartJournalFile(a,b) (ULONG) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(LHANDLE)(b),0L,0x0000023CL)
  607.    #define NGreStartJournalFile 0x0000023CL
  608.    #define GreStopJournalFile(a,b) (ULONG) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(LHANDLE)(b),0L,0x0000023DL)
  609.    #define NGreStopJournalFile 0x0000023DL
  610.    #define GrePlayJournalFile(a,b) (ULONG) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(LHANDLE)(b),0L,0x0000023EL)
  611.    #define NGrePlayJournalFile 0x0000023EL
  612.    #define GreOpenJournalFile(a,b,c) (ULONG) Gre32Entry5((ULONG)(PSZ)(a),(ULONG)(ULONG)(b),(ULONG)(LONG)(c),0L,0x0000023FL)
  613.    #define NGreOpenJournalFile 0x0000023FL
  614. #endif
  615. #ifdef INCL_GRE_PALETTE
  616.    #define GreCreatePalette(a,b,c,d) (HPAL) Gre32Entry6((ULONG)(ULONG)(a),(ULONG)(ULONG)(b),(ULONG)(ULONG)(c),(ULONG)(PULONG)(d),0L,0x00000240L)
  617.    #define NGreCreatePalette 0x00000240L
  618.    #define GreDeletePalette(a) (ULONG) Gre32Entry3((ULONG)(HPAL)(a),0L,0x00000241L)
  619.    #define NGreDeletePalette 0x00000241L
  620.    #define GreSelectPalette(a,b) (ULONG) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(HPAL)(b),0L,0x00004242L)
  621.    #define NGreSelectPalette 0x00004242L
  622.    #define GreSetPaletteEntries(a,b,c,d,e) (ULONG) Gre32Entry7((ULONG)(HPAL)(a),(ULONG)(ULONG)(b),(ULONG)(ULONG)(c),(ULONG)(ULONG)(d),(ULONG)(PULONG)(e),0L,0x00000243L)
  623.    #define NGreSetPaletteEntries 0x00000243L
  624.    #define GreAnimatePalette(a,b,c,d,e) (ULONG) Gre32Entry7((ULONG)(HPAL)(a),(ULONG)(ULONG)(b),(ULONG)(ULONG)(c),(ULONG)(ULONG)(d),(ULONG)(PULONG)(e),0L,0x00000244L)
  625.    #define NGreAnimatePalette 0x00000244L
  626.    #define GreQueryPalette(a) (ULONG) Gre32Entry3((ULONG)(HDC)(a),0L,0x00004245L)
  627.    #define NGreQueryPalette 0x00004245L
  628.    #define GreQueryPaletteInfo(a,b,c,d,e) (ULONG) Gre32Entry7((ULONG)(HPAL)(a),(ULONG)(ULONG)(b),(ULONG)(ULONG)(c),(ULONG)(ULONG)(d),(ULONG)(PULONG)(e),0L,0x00000246L)
  629.    #define NGreQueryPaletteInfo 0x00000246L
  630.    #define GreSetPaletteOwner(a,b) (BOOL) Gre32Entry4((ULONG)(HPAL)(a),(ULONG)(ULONG)(b),0L,0x00000247L)
  631.    #define NGreSetPaletteOwner 0x00000247L
  632.    #define GreResizePalette(a,b) (ULONG) Gre32Entry4((ULONG)(HPAL)(a),(ULONG)(ULONG)(b),0L,0x00000248L)
  633.    #define NGreResizePalette 0x00000248L
  634.    #define GreQueryDefaultPaletteInfo(a,b,c,d,e) (ULONG) Gre32Entry7((ULONG)(HDC)(a),(ULONG)(ULONG)(b),(ULONG)(ULONG)(c),(ULONG)(ULONG)(d),(ULONG)(PULONG)(e),0L,0x00004249L)
  635.    #define NGreQueryDefaultPaletteInfo 0x00004249L
  636. #endif
  637. #ifdef INCL_GRE_HFONT
  638.    #define GreCreateFontHandle(a,b,c) (HFONT) Gre32Entry5((ULONG)(ULONG)(a),(ULONG)(PSTR8)(b),(ULONG)(PFATTRS)(c),0L,0x00000250L)
  639.    #define NGreCreateFontHandle 0x00000250L
  640.    #define GreQueryFontHandle(a,b,c,d,e) (ULONG) Gre32Entry7((ULONG)(HFONT)(a),(ULONG)(PULONG)(b),(ULONG)(PSTR8)(c),(ULONG)(PFATTRS)(d),(ULONG)(ULONG)(e),0L,0x00000251L)
  641.    #define NGreQueryFontHandle 0x00000251L
  642.    #define GreSelectFontHandle(a,b) (HFONT) Gre32Entry4((ULONG)(HDC)(a),(ULONG)(HFONT)(b),0L,0x00004252L)
  643.    #define NGreSelectFontHandle 0x00004252L
  644.    #define GreDeleteFontHandle(a) (ULONG) Gre32Entry3((ULONG)(HFONT)(a),0L,0x00000253L)
  645.    #define NGreDeleteFontHandle 0x00000253L
  646.    #define GreSetFontHandleOwner(a,b) (ULONG) Gre32Entry4((ULONG)(HFONT)(a),(ULONG)(ULONG)(b),0L,0x00000254L)
  647.    #define NGreSetFontHandleOwner 0x00000254L
  648. #endif
  649.  
  650. /* NOINC */
  651. #ifdef __IBMC__
  652.    #pragma checkout( suspend )
  653.    #ifndef __CHKHDR__
  654.       #pragma checkout( resume )
  655.    #endif
  656.    #pragma checkout( resume )
  657. #endif
  658. /* INC */
  659.  
  660. /**************************** end of file **********************************/
  661.