;*DDK*************************************************************************/
;
; COPYRIGHT    Copyright (C) 1995 IBM Corporation
;
;    The following IBM OS/2 WARP source code is provided to you solely for
;    the purpose of assisting you in your development of OS/2 WARP device
;    drivers. You may use this code in accordance with the IBM License
;    Agreement provided in the IBM Device Driver Source Kit for OS/2. This
;    Copyright statement may not be removed.;
;*****************************************************************************/
ifdef INCL_GRE_ARCS
  off_GetArcParameters equ 04000h
  seg_GetArcParameters equ 00000h
  farPtr GreGetArcParameters,seg_GetArcParameters,off_GetArcParameters
  prm_GetArcParameters equ <hdc,parcp,hddc,ulFunN>
  off_SetArcParameters equ 04001h
  seg_SetArcParameters equ 00000h
  farPtr GreSetArcParameters,seg_SetArcParameters,off_SetArcParameters
  prm_SetArcParameters equ <hdc,parcp,hddc,ulFunN>
  off_Arc equ 04002h
  seg_Arc equ 00000h
  farPtr GreArc,seg_Arc,off_Arc
  prm_Arc equ <hdc,pptl,hddc,ulFunN>
  off_PartialArc equ 04003h
  seg_PartialArc equ 00000h
  farPtr GrePartialArc,seg_PartialArc,off_PartialArc
  prm_PartialArc equ <hdc,pptl,fxMult,fxStart,fxSweep,hddc,ulFunN>
  off_FullArcInterior equ 04004h
  seg_FullArcInterior equ 00000h
  farPtr GreFullArcInterior,seg_FullArcInterior,off_FullArcInterior
  prm_FullArcInterior equ <hdc,fxMult,hddc,ulFunN>
  off_FullArcBoundary equ 04005h
  seg_FullArcBoundary equ 00000h
  farPtr GreFullArcBoundary,seg_FullArcBoundary,off_FullArcBoundary
  prm_FullArcBoundary equ <hdc,fxMult,hddc,ulFunN>
  off_FullArcBoth equ 04006h
  seg_FullArcBoth equ 00000h
  farPtr GreFullArcBoth,seg_FullArcBoth,off_FullArcBoth
  prm_FullArcBoth equ <hdc,fxMult,hddc,ulFunN>
  off_BoxInterior equ 04007h
  seg_BoxInterior equ 00000h
  farPtr GreBoxInterior,seg_BoxInterior,off_BoxInterior
  prm_BoxInterior equ <hdc,pboxp,hddc,ulFunN>
  off_BoxBoundary equ 04008h
  seg_BoxBoundary equ 00000h
  farPtr GreBoxBoundary,seg_BoxBoundary,off_BoxBoundary
  prm_BoxBoundary equ <hdc,pboxp,hddc,ulFunN>
  off_BoxBoth equ 04009h
  seg_BoxBoth equ 00000h
  farPtr GreBoxBoth,seg_BoxBoth,off_BoxBoth
  prm_BoxBoth equ <hdc,pboxp,hddc,ulFunN>
  off_PolyFillet equ 0400Ah
  seg_PolyFillet equ 00000h
  farPtr GrePolyFillet,seg_PolyFillet,off_PolyFillet
  prm_PolyFillet equ <hdc,pptl,cptl,hddc,ulFunN>
  off_PolyFilletSharp equ 0400Bh
  seg_PolyFilletSharp equ 00000h
  farPtr GrePolyFilletSharp,seg_PolyFilletSharp,off_PolyFilletSharp
  prm_PolyFilletSharp equ <hdc,pptl,cptl,pfxSharpness,hddc,ulFunN>
  off_PolySpline equ 0400Ch
  seg_PolySpline equ 00000h
  farPtr GrePolySpline,seg_PolySpline,off_PolySpline
  prm_PolySpline equ <hdc,pptl,cptl,hddc,ulFunN>
  off_DrawConicsInPath equ 0400Dh
  seg_DrawConicsInPath equ 00000h
  farPtr GreDrawConicsInPath,seg_DrawConicsInPath,off_DrawConicsInPath
  prm_DrawConicsInPath equ <hdc,pph,pcvFirst,ccv,hddc,ulFunN>
  off_CookWholePath equ 0400Eh
  seg_CookWholePath equ 00000h
  farPtr GreCookWholePath,seg_CookWholePath,off_CookWholePath
  prm_CookWholePath equ <hdc,pph,hddc,ulFunN>
  off_CookPathCurves equ 0400Fh
  seg_CookPathCurves equ 00000h
  farPtr GreCookPathCurves,seg_CookPathCurves,off_CookPathCurves
  prm_CookPathCurves equ <hdc,pph,ppi,hddc,ulFunN>
  off_RenderPath equ 04011h
  seg_RenderPath equ 00000h
  farPtr GreRenderPath,seg_RenderPath,off_RenderPath
  prm_RenderPath equ <hdc,pph,pcvFirst,ccv,yBottom,yTop,pslOutput,cbOutput,hddc,ulFunN>
endif
ifdef INCL_GRE_LINES
  off_DisjointLines equ 04016h
  seg_DisjointLines equ 00000h
  farPtr GreDisjointLines,seg_DisjointLines,off_DisjointLines
  prm_DisjointLines equ <hdc,pptl,cptl,hddc,ulFunN>
  off_GetCurrentPosition equ 04017h
  seg_GetCurrentPosition equ 00000h
  farPtr GreGetCurrentPosition,seg_GetCurrentPosition,off_GetCurrentPosition
  prm_GetCurrentPosition equ <hdc,pptl,hddc,ulFunN>
  off_SetCurrentPosition equ 04018h
  seg_SetCurrentPosition equ 00000h
  farPtr GreSetCurrentPosition,seg_SetCurrentPosition,off_SetCurrentPosition
  prm_SetCurrentPosition equ <hdc,pptl,hddc,ulFunN>
  off_PolyLine equ 04019h
  seg_PolyLine equ 00000h
  farPtr GrePolyLine,seg_PolyLine,off_PolyLine
  prm_PolyLine equ <hdc,pptl,cptl,hddc,ulFunN>
  off_DrawLinesInPath equ 0401Ah
  seg_DrawLinesInPath equ 00000h
  farPtr GreDrawLinesInPath,seg_DrawLinesInPath,off_DrawLinesInPath
  prm_DrawLinesInPath equ <hdc,pph,pcvFirst,ccv,hddc,ulFunN>
  off_PolyShortLine equ 0401Bh
  seg_PolyShortLine equ 00000h
  farPtr GrePolyShortLine,seg_PolyShortLine,off_PolyShortLine
  prm_PolyShortLine equ <hdc,psl,hddc,ulFunN>
endif
ifdef INCL_GRE_SCANS
  off_PolyScanline equ 0401Ch
  seg_PolyScanline equ 00000h
  farPtr GrePolyScanline,seg_PolyScanline,off_PolyScanline
  prm_PolyScanline equ <hdc,psd,hddc,ulFunN>
endif
ifdef INCL_GRE_BITMAPS
  off_DrawBits equ 06022h
  seg_DrawBits equ 00000h
  farPtr GreDrawBits,seg_DrawBits,off_DrawBits
  prm_DrawBits equ <hdc,pbBits,pbmiInfoTable,lCount,aptlPoints,lRop,flOptions,hddc,ulFunN>
  off_DeviceCreateBitmap equ 06023h
  seg_DeviceCreateBitmap equ 00000h
  farPtr GreDeviceCreateBitmap,seg_DeviceCreateBitmap,off_DeviceCreateBitmap
  prm_DeviceCreateBitmap equ <hdc,pbmih,flCmd,pbBits,pbmi,hddc,ulFunN>
  off_DeviceDeleteBitmap equ 04024h
  seg_DeviceDeleteBitmap equ 00000h
  farPtr GreDeviceDeleteBitmap,seg_DeviceDeleteBitmap,off_DeviceDeleteBitmap
  prm_DeviceDeleteBitmap equ <hdc,hbm,pdr,flCmd,hddc,ulFunN>
  off_DeviceSelectBitmap equ 04025h
  seg_DeviceSelectBitmap equ 00000h
  farPtr GreDeviceSelectBitmap,seg_DeviceSelectBitmap,off_DeviceSelectBitmap
  prm_DeviceSelectBitmap equ <hdc,hbm,hddc,ulFunN>
  off_Bitblt equ 06026h
  seg_Bitblt equ 00000h
  farPtr GreBitblt,seg_Bitblt,off_Bitblt
  prm_Bitblt equ <hdc,hdcSrc,cptl,pbbp,lMix,flCmd,pbba,hddc,ulFunN>
  off_GetPel equ 06027h
  seg_GetPel equ 00000h
  farPtr GreGetPel,seg_GetPel,off_GetPel
  prm_GetPel equ <hdc,pptl,hddc,ulFunN>
  off_SetPel equ 04028h
  seg_SetPel equ 00000h
  farPtr GreSetPel,seg_SetPel,off_SetPel
  prm_SetPel equ <hdc,pptl,hddc,ulFunN>
  off_ImageData equ 04029h
  seg_ImageData equ 00000h
  farPtr GreImageData,seg_ImageData,off_ImageData
  prm_ImageData equ <hdc,pbImage,cBits,lRow,hddc,ulFunN>
  off_ScanLR equ 0602Ah
  seg_ScanLR equ 00000h
  farPtr GreScanLR,seg_ScanLR,off_ScanLR
  prm_ScanLR equ <hdc,pptl,mode,color,pxleft,pxright,hddc,ulFunN>
  off_FloodFill equ 0602Bh
  seg_FloodFill equ 00000h
  farPtr GreFloodFill,seg_FloodFill,off_FloodFill
  prm_FloodFill equ <hdc,options,color,hddc,ulFunN>
  off_SaveScreenBits equ 0402Ch
  seg_SaveScreenBits equ 00000h
  farPtr GreSaveScreenBits,seg_SaveScreenBits,off_SaveScreenBits
  prm_SaveScreenBits equ <hdc,prcl,hddc,ulFunN>
  off_RestoreScreenBits equ 0402Dh
  seg_RestoreScreenBits equ 00000h
  farPtr GreRestoreScreenBits,seg_RestoreScreenBits,off_RestoreScreenBits
  prm_RestoreScreenBits equ <hdc,hsb,prcl,flCmd,hddc,ulFunN>
  off_DrawBorder equ 0602Eh
  seg_DrawBorder equ 00000h
  farPtr GreDrawBorder,seg_DrawBorder,off_DrawBorder
  prm_DrawBorder equ <hdc,prcl,cx,cy,clrFore,clrBack,flCmd,hddc,ulFunN>
  off_DeviceSetCursor equ 0402Fh
  seg_DeviceSetCursor equ 00000h
  farPtr GreDeviceSetCursor,seg_DeviceSetCursor,off_DeviceSetCursor
  prm_DeviceSetCursor equ <hdc,pptlHotSpot,hbm,hddc,ulFunN>
  off_GetBitmapBits equ 06030h
  seg_GetBitmapBits equ 00000h
  farPtr GreGetBitmapBits,seg_GetBitmapBits,off_GetBitmapBits
  prm_GetBitmapBits equ <hdc,hbm,y,cy,pbBits,pbmi,hddc,ulFunN>
  off_SetBitmapBits equ 06031h
  seg_SetBitmapBits equ 00000h
  farPtr GreSetBitmapBits,seg_SetBitmapBits,off_SetBitmapBits
  prm_SetBitmapBits equ <hdc,hbm,y,cy,pbBits,pbmi,hddc,ulFunN>
