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