endif
ifdef INCL_WINPOINTERS
  off_SetColorCursor equ 04032h
  seg_SetColorCursor equ 00000h
  farPtr GreSetColorCursor,seg_SetColorCursor,off_SetColorCursor
  prm_SetColorCursor equ <hdc,pptri,hddc,ulFunN>
endif
ifdef INCL_GRE_STRINGS
  off_CharString equ 05035h
  seg_CharString equ 00000h
  farPtr GreCharString,seg_CharString,off_CharString
  prm_CharString equ <hdc,cch,pch,hddc,ulFunN>
  off_CharStringPos equ 07036h
  seg_CharStringPos equ 00000h
  farPtr GreCharStringPos,seg_CharStringPos,off_CharStringPos
  prm_CharStringPos equ <hdc,pptlStart,prclOpaque,flCmd,cch,pch,pdx,pcspAttrs,hddc,ulFunN>
  off_QueryTextBox equ 05037h
  seg_QueryTextBox equ 00000h
  farPtr GreQueryTextBox,seg_QueryTextBox,off_QueryTextBox
  prm_QueryTextBox equ <hdc,cch,pch,cptlTextBox,pptlTextBox,hddc,ulFunN>
  off_QueryCharPositions equ 05038h
  seg_QueryCharPositions equ 00000h
  farPtr GreQueryCharPositions,seg_QueryCharPositions,off_QueryCharPositions
  prm_QueryCharPositions equ <hdc,pptlStart,flCmd,cch,pch,pdx,pptlCharPos,hddc,ulFunN>
  off_QueryWidthTable equ 05039h
  seg_QueryWidthTable equ 00000h
  farPtr GreQueryWidthTable,seg_QueryWidthTable,off_QueryWidthTable
  prm_QueryWidthTable equ <hdc,chFirst,cbWidthTable,plWidthTable,hddc,ulFunN>
endif
ifdef INCL_GRE_MARKERS
  off_PolyMarker equ 0403Ah
  seg_PolyMarker equ 00000h
  farPtr GrePolyMarker,seg_PolyMarker,off_PolyMarker
  prm_PolyMarker equ <hdc,pptl,cptl,hddc,ulFunN>
endif
ifdef INCL_AVIOP
  off_CharRect equ 0403Bh
  seg_CharRect equ 00000h
  farPtr GreCharRect,seg_CharRect,off_CharRect
  prm_CharRect equ <hdc,pviops,pCharRect,hddc,ulFunN>
  off_CharStr equ 0403Ch
  seg_CharStr equ 00000h
  farPtr GreCharStr,seg_CharStr,off_CharStr
  prm_CharStr equ <hdc,pviops,pCharStr,hddc,ulFunN>
  off_ScrollRect equ 0403Dh
  seg_ScrollRect equ 00000h
  farPtr GreScrollRect,seg_ScrollRect,off_ScrollRect
  prm_ScrollRect equ <hdc,pviops,pScrollRect,hddc,ulFunN>
  off_UpdateCursor equ 0403Eh
  seg_UpdateCursor equ 00000h
  farPtr GreUpdateCursor,seg_UpdateCursor,off_UpdateCursor
  prm_UpdateCursor equ <hdc,pviops,hddc,ulFunN>
endif
ifdef INCL_GRE_PATHS
  off_BeginArea equ 04046h
  seg_BeginArea equ 00000h
  farPtr GreBeginArea,seg_BeginArea,off_BeginArea
  prm_BeginArea equ <hdc,flCmd,hddc,ulFunN>
  off_EndArea equ 04047h
  seg_EndArea equ 00000h
  farPtr GreEndArea,seg_EndArea,off_EndArea
  prm_EndArea equ <hdc,fCancel,hddc,ulFunN>
  off_BeginPath equ 04048h
  seg_BeginPath equ 00000h
  farPtr GreBeginPath,seg_BeginPath,off_BeginPath
  prm_BeginPath equ <hdc,phid,hddc,ulFunN>
  off_EndPath equ 04049h
  seg_EndPath equ 00000h
  farPtr GreEndPath,seg_EndPath,off_EndPath
  prm_EndPath equ <hdc,fCancel,hddc,ulFunN>
  off_CloseFigure equ 0404Ah
  seg_CloseFigure equ 00000h
  farPtr GreCloseFigure,seg_CloseFigure,off_CloseFigure
  prm_CloseFigure equ <hdc,hddc,ulFunN>
  off_FillPath equ 0404Bh
  seg_FillPath equ 00000h
  farPtr GreFillPath,seg_FillPath,off_FillPath
  prm_FillPath equ <hdc,phid,flCmd,hddc,ulFunN>
  off_OutlinePath equ 0404Ch
  seg_OutlinePath equ 00000h
  farPtr GreOutlinePath,seg_OutlinePath,off_OutlinePath
  prm_OutlinePath equ <hdc,phid,flCmd,hddc,ulFunN>
  off_ModifyPath equ 0404Dh
  seg_ModifyPath equ 00000h
  farPtr GreModifyPath,seg_ModifyPath,off_ModifyPath
  prm_ModifyPath equ <hdc,phid,ulMode,hddc,ulFunN>
  off_StrokePath equ 0404Eh
  seg_StrokePath equ 00000h
  farPtr GreStrokePath,seg_StrokePath,off_StrokePath
  prm_StrokePath equ <hdc,phid,ulMode,hddc,ulFunN>
  off_SelectClipPath equ 0404Fh
  seg_SelectClipPath equ 00000h
  farPtr GreSelectClipPath,seg_SelectClipPath,off_SelectClipPath
  prm_SelectClipPath equ <hdc,phid,flCmd,hddc,ulFunN>
  off_SavePath equ 04050h
  seg_SavePath equ 00000h
  farPtr GreSavePath,seg_SavePath,off_SavePath
  prm_SavePath equ <hdc,cSaveLevel,hddc,ulFunN>
  off_RestorePath equ 04051h
  seg_RestorePath equ 00000h
  farPtr GreRestorePath,seg_RestorePath,off_RestorePath
  prm_RestorePath equ <hdc,cSaveLevel,hddc,ulFunN>
  off_Clip1DPath equ 04052h
  seg_Clip1DPath equ 00000h
  farPtr GreClip1DPath,seg_Clip1DPath,off_Clip1DPath
  prm_Clip1DPath equ <hdc,pph,ppi,hddc,ulFunN>
  off_DrawRawPath equ 04053h
  seg_DrawRawPath equ 00000h
  farPtr GreDrawRawPath,seg_DrawRawPath,off_DrawRawPath
  prm_DrawRawPath equ <hdc,pph,hddc,ulFunN>
  off_DrawCookedPath equ 04054h
  seg_DrawCookedPath equ 00000h
  farPtr GreDrawCookedPath,seg_DrawCookedPath,off_DrawCookedPath
  prm_DrawCookedPath equ <hdc,pph,pcvFirst,ccv,hddc,ulFunN>
  off_AreaSetAttributes equ 06055h
  seg_AreaSetAttributes equ 00000h
  farPtr GreAreaSetAttributes,seg_AreaSetAttributes,off_AreaSetAttributes
  prm_AreaSetAttributes equ <hdc,ulType,flDefs,flAttrs,pBundle,hddc,ulFunN>
  off_PathToRegion equ 04057h
  seg_PathToRegion equ 00000h
  farPtr GrePathToRegion,seg_PathToRegion,off_PathToRegion
  prm_PathToRegion equ <hdc,phid,ulOptions,hddc,ulFunN>
endif
ifdef INCL_GRE_REGIONS
  off_GetRegionBox equ 0405Dh
  seg_GetRegionBox equ 00000h
  farPtr GreGetRegionBox,seg_GetRegionBox,off_GetRegionBox
  prm_GetRegionBox equ <hdc,hrgn,prcl,hddc,ulFunN>
  off_GetRegionRects equ 0405Eh
  seg_GetRegionRects equ 00000h
  farPtr GreGetRegionRects,seg_GetRegionRects,off_GetRegionRects
  prm_GetRegionRects equ <hdc,hrgn,prclBounds,prgnrc,prcl,hddc,ulFunN>
  off_OffsetRegion equ 0405Fh
  seg_OffsetRegion equ 00000h
  farPtr GreOffsetRegion,seg_OffsetRegion,off_OffsetRegion
  prm_OffsetRegion equ <hdc,hrgn,pptl,hddc,ulFunN>
  off_PtInRegion equ 04060h
  seg_PtInRegion equ 00000h
  farPtr GrePtInRegion,seg_PtInRegion,off_PtInRegion
  prm_PtInRegion equ <hdc,hrgn,pptl,hddc,ulFunN>
  off_RectInRegion equ 04061h
  seg_RectInRegion equ 00000h
  farPtr GreRectInRegion,seg_RectInRegion,off_RectInRegion
  prm_RectInRegion equ <hdc,hrgn,prcl,hddc,ulFunN>
  off_CreateRectRegion equ 04062h
  seg_CreateRectRegion equ 00000h
  farPtr GreCreateRectRegion,seg_CreateRectRegion,off_CreateRectRegion
  prm_CreateRectRegion equ <hdc,prcl,crcl,hddc,ulFunN>
  off_DestroyRegion equ 04063h
  seg_DestroyRegion equ 00000h
  farPtr GreDestroyRegion,seg_DestroyRegion,off_DestroyRegion
  prm_DestroyRegion equ <hdc,hrgn,hddc,ulFunN>
  off_SetRectRegion equ 04064h
  seg_SetRectRegion equ 00000h
  farPtr GreSetRectRegion,seg_SetRectRegion,off_SetRectRegion
  prm_SetRectRegion equ <hdc,hrgn,prcl,crcl,hddc,ulFunN>
  off_CombineRegion equ 04065h
  seg_CombineRegion equ 00000h
  farPtr GreCombineRegion,seg_CombineRegion,off_CombineRegion
  prm_CombineRegion equ <hdc,hrgnDst,hrgnSrc1,hrgnSrc2,ulMode,hddc,ulFunN>
  off_CombineRectRegion equ 04066h
  seg_CombineRectRegion equ 00000h
  farPtr GreCombineRectRegion,seg_CombineRectRegion,off_CombineRectRegion
  prm_CombineRectRegion equ <hdc,hrgnDst,prcl,hrgnSrc,ulMode,hddc,ulFunN>
  off_CombineShortLineRegion equ 04067h
  seg_CombineShortLineRegion equ 00000h
  farPtr GreCombineShortLineRegion,seg_CombineShortLineRegion,off_CombineShortLineRegion
  prm_CombineShortLineRegion equ <hdc,hrgn,psl,hddc,ulFunN>
  off_EqualRegion equ 04068h
  seg_EqualRegion equ 00000h
  farPtr GreEqualRegion,seg_EqualRegion,off_EqualRegion
  prm_EqualRegion equ <hdc,hrgnSrc1,hrgnSrc2,hddc,ulFunN>
  off_PaintRegion equ 04069h
  seg_PaintRegion equ 00000h
  farPtr GrePaintRegion,seg_PaintRegion,off_PaintRegion
  prm_PaintRegion equ <hdc,hrgn,hddc,ulFunN>
  off_SetRegionOwner equ 0406Ah
  seg_SetRegionOwner equ 00000h
  farPtr GreSetRegionOwner,seg_SetRegionOwner,off_SetRegionOwner
  prm_SetRegionOwner equ <hdc,hrgn,pid,hddc,ulFunN>
  off_FrameRegion equ 0406Bh
  seg_FrameRegion equ 00000h
  farPtr GreFrameRegion,seg_FrameRegion,off_FrameRegion
  prm_FrameRegion equ <hdc,hrgn,psizlThickness,hddc,ulFunN>
endif
ifdef INCL_GRE_CLIP
  off_GetClipBox equ 0406Eh
  seg_GetClipBox equ 00000h
  farPtr GreGetClipBox,seg_GetClipBox,off_GetClipBox
  prm_GetClipBox equ <hdc,prcl,hddc,ulFunN>
  off_GetClipRects equ 0406Fh
  seg_GetClipRects equ 00000h
  farPtr GreGetClipRects,seg_GetClipRects,off_GetClipRects
  prm_GetClipRects equ <hdc,prclBounds,prgnrc,prclClip,hddc,ulFunN>
  off_OffsetClipRegion equ 04070h
  seg_OffsetClipRegion equ 00000h
  farPtr GreOffsetClipRegion,seg_OffsetClipRegion,off_OffsetClipRegion
  prm_OffsetClipRegion equ <hdc,pptl,hddc,ulFunN>
  off_PtVisible equ 04071h
  seg_PtVisible equ 00000h
  farPtr GrePtVisible,seg_PtVisible,off_PtVisible
  prm_PtVisible equ <hdc,pptl,hddc,ulFunN>
  off_RectVisible equ 04072h
  seg_RectVisible equ 00000h
  farPtr GreRectVisible,seg_RectVisible,off_RectVisible
  prm_RectVisible equ <hdc,prcl,hddc,ulFunN>
  off_QueryClipRegion equ 04073h
  seg_QueryClipRegion equ 00000h
  farPtr GreQueryClipRegion,seg_QueryClipRegion,off_QueryClipRegion
  prm_QueryClipRegion equ <hdc,hddc,ulFunN>
  off_SelectClipRegion equ 04074h
  seg_SelectClipRegion equ 00000h
  farPtr GreSelectClipRegion,seg_SelectClipRegion,off_SelectClipRegion
  prm_SelectClipRegion equ <hdc,hrgnNew,phrgnOld,hddc,ulFunN>
  off_IntersectClipRectangle equ 04075h
  seg_IntersectClipRectangle equ 00000h
  farPtr GreIntersectClipRectangle,seg_IntersectClipRectangle,off_IntersectClipRectangle
  prm_IntersectClipRectangle equ <hdc,prcl,hddc,ulFunN>
  off_ExcludeClipRectangle equ 04076h
  seg_ExcludeClipRectangle equ 00000h
  farPtr GreExcludeClipRectangle,seg_ExcludeClipRectangle,off_ExcludeClipRectangle
  prm_ExcludeClipRectangle equ <hdc,prcl,hddc,ulFunN>
  off_SetXformRect equ 04077h
  seg_SetXformRect equ 00000h
  farPtr GreSetXformRect,seg_SetXformRect,off_SetXformRect
  prm_SetXformRect equ <hdc,prcl,hddc,ulFunN>
  off_SaveRegion equ 0407Bh
  seg_SaveRegion equ 00000h
  farPtr GreSaveRegion,seg_SaveRegion,off_SaveRegion
  prm_SaveRegion equ <hdc,cSaveLevel,hddc,ulFunN>
  off_RestoreRegion equ 0407Ch
  seg_RestoreRegion equ 00000h
  farPtr GreRestoreRegion,seg_RestoreRegion,off_RestoreRegion
  prm_RestoreRegion equ <hdc,cSaveLevel,hddc,ulFunN>
  off_ClipPathCurves equ 0407Dh
  seg_ClipPathCurves equ 00000h
  farPtr GreClipPathCurves,seg_ClipPathCurves,off_ClipPathCurves
  prm_ClipPathCurves equ <hdc,pph,ppi,hddc,ulFunN>
  off_SelectPathRegion equ 0407Eh
  seg_SelectPathRegion equ 00000h
  farPtr GreSelectPathRegion,seg_SelectPathRegion,off_SelectPathRegion
  prm_SelectPathRegion equ <hdc,hrgn,hddc,ulFunN>
  off_RegionSelectBitmap equ 0407Fh
  seg_RegionSelectBitmap equ 00000h
  farPtr GreRegionSelectBitmap,seg_RegionSelectBitmap,off_RegionSelectBitmap
  prm_RegionSelectBitmap equ <hdc,hbm,hddc,ulFunN>
  off_CopyClipRegion equ 04080h
  seg_CopyClipRegion equ 00000h
  farPtr GreCopyClipRegion,seg_CopyClipRegion,off_CopyClipRegion
  prm_CopyClipRegion equ <hdc,hrgn,prclBounds,flCmd,hddc,ulFunN>
  off_SetupDC equ 04081h
  seg_SetupDC equ 00000h
  farPtr GreSetupDC,seg_SetupDC,off_SetupDC
  prm_SetupDC equ <hdc,hrgnVis,xOrg,yOrg,prclBounds,flCmd,hddc,ulFunN>
endif
ifdef INCL_GRE_XFORMS
  off_GetPageUnits equ 04083h
  seg_GetPageUnits equ 00000h
  farPtr GreGetPageUnits,seg_GetPageUnits,off_GetPageUnits
  prm_GetPageUnits equ <hdc,pulUnits,hddc,ulFunN>
  off_SetPageUnits equ 04084h
  seg_SetPageUnits equ 00000h
  farPtr GreSetPageUnits,seg_SetPageUnits,off_SetPageUnits
  prm_SetPageUnits equ <hdc,ulUnits,cx,cy,hddc,ulFunN>
  off_GetModelXform equ 04085h
  seg_GetModelXform equ 00000h
  farPtr GreGetModelXform,seg_GetModelXform,off_GetModelXform
  prm_GetModelXform equ <hdc,pxform,hddc,ulFunN>
  off_SetModelXform equ 04086h
  seg_SetModelXform equ 00000h
  farPtr GreSetModelXform,seg_SetModelXform,off_SetModelXform
  prm_SetModelXform equ <hdc,pxform,ulMode,hddc,ulFunN>
  off_GetWindowViewportXform equ 04087h
  seg_GetWindowViewportXform equ 00000h
  farPtr GreGetWindowViewportXform,seg_GetWindowViewportXform,off_GetWindowViewportXform
  prm_GetWindowViewportXform equ <hdc,pxform,hddc,ulFunN>
  off_SetWindowViewportXform equ 04088h
  seg_SetWindowViewportXform equ 00000h
  farPtr GreSetWindowViewportXform,seg_SetWindowViewportXform,off_SetWindowViewportXform
  prm_SetWindowViewportXform equ <hdc,pxform,ulMode,hddc,ulFunN>
  off_GetGlobalViewingXform equ 04089h
  seg_GetGlobalViewingXform equ 00000h
  farPtr GreGetGlobalViewingXform,seg_GetGlobalViewingXform,off_GetGlobalViewingXform
  prm_GetGlobalViewingXform equ <hdc,pxform,hddc,ulFunN>
  off_SetGlobalViewingXform equ 0408Ah
  seg_SetGlobalViewingXform equ 00000h
  farPtr GreSetGlobalViewingXform,seg_SetGlobalViewingXform,off_SetGlobalViewingXform
  prm_SetGlobalViewingXform equ <hdc,pxform,ulMode,hddc,ulFunN>
  off_SaveXformData equ 0408Bh
  seg_SaveXformData equ 00000h
  farPtr GreSaveXformData,seg_SaveXformData,off_SaveXformData
  prm_SaveXformData equ <hdc,cb,pb,hddc,ulFunN>
  off_RestoreXformData equ 0408Ch
  seg_RestoreXformData equ 00000h
  farPtr GreRestoreXformData,seg_RestoreXformData,off_RestoreXformData
  prm_RestoreXformData equ <hdc,cb,pb,hddc,ulFunN>
  off_GetPageViewport equ 0408Dh
  seg_GetPageViewport equ 00000h
  farPtr GreGetPageViewport,seg_GetPageViewport,off_GetPageViewport
  prm_GetPageViewport equ <hdc,prcl,hddc,ulFunN>
  off_SetPageViewport equ 0408Eh
  seg_SetPageViewport equ 00000h
  farPtr GreSetPageViewport,seg_SetPageViewport,off_SetPageViewport
  prm_SetPageViewport equ <hdc,prcl,flCmd,hddc,ulFunN>
  off_GetGraphicsField equ 04091h
  seg_GetGraphicsField equ 00000h
  farPtr GreGetGraphicsField,seg_GetGraphicsField,off_GetGraphicsField
  prm_GetGraphicsField equ <hdc,prcl,hddc,ulFunN>
  off_SetGraphicsField equ 04092h
  seg_SetGraphicsField equ 00000h
  farPtr GreSetGraphicsField,seg_SetGraphicsField,off_SetGraphicsField
  prm_SetGraphicsField equ <hdc,prcl,hddc,ulFunN>
  off_GetViewingLimits equ 04093h
  seg_GetViewingLimits equ 00000h
  farPtr GreGetViewingLimits,seg_GetViewingLimits,off_GetViewingLimits
  prm_GetViewingLimits equ <hdc,prcl,hddc,ulFunN>
  off_SetViewingLimits equ 04094h
  seg_SetViewingLimits equ 00000h
  farPtr GreSetViewingLimits,seg_SetViewingLimits,off_SetViewingLimits
  prm_SetViewingLimits equ <hdc,prcl,hddc,ulFunN>
  off_QueryViewportSize equ 04095h
  seg_QueryViewportSize equ 00000h
  farPtr GreQueryViewportSize,seg_QueryViewportSize,off_QueryViewportSize
  prm_QueryViewportSize equ <hdc,ulUnits,cvs,pvs,hddc,ulFunN>
  off_Convert equ 04096h
  seg_Convert equ 00000h
  farPtr GreConvert,seg_Convert,off_Convert
  prm_Convert equ <hdc,lSrc,lTarg,pptl,cptl,hddc,ulFunN>
  off_ConvertPath equ 04097h
  seg_ConvertPath equ 00000h
  farPtr GreConvertPath,seg_ConvertPath,off_ConvertPath
  prm_ConvertPath equ <hdc,pph,lSrc,lTarg,pcvFirst,ccv,hddc,ulFunN>
  off_SaveXform equ 04098h
  seg_SaveXform equ 00000h
  farPtr GreSaveXform,seg_SaveXform,off_SaveXform
  prm_SaveXform equ <hdc,cSaveLevel,hddc,ulFunN>
  off_RestoreXform equ 04099h
  seg_RestoreXform equ 00000h
  farPtr GreRestoreXform,seg_RestoreXform,off_RestoreXform
  prm_RestoreXform equ <hdc,cSaveLevel,hddc,ulFunN>
  off_MultiplyXforms equ 0409Ah
  seg_MultiplyXforms equ 00000h
  farPtr GreMultiplyXforms,seg_MultiplyXforms,off_MultiplyXforms
  prm_MultiplyXforms equ <hdc,pxform,pxformNew,ulMode,hddc,ulFunN>
  off_ConvertWithMatrix equ 0409Bh
  seg_ConvertWithMatrix equ 00000h
  farPtr GreConvertWithMatrix,seg_ConvertWithMatrix,off_ConvertWithMatrix
  prm_ConvertWithMatrix equ <hdc,pptl,cptl,pxform,hddc,ulFunN>
endif
ifdef INCL_GRE_DEVMISC1
  off_DeviceGetAttributes equ 0609Dh
  seg_DeviceGetAttributes equ 00000h
  farPtr GreDeviceGetAttributes,seg_DeviceGetAttributes,off_DeviceGetAttributes
  prm_DeviceGetAttributes equ <hdc,ulType,flAttrs,pBundle,hddc,ulFunN>
  off_DeviceSetAVIOFont2 equ 0409Eh
  seg_DeviceSetAVIOFont2 equ 00000h
  farPtr GreDeviceSetAVIOFont2,seg_DeviceSetAVIOFont2,off_DeviceSetAVIOFont2
  prm_DeviceSetAVIOFont2 equ <hdc,pfat,pfoca,lcid,hddc,ulFunN>
  off_GetPairKerningTable equ 040A0h
  seg_GetPairKerningTable equ 00000h
  farPtr GreGetPairKerningTable,seg_GetPairKerningTable,off_GetPairKerningTable
  prm_GetPairKerningTable equ <hdc,ckp,pkp,hddc,ulFunN>
  off_DeviceSetAVIOFont equ 040A1h
  seg_DeviceSetAVIOFont equ 00000h
  farPtr GreDeviceSetAVIOFont,seg_DeviceSetAVIOFont,off_DeviceSetAVIOFont
  prm_DeviceSetAVIOFont equ <hdc,pfoca,lcid,hddc,ulFunN>
  off_DeviceSetAttributes equ 060A2h
  seg_DeviceSetAttributes equ 00000h
  farPtr GreDeviceSetAttributes,seg_DeviceSetAttributes,off_DeviceSetAttributes
  prm_DeviceSetAttributes equ <hdc,ulType,flDefs,flAttrs,pBundle,hddc,ulFunN>
  off_DeviceSetGlobalAttribute equ 060A3h
  seg_DeviceSetGlobalAttribute equ 00000h
  farPtr GreDeviceSetGlobalAttribute,seg_DeviceSetGlobalAttribute,off_DeviceSetGlobalAttribute
  prm_DeviceSetGlobalAttribute equ <hdc,ulType,ulAttr,flCmd,hddc,ulFunN>
endif
ifdef INCL_GRE_DEVMISC2
  off_NotifyClipChange equ 040A4h
  seg_NotifyClipChange equ 00000h
  farPtr GreNotifyClipChange,seg_NotifyClipChange,off_NotifyClipChange
  prm_NotifyClipChange equ <hdc,prcl,crcl,flCmd,hddc,ulFunN>
  off_NotifyTransformChange equ 040A5h
  seg_NotifyTransformChange equ 00000h
  farPtr GreNotifyTransformChange,seg_NotifyTransformChange,off_NotifyTransformChange
  prm_NotifyTransformChange equ <hdc,flCmd,pntd,hddc,ulFunN>
  off_RealizeFont equ 040A6h
  seg_RealizeFont equ 00000h
  farPtr GreRealizeFont,seg_RealizeFont,off_RealizeFont
  prm_RealizeFont equ <hdc,ulCmd,pfatLogFont,pfocaEngFont,hddc,ulFunN>
  off_ErasePS equ 040A7h
  seg_ErasePS equ 00000h
  farPtr GreErasePS,seg_ErasePS,off_ErasePS
  prm_ErasePS equ <hdc,hddc,ulFunN>
  off_SetStyleRatio equ 040A8h
  seg_SetStyleRatio equ 00000h
  farPtr GreSetStyleRatio,seg_SetStyleRatio,off_SetStyleRatio
  prm_SetStyleRatio equ <hdc,psr,hddc,ulFunN>
  off_DeviceQueryFontAttributes equ 040A9h
  seg_DeviceQueryFontAttributes equ 00000h
  farPtr GreDeviceQueryFontAttributes,seg_DeviceQueryFontAttributes,off_DeviceQueryFontAttributes
  prm_DeviceQueryFontAttributes equ <hdc,cbFontMetrics,pfm,hddc,ulFunN>
  off_DeviceQueryFonts equ 040AAh
  seg_DeviceQueryFonts equ 00000h
  farPtr GreDeviceQueryFonts,seg_DeviceQueryFonts,off_DeviceQueryFonts
  prm_DeviceQueryFonts equ <hdc,flCmd,pszFaceName,pfm,cbFontMetrics,pcFonts,hddc,ulFunN>
  off_DeviceInvalidateVisRegion equ 040ABh
  seg_DeviceInvalidateVisRegion equ 00000h
  farPtr GreDeviceInvalidateVisRegion,seg_DeviceInvalidateVisRegion,off_DeviceInvalidateVisRegion
  prm_DeviceInvalidateVisRegion equ <hdc,civr,pivr,hddc,ulFunN>
endif
ifdef INCL_GRE_PICK
  off_GetPickWindow equ 040ACh
  seg_GetPickWindow equ 00000h
  farPtr GreGetPickWindow,seg_GetPickWindow,off_GetPickWindow
  prm_GetPickWindow equ <hdc,prcl,hddc,ulFunN>
  off_SetPickWindow equ 040ADh
  seg_SetPickWindow equ 00000h
  farPtr GreSetPickWindow,seg_SetPickWindow,off_SetPickWindow
  prm_SetPickWindow equ <hdc,prcl,hddc,ulFunN>
endif
ifdef INCL_GRE_DEVMISC3
  off_ResetBounds equ 040AEh
  seg_ResetBounds equ 00000h
  farPtr GreResetBounds,seg_ResetBounds,off_ResetBounds
  prm_ResetBounds equ <hdc,ulType,hddc,ulFunN>
  off_GetBoundsData equ 040AFh
  seg_GetBoundsData equ 00000h
  farPtr GreGetBoundsData,seg_GetBoundsData,off_GetBoundsData
  prm_GetBoundsData equ <hdc,ulType,prcl,hddc,ulFunN>
  off_AccumulateBounds equ 040B0h
  seg_AccumulateBounds equ 00000h
  farPtr GreAccumulateBounds,seg_AccumulateBounds,off_AccumulateBounds
  prm_AccumulateBounds equ <hdc,prcl,hddc,ulFunN>
  off_GetExtraError equ 040B1h
  seg_GetExtraError equ 00000h
  farPtr GreGetExtraError,seg_GetExtraError,off_GetExtraError
  prm_GetExtraError equ <hdc,hddc,ulFunN>
  off_SetExtraError equ 040B2h
  seg_SetExtraError equ 00000h
  farPtr GreSetExtraError,seg_SetExtraError,off_SetExtraError
  prm_SetExtraError equ <hdc,fxExtraError,hddc,ulFunN>
  off_GetCodePage equ 040B3h
  seg_GetCodePage equ 00000h
  farPtr GreGetCodePage,seg_GetCodePage,off_GetCodePage
  prm_GetCodePage equ <hdc,hddc,ulFunN>
  off_SetCodePage equ 040B4h
  seg_SetCodePage equ 00000h
  farPtr GreSetCodePage,seg_SetCodePage,off_SetCodePage
  prm_SetCodePage equ <hdc,idCP,hddc,ulFunN>
  off_LockDevice equ 040B5h
  seg_LockDevice equ 00000h
  farPtr GreLockDevice,seg_LockDevice,off_LockDevice
  prm_LockDevice equ <hdc,hddc,ulFunN>
  off_UnlockDevice equ 040B6h
  seg_UnlockDevice equ 00000h
  farPtr GreUnlockDevice,seg_UnlockDevice,off_UnlockDevice
  prm_UnlockDevice equ <hdc,hddc,ulFunN>
  off_Death equ 040B7h
  seg_Death equ 00000h
  farPtr GreDeath,seg_Death,off_Death
  prm_Death equ <hdc,hddc,ulFunN>
  off_Resurrection equ 040B8h
  seg_Resurrection equ 00000h
  farPtr GreResurrection,seg_Resurrection,off_Resurrection
  prm_Resurrection equ <hdc,cbDirty,pbDirty,hddc,ulFunN>
  off_GetDCOrigin equ 040BAh
  seg_GetDCOrigin equ 00000h
  farPtr GreGetDCOrigin,seg_GetDCOrigin,off_GetDCOrigin
  prm_GetDCOrigin equ <hdc,pptl,hddc,ulFunN>
  off_DeviceSetDCOrigin equ 040BBh
  seg_DeviceSetDCOrigin equ 00000h
  farPtr GreDeviceSetDCOrigin,seg_DeviceSetDCOrigin,off_DeviceSetDCOrigin
  prm_DeviceSetDCOrigin equ <hdc,pptl,hddc,ulFunN>
  off_GetLineOrigin equ 040BCh
  seg_GetLineOrigin equ 00000h
  farPtr GreGetLineOrigin,seg_GetLineOrigin,off_GetLineOrigin
  prm_GetLineOrigin equ <hdc,pptl,hddc,ulFunN>
  off_SetLineOrigin equ 040BDh
  seg_SetLineOrigin equ 00000h
  farPtr GreSetLineOrigin,seg_SetLineOrigin,off_SetLineOrigin
  prm_SetLineOrigin equ <hdc,pptl,lStyleState,hddc,ulFunN>
endif
ifdef INCL_GRE_DEVMISC2
  off_GetStyleRatio equ 040BEh
  seg_GetStyleRatio equ 00000h
  farPtr GreGetStyleRatio,seg_GetStyleRatio,off_GetStyleRatio
  prm_GetStyleRatio equ <hdc,psr,hddc,ulFunN>
endif
ifdef INCL_GRE_COLORTABLE
  off_QueryColorData equ 060C3h
  seg_QueryColorData equ 00000h
  farPtr GreQueryColorData,seg_QueryColorData,off_QueryColorData
  prm_QueryColorData equ <hdc,clColorData,plColorData,hddc,ulFunN>
  off_QueryLogColorTable equ 060C4h
  seg_QueryLogColorTable equ 00000h
  farPtr GreQueryLogColorTable,seg_QueryLogColorTable,off_QueryLogColorTable
  prm_QueryLogColorTable equ <hdc,flCmd,lStart,clColorData,plColorData,hddc,ulFunN>
  off_CreateLogColorTable equ 060C5h
  seg_CreateLogColorTable equ 00000h
  farPtr GreCreateLogColorTable,seg_CreateLogColorTable,off_CreateLogColorTable
  prm_CreateLogColorTable equ <hdc,flCmd,ulFormat,lStart,clColorData,plColorData,hddc,ulFunN>
  off_RealizeColorTable equ 060C6h
  seg_RealizeColorTable equ 00000h
  farPtr GreRealizeColorTable,seg_RealizeColorTable,off_RealizeColorTable
  prm_RealizeColorTable equ <hdc,hddc,ulFunN>
  off_UnrealizeColorTable equ 060C7h
  seg_UnrealizeColorTable equ 00000h
  farPtr GreUnrealizeColorTable,seg_UnrealizeColorTable,off_UnrealizeColorTable
  prm_UnrealizeColorTable equ <hdc,hddc,ulFunN>
  off_QueryRealColors equ 040C8h
  seg_QueryRealColors equ 00000h
  farPtr GreQueryRealColors,seg_QueryRealColors,off_QueryRealColors
  prm_QueryRealColors equ <hdc,flCmd,lStart,clColorData,plColorData,hddc,ulFunN>
  off_QueryNearestColor equ 040C9h
  seg_QueryNearestColor equ 00000h
  farPtr GreQueryNearestColor,seg_QueryNearestColor,off_QueryNearestColor
  prm_QueryNearestColor equ <hdc,flCmd,clr,hddc,ulFunN>
  off_QueryColorIndex equ 060CAh
  seg_QueryColorIndex equ 00000h
  farPtr GreQueryColorIndex,seg_QueryColorIndex,off_QueryColorIndex
  prm_QueryColorIndex equ <hdc,flCmd,clr,hddc,ulFunN>
  off_QueryRGBColor equ 060CBh
  seg_QueryRGBColor equ 00000h
  farPtr GreQueryRGBColor,seg_QueryRGBColor,off_QueryRGBColor
  prm_QueryRGBColor equ <hdc,flCmd,clr,hddc,ulFunN>
endif
ifdef INCL_GRE_DEVICE
  off_QueryDeviceBitmaps equ 040D0h
  seg_QueryDeviceBitmaps equ 00000h
  farPtr GreQueryDeviceBitmaps,seg_QueryDeviceBitmaps,off_QueryDeviceBitmaps
  prm_QueryDeviceBitmaps equ <hdc,pbmf,clBitmapFormats,hddc,ulFunN>
  off_QueryDeviceCaps equ 040D1h
  seg_QueryDeviceCaps equ 00000h
  farPtr GreQueryDeviceCaps,seg_QueryDeviceCaps,off_QueryDeviceCaps
  prm_QueryDeviceCaps equ <hdc,lIndex,plData,clData,hddc,ulFunN>
  off_Escape equ 040D2h
  seg_Escape equ 00000h
  farPtr GreEscape,seg_Escape,off_Escape
  prm_Escape equ <hdc,lCmd,cbIn,pbIn,pcbOut,pbOut,hddc,ulFunN>
  off_QueryHardcopyCaps equ 040D3h
  seg_QueryHardcopyCaps equ 00000h
  farPtr GreQueryHardcopyCaps,seg_QueryHardcopyCaps,off_QueryHardcopyCaps
  prm_QueryHardcopyCaps equ <hdc,lStart,chci,phci,hddc,ulFunN>
  off_QueryDevResource2 equ 040D4h
  seg_QueryDevResource2 equ 00000h
  farPtr GreQueryDevResource2,seg_QueryDevResource2,off_QueryDevResource2
  prm_QueryDevResource2 equ <hdc,ulType,idRes,hddc,ulFunN>
endif
ifdef INCL_GRE_SCREEN
  off_OpenScreenChangeArea equ 04012h
  seg_OpenScreenChangeArea equ 00000h
  farPtr GreOpenScreenChangeArea,seg_OpenScreenChangeArea,off_OpenScreenChangeArea
  prm_OpenScreenChangeArea equ <hdc,hddc,ulFunN>
  off_GetScreenChangeArea equ 04013h
  seg_GetScreenChangeArea equ 00000h
  farPtr GreGetScreenChangeArea,seg_GetScreenChangeArea,off_GetScreenChangeArea
  prm_GetScreenChangeArea equ <hdc,hSCA,pHrgn,hddc,ulFunN>
  off_CloseScreenChangeArea equ 04014h
  seg_CloseScreenChangeArea equ 00000h
  farPtr GreCloseScreenChangeArea,seg_CloseScreenChangeArea,off_CloseScreenChangeArea
  prm_CloseScreenChangeArea equ <hdc,hSCA,hddc,ulFunN>
  off_GetScreenBits equ 0401Dh
  seg_GetScreenBits equ 00000h
  farPtr GreGetScreenBits,seg_GetScreenBits,off_GetScreenBits
  prm_GetScreenBits equ <hdc,hrgn,pDest,pulLength,flCmd,hddc,ulFunN>
  off_SetScreenBits equ 0401Eh
  seg_SetScreenBits equ 00000h
  farPtr GreSetScreenBits,seg_SetScreenBits,off_SetScreenBits
  prm_SetScreenBits equ <hdc,pSrc,ulLength,hrgn,hddc,ulFunN>
endif
ifdef INCL_GRE_PALETTE
  off_DeviceCreatePalette equ 040D5h
  seg_DeviceCreatePalette equ 00000h
  farPtr GreDeviceCreatePalette,seg_DeviceCreatePalette,off_DeviceCreatePalette
  prm_DeviceCreatePalette equ <hdc,ppalinfo,hdevpal,hddc,ulFunN>
  off_DeviceDeletePalette equ 040D6h
  seg_DeviceDeletePalette equ 00000h
  farPtr GreDeviceDeletePalette,seg_DeviceDeletePalette,off_DeviceDeletePalette
  prm_DeviceDeletePalette equ <hdc,hdevpal,hddc,ulFunN>
  off_DeviceSetPaletteEntries equ 040D7h
  seg_DeviceSetPaletteEntries equ 00000h
  farPtr GreDeviceSetPaletteEntries,seg_DeviceSetPaletteEntries,off_DeviceSetPaletteEntries
  prm_DeviceSetPaletteEntries equ <hdc,hdevpal,ulFormat,ulStart,cclr,pclr,hddc,ulFunN>
  off_DeviceAnimatePalette equ 040D8h
  seg_DeviceAnimatePalette equ 00000h
  farPtr GreDeviceAnimatePalette,seg_DeviceAnimatePalette,off_DeviceAnimatePalette
  prm_DeviceAnimatePalette equ <hdc,hdevpal,ulFormat,ulStart,cclr,pclr,hddc,ulFunN>
  off_DeviceResizePalette equ 040D9h
  seg_DeviceResizePalette equ 00000h
  farPtr GreDeviceResizePalette,seg_DeviceResizePalette,off_DeviceResizePalette
  prm_DeviceResizePalette equ <hdc,hdevpal,cclr,hddc,ulFunN>
  off_RealizePalette equ 040DAh
  seg_RealizePalette equ 00000h
  farPtr GreRealizePalette,seg_RealizePalette,off_RealizePalette
  prm_RealizePalette equ <hdc,flType,pcclr,hddc,ulFunN>
  off_QueryHWPaletteInfo equ 040DBh
  seg_QueryHWPaletteInfo equ 00000h
  farPtr GreQueryHWPaletteInfo,seg_QueryHWPaletteInfo,off_QueryHWPaletteInfo
  prm_QueryHWPaletteInfo equ <hdc,ulStart,cclr,pclr,hddc,ulFunN>
  off_UpdateColors equ 040DCh
  seg_UpdateColors equ 00000h
  farPtr GreUpdateColors,seg_UpdateColors,off_UpdateColors
  prm_UpdateColors equ <hdc,hddc,ulFunN>
  off_QueryPaletteRealization equ 040DDh
  seg_QueryPaletteRealization equ 00000h
  farPtr GreQueryPaletteRealization,seg_QueryPaletteRealization,off_QueryPaletteRealization
  prm_QueryPaletteRealization equ <hdc,ulStart,cclr,pulTable,hddc,ulFunN>
  off_GetVisRects equ 040DEh
  seg_GetVisRects equ 00000h
  farPtr GreGetVisRects,seg_GetVisRects,off_GetVisRects
  prm_GetVisRects equ <hdc,prclBounds,prgnrc,prclVis,hddc,ulFunN>
endif
ifdef INCL_GRE_DCS
  off_OpenDC equ 00200h
  seg_OpenDC equ 00000h
  farPtr GreOpenDC,seg_OpenDC,off_OpenDC
  prm_OpenDC equ <hdc,ulType,pszToken,cszDevOpenData,pszDevOpenData,hddc,ulFunN>
  off_CloseDC equ 04201h
  seg_CloseDC equ 00000h
  farPtr GreCloseDC,seg_CloseDC,off_CloseDC
  prm_CloseDC equ <hdc,hddc,ulFunN>
  off_ResetDC equ 04202h
  seg_ResetDC equ 00000h
  farPtr GreResetDC,seg_ResetDC,off_ResetDC
  prm_ResetDC equ <hdc,flCmd,hddc,ulFunN>
  off_GetHandle equ 04203h
  seg_GetHandle equ 00000h
  farPtr GreGetHandle,seg_GetHandle,off_GetHandle
  prm_GetHandle equ <hdc,ulIndex,hddc,ulFunN>
  off_SetHandle equ 04204h
  seg_SetHandle equ 00000h
  farPtr GreSetHandle,seg_SetHandle,off_SetHandle
  prm_SetHandle equ <hdc,h,ulIndex,hddc,ulFunN>
  off_GetProcessControl equ 04205h
  seg_GetProcessControl equ 00000h
  farPtr GreGetProcessControl,seg_GetProcessControl,off_GetProcessControl
  prm_GetProcessControl equ <hdc,hddc,ulFunN>
  off_SetProcessControl equ 04206h
  seg_SetProcessControl equ 00000h
  farPtr GreSetProcessControl,seg_SetProcessControl,off_SetProcessControl
  prm_SetProcessControl equ <hdc,flMask,flProcess,hddc,ulFunN>
  off_SaveDC equ 04207h
  seg_SaveDC equ 00000h
  farPtr GreSaveDC,seg_SaveDC,off_SaveDC
  prm_SaveDC equ <hdc,hddc,ulFunN>
  off_RestoreDC equ 04208h
  seg_RestoreDC equ 00000h
  farPtr GreRestoreDC,seg_RestoreDC,off_RestoreDC
  prm_RestoreDC equ <hdc,cSaveLevel,hddc,ulFunN>
  off_QueryDeviceNames equ 00209h
  seg_QueryDeviceNames equ 00000h
  farPtr GreQueryDeviceNames,seg_QueryDeviceNames,off_QueryDeviceNames
  prm_QueryDeviceNames equ <pszDriverName,pcszDevices,pszDeviceNames,pszDeviceDescs,pcszDataTypes,pszDataTypes,hddc,ulFunN>
  off_QueryEngineVersion equ 0020Ah
  seg_QueryEngineVersion equ 00000h
  farPtr GreQueryEngineVersion,seg_QueryEngineVersion,off_QueryEngineVersion
  prm_QueryEngineVersion equ <hddc,ulFunN>
  off_SetDCOwner equ 0420Bh
  seg_SetDCOwner equ 00000h
  farPtr GreSetDCOwner,seg_SetDCOwner,off_SetDCOwner
  prm_SetDCOwner equ <hdc,pid,hddc,ulFunN>
endif
ifdef INCL_GRE_DEVSUPPORT
  off_QueryBitmapSelection equ 0020Ch
  seg_QueryBitmapSelection equ 00000h
  farPtr GreQueryBitmapSelection,seg_QueryBitmapSelection,off_QueryBitmapSelection
  prm_QueryBitmapSelection equ <hbm,hddc,ulFunN>
  off_GetBitmapInfoHeader equ 0020Dh
  seg_GetBitmapInfoHeader equ 00000h
  farPtr GreGetBitmapInfoHeader,seg_GetBitmapInfoHeader,off_GetBitmapInfoHeader
  prm_GetBitmapInfoHeader equ <hbm,pbmp2,hddc,ulFunN>
  off_ConvertBitmapData equ 0420Eh
  seg_ConvertBitmapData equ 00000h
  farPtr GreConvertBitmapData,seg_ConvertBitmapData,off_ConvertBitmapData
  prm_ConvertBitmapData equ <hdc,ulCmd,ulOption,pbmiSrc,pbBitsSrc,pbmiDst,pbBitsDst,hddc,ulFunN>
  off_InvalidateVisRegion equ 0420Fh
  seg_InvalidateVisRegion equ 00000h
  farPtr GreInvalidateVisRegion,seg_InvalidateVisRegion,off_InvalidateVisRegion
  prm_InvalidateVisRegion equ <hdc,civr,pivr,hddc,ulFunN>
  off_CreateBitmap equ 04210h
  seg_CreateBitmap equ 00000h
  farPtr GreCreateBitmap,seg_CreateBitmap,off_CreateBitmap
  prm_CreateBitmap equ <hdc,pbmih,flCmd,pbBits,pbmi,hddc,ulFunN>
  off_DeleteBitmap equ 00211h
  seg_DeleteBitmap equ 00000h
  farPtr GreDeleteBitmap,seg_DeleteBitmap,off_DeleteBitmap
  prm_DeleteBitmap equ <hbm,hddc,ulFunN>
  off_SelectBitmap equ 04212h
  seg_SelectBitmap equ 00000h
  farPtr GreSelectBitmap,seg_SelectBitmap,off_SelectBitmap
  prm_SelectBitmap equ <hdc,hbm,hddc,ulFunN>
  off_GetBitmapParameters equ 00213h
  seg_GetBitmapParameters equ 00000h
  farPtr GreGetBitmapParameters,seg_GetBitmapParameters,off_GetBitmapParameters
  prm_GetBitmapParameters equ <hbm,pbmih,hddc,ulFunN>
  off_GetBitmapDimension equ 00214h
  seg_GetBitmapDimension equ 00000h
  farPtr GreGetBitmapDimension,seg_GetBitmapDimension,off_GetBitmapDimension
  prm_GetBitmapDimension equ <hbm,psizl,hddc,ulFunN>
  off_SetBitmapDimension equ 00215h
  seg_SetBitmapDimension equ 00000h
  farPtr GreSetBitmapDimension,seg_SetBitmapDimension,off_SetBitmapDimension
  prm_SetBitmapDimension equ <hbm,psizl,hddc,ulFunN>
  off_SetCursor equ 04216h
  seg_SetCursor equ 00000h
  farPtr GreSetCursor,seg_SetCursor,off_SetCursor
  prm_SetCursor equ <hdc,pptlHotSpot,hbm,hddc,ulFunN>
  off_GetAttributes equ 04217h
  seg_GetAttributes equ 00000h
  farPtr GreGetAttributes,seg_GetAttributes,off_GetAttributes
  prm_GetAttributes equ <hdc,ulType,flAttrs,pBundle,hddc,ulFunN>
  off_SetAttributes equ 04218h
  seg_SetAttributes equ 00000h
  farPtr GreSetAttributes,seg_SetAttributes,off_SetAttributes
  prm_SetAttributes equ <hdc,ulType,flDefs,flAttrs,pBundle,hddc,ulFunN>
  off_SetGlobalAttribute equ 04219h
  seg_SetGlobalAttribute equ 00000h
  farPtr GreSetGlobalAttribute,seg_SetGlobalAttribute,off_SetGlobalAttribute
  prm_SetGlobalAttribute equ <hdc,ulType,ulAttr,flCmd,hddc,ulFunN>
  off_SetBitmapOwner equ 0021Ah
  seg_SetBitmapOwner equ 00000h
  farPtr GreSetBitmapOwner,seg_SetBitmapOwner,off_SetBitmapOwner
  prm_SetBitmapOwner equ <hbm,pid,hddc,ulFunN>
  off_GetDefaultAttributes equ 0421Bh
  seg_GetDefaultAttributes equ 00000h
  farPtr GreGetDefaultAttributes,seg_GetDefaultAttributes,off_GetDefaultAttributes
  prm_GetDefaultAttributes equ <hdc,ulType,flAttrs,pBundle,hddc,ulFunN>
  off_SetDefaultAttributes equ 0421Ch
  seg_SetDefaultAttributes equ 00000h
  farPtr GreSetDefaultAttributes,seg_SetDefaultAttributes,off_SetDefaultAttributes
  prm_SetDefaultAttributes equ <hdc,ulType,flAttrs,pBundle,hddc,ulFunN>
  off_GetDefaultArcParameters equ 0421Dh
  seg_GetDefaultArcParameters equ 00000h
  farPtr GreGetDefaultArcParameters,seg_GetDefaultArcParameters,off_GetDefaultArcParameters
  prm_GetDefaultArcParameters equ <hdc,parcp,hddc,ulFunN>
  off_SetDefaultArcParameters equ 0421Eh
  seg_SetDefaultArcParameters equ 00000h
  farPtr GreSetDefaultArcParameters,seg_SetDefaultArcParameters,off_SetDefaultArcParameters
  prm_SetDefaultArcParameters equ <hdc,parcp,hddc,ulFunN>
  off_GetDefaultViewingLimits equ 0421Fh
  seg_GetDefaultViewingLimits equ 00000h
  farPtr GreGetDefaultViewingLimits,seg_GetDefaultViewingLimits,off_GetDefaultViewingLimits
  prm_GetDefaultViewingLimits equ <hdc,prcl,hddc,ulFunN>
  off_SetDefaultViewingLimits equ 04220h
  seg_SetDefaultViewingLimits equ 00000h
  farPtr GreSetDefaultViewingLimits,seg_SetDefaultViewingLimits,off_SetDefaultViewingLimits
  prm_SetDefaultViewingLimits equ <hdc,prcl,hddc,ulFunN>
  off_InitializeAttributes equ 04221h
  seg_InitializeAttributes equ 00000h
  farPtr GreInitializeAttributes,seg_InitializeAttributes,off_InitializeAttributes
  prm_InitializeAttributes equ <hdc,flCmd,hddc,ulFunN>
endif
ifdef INCL_GRE_SETID
  off_DeleteSetId equ 04222h
  seg_DeleteSetId equ 00000h
  farPtr GreDeleteSetId,seg_DeleteSetId,off_DeleteSetId
  prm_DeleteSetId equ <hdc,lcid,hddc,ulFunN>
  off_QueryNumberSetIds equ 04223h
  seg_QueryNumberSetIds equ 00000h
  farPtr GreQueryNumberSetIds,seg_QueryNumberSetIds,off_QueryNumberSetIds
  prm_QueryNumberSetIds equ <hdc,ulLcidRange,hddc,ulFunN>
  off_QuerySetIds equ 04224h
  seg_QuerySetIds equ 00000h
  farPtr GreQuerySetIds,seg_QuerySetIds,off_QuerySetIds
  prm_QuerySetIds equ <hdc,clcid,plTypes,pchNames,plcid,ulLcidRange,hddc,ulFunN>
endif
ifdef INCL_GRE_LCID
  off_QueryBitmapHandle equ 04225h
  seg_QueryBitmapHandle equ 00000h
  farPtr GreQueryBitmapHandle,seg_QueryBitmapHandle,off_QueryBitmapHandle
  prm_QueryBitmapHandle equ <hdc,lcid,hddc,ulFunN>
  off_SetBitmapID equ 04226h
  seg_SetBitmapID equ 00000h
  farPtr GreSetBitmapID,seg_SetBitmapID,off_SetBitmapID
  prm_SetBitmapID equ <hdc,hbm,lcid,hddc,ulFunN>
  off_CopyDCLoadData equ 04227h
  seg_CopyDCLoadData equ 00000h
  farPtr GreCopyDCLoadData,seg_CopyDCLoadData,off_CopyDCLoadData
  prm_CopyDCLoadData equ <hdc,flCmd,hdcSrc,hddc,ulFunN>
endif
ifdef INCL_GRE_SETID
  off_QuerySetIdUsage equ 04228h
  seg_QuerySetIdUsage equ 00000h
  farPtr GreQuerySetIdUsage,seg_QuerySetIdUsage,off_QuerySetIdUsage
  prm_QuerySetIdUsage equ <hdc,lcid,hddc,ulFunN>
endif
ifdef INCL_GRE_FONTS
  off_QueryLogicalFont equ 0422Ch
  seg_QueryLogicalFont equ 00000h
  farPtr GreQueryLogicalFont,seg_QueryLogicalFont,off_QueryLogicalFont
  prm_QueryLogicalFont equ <hdc,lcid,pchName,pfat,cbFontAttrs,hddc,ulFunN>
  off_CreateLogicalFont equ 0422Dh
  seg_CreateLogicalFont equ 00000h
  farPtr GreCreateLogicalFont,seg_CreateLogicalFont,off_CreateLogicalFont
  prm_CreateLogicalFont equ <hdc,lcid,pchName,pfat,hddc,ulFunN>
  off_LoadFont equ 0022Eh
  seg_LoadFont equ 00000h
  farPtr GreLoadFont,seg_LoadFont,off_LoadFont
  prm_LoadFont equ <pszFileName,hddc,ulFunN>
  off_UnloadFont equ 0022Fh
  seg_UnloadFont equ 00000h
  farPtr GreUnloadFont,seg_UnloadFont,off_UnloadFont
  prm_UnloadFont equ <pszFileName,hddc,ulFunN>
  off_QueryFonts equ 04230h
  seg_QueryFonts equ 00000h
  farPtr GreQueryFonts,seg_QueryFonts,off_QueryFonts
  prm_QueryFonts equ <hdc,flCmd,pszFaceName,pfm,cbFontMetrics,pcFonts,hddc,ulFunN>
  off_QueryFontAttributes equ 04231h
  seg_QueryFontAttributes equ 00000h
  farPtr GreQueryFontAttributes,seg_QueryFontAttributes,off_QueryFontAttributes
  prm_QueryFontAttributes equ <hdc,cbFontMetrics,pfm,hddc,ulFunN>
  off_InstallIFI equ 00232h
  seg_InstallIFI equ 00000h
  farPtr GreInstallIFI,seg_InstallIFI,off_InstallIFI
  prm_InstallIFI equ <ulOptions,pszSrc,pszDestDir,pszName,hddc,ulFunN>
  off_LoadPublicFont equ 00233h
  seg_LoadPublicFont equ 00000h
  farPtr GreLoadPublicFont,seg_LoadPublicFont,off_LoadPublicFont
  prm_LoadPublicFont equ <pszFileName,hddc,ulFunN>
  off_UnLoadPublicFont equ 00234h
  seg_UnLoadPublicFont equ 00000h
  farPtr GreUnLoadPublicFont,seg_UnLoadPublicFont,off_UnLoadPublicFont
  prm_UnLoadPublicFont equ <pszFileName,hddc,ulFunN>
  off_QueryCodePageVector equ 00235h
  seg_QueryCodePageVector equ 00000h
  farPtr GreQueryCodePageVector,seg_QueryCodePageVector,off_QueryCodePageVector
  prm_QueryCodePageVector equ <idCP,hddc,ulFunN>
  off_QueryFontFileDescriptions equ 00236h
  seg_QueryFontFileDescriptions equ 00000h
  farPtr GreQueryFontFileDescriptions,seg_QueryFontFileDescriptions,off_QueryFontFileDescriptions
  prm_QueryFontFileDescriptions equ <pszFileName,pcFonts,pffdescs,hddc,ulFunN>
  off_QueryFaceString equ 04237h
  seg_QueryFaceString equ 00000h
  farPtr GreQueryFaceString,seg_QueryFaceString,off_QueryFaceString
  prm_QueryFaceString equ <hdc,pFaceName,pQFSAttrs,cbFontName,pFontName,hddc,ulFunN>
  off_QueryFontAction equ 00238h
  seg_QueryFontAction equ 00000h
  farPtr GreQueryFontAction,seg_QueryFontAction,off_QueryFontAction
  prm_QueryFontAction equ <flOptions,hddc,ulFunN>
endif
ifdef INCL_GRE_JOURNALING
  off_AccumulateJournalFile equ 00239h
  seg_AccumulateJournalFile equ 00000h
  farPtr GreAccumulateJournalFile,seg_AccumulateJournalFile,off_AccumulateJournalFile
  prm_AccumulateJournalFile equ <?,hddc,ulFunN>
  off_CreateJournalFile equ 0023Ah
  seg_CreateJournalFile equ 00000h
  farPtr GreCreateJournalFile,seg_CreateJournalFile,off_CreateJournalFile
  prm_CreateJournalFile equ <pszFileName,flCmd,cbBufSize,hddc,ulFunN>
  off_DeleteJournalFile equ 0023Bh
  seg_DeleteJournalFile equ 00000h
  farPtr GreDeleteJournalFile,seg_DeleteJournalFile,off_DeleteJournalFile
  prm_DeleteJournalFile equ <hfile,hddc,ulFunN>
  off_StartJournalFile equ 0023Ch
  seg_StartJournalFile equ 00000h
  farPtr GreStartJournalFile,seg_StartJournalFile,off_StartJournalFile
  prm_StartJournalFile equ <hdc,hfile,hddc,ulFunN>
  off_StopJournalFile equ 0023Dh
  seg_StopJournalFile equ 00000h
  farPtr GreStopJournalFile,seg_StopJournalFile,off_StopJournalFile
  prm_StopJournalFile equ <hdc,hfile,hddc,ulFunN>
  off_PlayJournalFile equ 0023Eh
  seg_PlayJournalFile equ 00000h
  farPtr GrePlayJournalFile,seg_PlayJournalFile,off_PlayJournalFile
  prm_PlayJournalFile equ <hdc,hfile,hddc,ulFunN>
  off_OpenJournalFile equ 0023Fh
  seg_OpenJournalFile equ 00000h
  farPtr GreOpenJournalFile,seg_OpenJournalFile,off_OpenJournalFile
  prm_OpenJournalFile equ <pszFileName,flCmd,cbBufSize,hddc,ulFunN>
endif
ifdef INCL_GRE_PALETTE
  off_CreatePalette equ 00240h
  seg_CreatePalette equ 00000h
  farPtr GreCreatePalette,seg_CreatePalette,off_CreatePalette
  prm_CreatePalette equ <flCmd,ulFormat,cclr,pclr,hddc,ulFunN>
  off_DeletePalette equ 00241h
  seg_DeletePalette equ 00000h
  farPtr GreDeletePalette,seg_DeletePalette,off_DeletePalette
  prm_DeletePalette equ <hpal,hddc,ulFunN>
  off_SelectPalette equ 04242h
  seg_SelectPalette equ 00000h
  farPtr GreSelectPalette,seg_SelectPalette,off_SelectPalette
  prm_SelectPalette equ <hdc,hpal,hddc,ulFunN>
  off_SetPaletteEntries equ 00243h
  seg_SetPaletteEntries equ 00000h
  farPtr GreSetPaletteEntries,seg_SetPaletteEntries,off_SetPaletteEntries
  prm_SetPaletteEntries equ <hpal,ulFormat,ulStart,cclr,pclr,hddc,ulFunN>
  off_AnimatePalette equ 00244h
  seg_AnimatePalette equ 00000h
  farPtr GreAnimatePalette,seg_AnimatePalette,off_AnimatePalette
  prm_AnimatePalette equ <hpal,ulFormat,ulStart,cclr,pclr,hddc,ulFunN>
  off_QueryPalette equ 04245h
  seg_QueryPalette equ 00000h
  farPtr GreQueryPalette,seg_QueryPalette,off_QueryPalette
  prm_QueryPalette equ <hdc,hddc,ulFunN>
  off_QueryPaletteInfo equ 00246h
  seg_QueryPaletteInfo equ 00000h
  farPtr GreQueryPaletteInfo,seg_QueryPaletteInfo,off_QueryPaletteInfo
  prm_QueryPaletteInfo equ <hpal,ulOptions,ulStart,cclr,pclr,hddc,ulFunN>
  off_SetPaletteOwner equ 00247h
  seg_SetPaletteOwner equ 00000h
  farPtr GreSetPaletteOwner,seg_SetPaletteOwner,off_SetPaletteOwner
  prm_SetPaletteOwner equ <hpal,pid,hddc,ulFunN>
  off_ResizePalette equ 00248h
  seg_ResizePalette equ 00000h
  farPtr GreResizePalette,seg_ResizePalette,off_ResizePalette
  prm_ResizePalette equ <hpal,cclr,hddc,ulFunN>
  off_QueryDefaultPaletteInfo equ 04249h
  seg_QueryDefaultPaletteInfo equ 00000h
  farPtr GreQueryDefaultPaletteInfo,seg_QueryDefaultPaletteInfo,off_QueryDefaultPaletteInfo
  prm_QueryDefaultPaletteInfo equ <hdc,flCmd,ulStart,cclr,pclr,hddc,ulFunN>
endif
ifdef INCL_GRE_HFONT
  off_CreateFontHandle equ 00250h
  seg_CreateFontHandle equ 00000h
  farPtr GreCreateFontHandle,seg_CreateFontHandle,off_CreateFontHandle
  prm_CreateFontHandle equ <flOptions,pchName,pfat,hddc,ulFunN>
  off_QueryFontHandle equ 00251h
  seg_QueryFontHandle equ 00000h
  farPtr GreQueryFontHandle,seg_QueryFontHandle,off_QueryFontHandle
  prm_QueryFontHandle equ <hfont,pflOptions,pchName,pfat,cbFontAttrs,hddc,ulFunN>
  off_SelectFontHandle equ 04252h
  seg_SelectFontHandle equ 00000h
  farPtr GreSelectFontHandle,seg_SelectFontHandle,off_SelectFontHandle
  prm_SelectFontHandle equ <hdc,hfont,hddc,ulFunN>
  off_DeleteFontHandle equ 00253h
  seg_DeleteFontHandle equ 00000h
  farPtr GreDeleteFontHandle,seg_DeleteFontHandle,off_DeleteFontHandle
  prm_DeleteFontHandle equ <hfont,hddc,ulFunN>
  off_SetFontHandleOwner equ 00254h
  seg_SetFontHandleOwner equ 00000h
  farPtr GreSetFontHandleOwner,seg_SetFontHandleOwner,off_SetFontHandleOwner
  prm_SetFontHandleOwner equ <hfont,pid,hddc,ulFunN>
endif
