;
; GDI32 API definitions for NASM.
;
; (C) G-RoM in 1999/2002

Extern _AbortDoc@4
Extern _AbortPath@4
Extern _AddFontResourceA@4
Extern _AddFontResourceW@4
Extern _AngleArc@24
Extern _AnimatePalette@16
Extern _Arc@36
Extern _ArcTo@36
Extern _BeginPath@4
Extern _BitBlt@36
Extern _CancelDC@4
Extern _CheckColorsInGamut@16
Extern _ChoosePixelFormat@8
Extern _Chord@36
Extern _CloseEnhMetaFile@4
Extern _CloseFigure@4
Extern _CloseMetaFile@4
Extern _ColorMatchToTarget@12
Extern _CombineRgn@16
Extern _CombineTransform@12
Extern _CopyEnhMetaFileA@8
Extern _CopyEnhMetaFileW@8
Extern _CopyMetaFileA@8
Extern _CopyMetaFileW@8
Extern _CreateBitmap@20
Extern _CreateBitmapIndirect@4
Extern _CreateBrushIndirect@4
Extern _CreateColorSpaceA@4
Extern _CreateColorSpaceW@4
Extern _CreateCompatibleBitmap@12
Extern _CreateCompatibleDC@4
Extern _CreateDCA@16
Extern _CreateDCW@16
Extern _CreateDIBPatternBrush@8
Extern _CreateDIBPatternBrushPt@8
Extern _CreateDIBSection@24
Extern _CreateDIBitmap@24
Extern _CreateDiscardableBitmap@12
Extern _CreateEllipticRgn@16
Extern _CreateEllipticRgnIndirect@4
Extern _CreateEnhMetaFileA@16
Extern _CreateEnhMetaFileW@16
Extern _CreateFontA@56
Extern _CreateFontIndirectA@4
Extern _CreateFontIndirectW@4
Extern _CreateFontW@56
Extern _CreateHalftonePalette@4
Extern _CreateHatchBrush@8
Extern _CreateICA@16
Extern _CreateICW@16
Extern _CreateMetaFileA@4
Extern _CreateMetaFileW@4
Extern _CreatePalette@4
Extern _CreatePatternBrush@4
Extern _CreatePen@12
Extern _CreatePenIndirect@4
Extern _CreatePolyPolygonRgn@16
Extern _CreatePolygonRgn@12
Extern _CreateRectRgn@16
Extern _CreateRectRgnIndirect@4
Extern _CreateRoundRectRgn@24
Extern _CreateScalableFontResourceA@16
Extern _CreateScalableFontResourceW@16
Extern _CreateSolidBrush@4
Extern _DPtoLP@12
Extern _DeleteColorSpace@4
Extern _DeleteDC@4
Extern _DeleteEnhMetaFile@4
Extern _DeleteMetaFile@4
Extern _DeleteObject@4
Extern _DescribePixelFormat@16
Extern _DeviceCapabilitiesExA@24
Extern _DeviceCapabilitiesExW@24
Extern _DrawEscape@16
Extern _Ellipse@20
Extern _EndDoc@4
Extern _EndPage@4
Extern _EndPath@4
Extern _EnumEnhMetaFile@20
Extern _EnumFontFamiliesA@16
Extern _EnumFontFamiliesExA@20
Extern _EnumFontFamiliesExW@20
Extern _EnumFontFamiliesW@16
Extern _EnumFontsA@16
Extern _EnumFontsW@16
Extern _EnumICMProfilesA@12
Extern _EnumICMProfilesW@12
Extern _EnumMetaFile@16
Extern _EnumObjects@16
Extern _EqualRgn@8
Extern _Escape@20
Extern _ExcludeClipRect@20
Extern _ExtCreatePen@20
Extern _ExtCreateRegion@12
Extern _ExtEscape@24
Extern _ExtFloodFill@20
Extern _ExtSelectClipRgn@12
Extern _ExtTextOutA@32
Extern _ExtTextOutW@32
Extern _FillPath@4
Extern _FillRgn@12
Extern _FixBrushOrgEx@16
Extern _FlattenPath@4
Extern _FloodFill@16
Extern _FrameRgn@20
Extern _GdiComment@12
Extern _GdiFlush@0
Extern _GdiGetBatchLimit@0
Extern _GdiPlayDCScript@24
Extern _GdiPlayJournal@20
Extern _GdiPlayScript@28
Extern _GdiSetBatchLimit@4
Extern _GetArcDirection@4
Extern _GetAspectRatioFilterEx@8
Extern _GetBitmapBits@12
Extern _GetBitmapDimensionEx@8
Extern _GetBkColor@4
Extern _GetBkMode@4
Extern _GetBoundsRect@12
Extern _GetBrushOrgEx@8
Extern _GetCharABCWidthsA@16
Extern _GetCharABCWidthsFloatA@16
Extern _GetCharABCWidthsFloatW@16
Extern _GetCharABCWidthsW@16
Extern _GetCharWidth32A@16
Extern _GetCharWidth32W@16
Extern _GetCharWidthA@16
Extern _GetCharWidthFloatA@16
Extern _GetCharWidthFloatW@16
Extern _GetCharWidthW@16
Extern _GetCharacterPlacementA@24
Extern _GetCharacterPlacementW@24
Extern _GetClipBox@8
Extern _GetClipRgn@8
Extern _GetColorAdjustment@8
Extern _GetColorSpace@4
Extern _GetCurrentObject@8
Extern _GetCurrentPositionEx@8
Extern _GetDCOrgEx@8
Extern _GetDIBColorTable@16
Extern _GetDIBits@28
Extern _GetDeviceCaps@8
Extern _GetDeviceGammaRamp@8
Extern _GetEnhMetaFileA@4
Extern _GetEnhMetaFileBits@12
Extern _GetEnhMetaFileDescriptionA@12
Extern _GetEnhMetaFileDescriptionW@12
Extern _GetEnhMetaFileHeader@12
Extern _GetEnhMetaFilePaletteEntries@12
Extern _GetEnhMetaFileW@4
Extern _GetFontData@20
Extern _GetFontLanguageInfo@4
;Extern _GetFontResourceInfo@16
Extern _GetFontResourceInfoW@16
Extern _GetGlyphOutline@28
Extern _GetGlyphOutlineA@28
Extern _GetGlyphOutlineW@28
Extern _GetGraphicsMode@4
Extern _GetICMProfileA@12
Extern _GetICMProfileW@12
Extern _GetKerningPairs@12
Extern _GetKerningPairsA@12
Extern _GetKerningPairsW@12
Extern _GetLogColorSpaceA@12
Extern _GetLogColorSpaceW@12
Extern _GetMapMode@4
Extern _GetMetaFileA@4
Extern _GetMetaFileBitsEx@12
Extern _GetMetaFileW@4
Extern _GetMetaRgn@8
Extern _GetMiterLimit@8
Extern _GetNearestColor@8
Extern _GetNearestPaletteIndex@8
Extern _GetObjectA@12
Extern _GetObjectType@4
Extern _GetObjectW@12
Extern _GetOutlineTextMetricsA@12
Extern _GetOutlineTextMetricsW@12
Extern _GetPaletteEntries@16
Extern _GetPath@16
Extern _GetPixel@12
Extern _GetPixelFormat@4
Extern _GetPolyFillMode@4
Extern _GetROP2@4
Extern _GetRandomRgn@12
Extern _GetRasterizerCaps@8
Extern _GetRegionData@12
Extern _GetRelAbs@8
Extern _GetRgnBox@8
Extern _GetStockObject@4
Extern _GetStretchBltMode@4
Extern _GetSystemPaletteEntries@16
Extern _GetSystemPaletteUse@4
Extern _GetTextAlign@4
Extern _GetTextCharacterExtra@4
Extern _GetTextCharset@4
Extern _GetTextColor@4
Extern _GetTextExtentExPointA@28
Extern _GetTextExtentExPointW@28
Extern _GetTextExtentPoint32A@16
Extern _GetTextExtentPoint32W@16
Extern _GetTextExtentPointA@16
Extern _GetTextExtentPointW@16
Extern _GetTextFaceA@12
Extern _GetTextFaceW@12
Extern _GetTextMetricsA@8
Extern _GetTextMetricsW@8
Extern _GetViewportExtEx@8
Extern _GetViewportOrgEx@8
Extern _GetWinMetaFileBits@20
Extern _GetWindowExtEx@8
Extern _GetWindowOrgEx@8
Extern _GetWorldTransform@8
Extern _IntersectClipRect@20
Extern _InvertRgn@8
Extern _LPtoDP@12
Extern _LineDDA@24
Extern _LineTo@12
Extern _MaskBlt@48
Extern _ModifyWorldTransform@12
Extern _MoveToEx@16
Extern _OffsetClipRgn@12
Extern _OffsetRgn@12
Extern _OffsetViewportOrgEx@16
Extern _OffsetWindowOrgEx@16
Extern _PaintRgn@8
Extern _PatBlt@24
Extern _PathToRegion@4
Extern _Pie@36
Extern _PlayEnhMetaFile@12
Extern _PlayEnhMetaFileRecord@16
Extern _PlayMetaFile@8
Extern _PlayMetaFileRecord@16
Extern _PlgBlt@40
Extern _PolyBezier@12
Extern _PolyBezierTo@12
Extern _PolyDraw@16
Extern _PolyPolygon@16
Extern _PolyPolyline@16
Extern _PolyTextOutA@12
Extern _PolyTextOutW@12
Extern _Polygon@12
Extern _Polyline@12
Extern _PolylineTo@12
Extern _PtInRegion@12
Extern _PtVisible@12
Extern _RealizePalette@4
Extern _RectInRegion@8
Extern _RectVisible@8
Extern _Rectangle@20
Extern _RemoveFontResourceA@4
Extern _RemoveFontResourceW@4
Extern _ResetDCA@8
Extern _ResetDCW@8
Extern _ResizePalette@8
Extern _RestoreDC@8
Extern _RoundRect@28
Extern _SaveDC@4
Extern _ScaleViewportExtEx@24
Extern _ScaleWindowExtEx@24
Extern _SelectBrushLocal@8
Extern _SelectClipPath@8
Extern _SelectClipRgn@8
Extern _SelectFontLocal@8
Extern _SelectObject@8
Extern _SelectPalette@12
Extern _SetAbortProc@8
Extern _SetArcDirection@8
Extern _SetBitmapBits@12
Extern _SetBitmapDimensionEx@16
Extern _SetBkColor@8
Extern _SetBkMode@8
Extern _SetBoundsRect@12
Extern _SetBrushOrgEx@16
Extern _SetColorAdjustment@8
Extern _SetColorSpace@8
Extern _SetDIBColorTable@16
Extern _SetDIBits@28
Extern _SetDIBitsToDevice@48
Extern _SetDeviceGammaRamp@8
Extern _SetEnhMetaFileBits@8
Extern _SetFontEnumeration@4
Extern _SetGraphicsMode@8
Extern _SetICMMode@8
Extern _SetICMProfileA@8
Extern _SetICMProfileW@8
Extern _SetMapMode@8
Extern _SetMapperFlags@8
Extern _SetMetaFileBitsEx@8
Extern _SetMetaRgn@4
Extern _SetMiterLimit@12
Extern _SetPaletteEntries@16
Extern _SetPixel@16
Extern _SetPixelFormat@12
Extern _SetPixelV@16
Extern _SetPolyFillMode@8
Extern _SetROP2@8
Extern _SetRectRgn@20
Extern _SetRelAbs@8
Extern _SetStretchBltMode@8
Extern _SetSystemPaletteUse@8
Extern _SetTextAlign@8
Extern _SetTextCharacterExtra@8
Extern _SetTextColor@8
Extern _SetTextJustification@12
Extern _SetViewportExtEx@16
Extern _SetViewportOrgEx@16
Extern _SetWinMetaFileBits@16
Extern _SetWindowExtEx@16
Extern _SetWindowOrgEx@16
Extern _SetWorldTransform@8
Extern _StartDocA@8
Extern _StartDocW@8
Extern _StartPage@4
Extern _StretchBlt@44
Extern _StretchDIBits@52
Extern _StrokeAndFillPath@4
Extern _StrokePath@4
Extern _SwapBuffers@4
Extern _TextOutA@20
Extern _TextOutW@20
Extern _UnrealizeObject@4
Extern _UpdateColors@4
Extern _WidenPath@4

%define AbortDoc                             _AbortDoc@4
%define AbortPath                            _AbortPath@4
%define AddFontResourceA                     _AddFontResourceA@4
%define AddFontResourceW                     _AddFontResourceW@4
%define AngleArc                             _AngleArc@24
%define AnimatePalette                       _AnimatePalette@16
%define Arc                                  _Arc@36
%define ArcTo                                _ArcTo@36
%define BeginPath                            _BeginPath@4
%define BitBlt                               _BitBlt@36
%define CancelDC                             _CancelDC@4
%define CheckColorsInGamut                   _CheckColorsInGamut@16
%define ChoosePixelFormat                    _ChoosePixelFormat@8
%define Chord                                _Chord@36
%define CloseEnhMetaFile                     _CloseEnhMetaFile@4
%define CloseFigure                          _CloseFigure@4
%define CloseMetaFile                        _CloseMetaFile@4
%define ColorMatchToTarget                   _ColorMatchToTarget@12
%define CombineRgn                           _CombineRgn@16
%define CombineTransform                     _CombineTransform@12
%define CopyEnhMetaFileA                     _CopyEnhMetaFileA@8
%define CopyEnhMetaFileW                     _CopyEnhMetaFileW@8
%define CopyMetaFileA                        _CopyMetaFileA@8
%define CopyMetaFileW                        _CopyMetaFileW@8
%define CreateBitmap                         _CreateBitmap@20
%define CreateBitmapIndirect                 _CreateBitmapIndirect@4
%define CreateBrushIndirect                  _CreateBrushIndirect@4
%define CreateColorSpaceA                    _CreateColorSpaceA@4
%define CreateColorSpaceW                    _CreateColorSpaceW@4
%define CreateCompatibleBitmap               _CreateCompatibleBitmap@12
%define CreateCompatibleDC                   _CreateCompatibleDC@4
%define CreateDCA                            _CreateDCA@16
%define CreateDCW                            _CreateDCW@16
%define CreateDIBPatternBrush                _CreateDIBPatternBrush@8
%define CreateDIBPatternBrushPt              _CreateDIBPatternBrushPt@8
%define CreateDIBSection                     _CreateDIBSection@24
%define CreateDIBitmap                       _CreateDIBitmap@24
%define CreateDiscardableBitmap              _CreateDiscardableBitmap@12
%define CreateEllipticRgn                    _CreateEllipticRgn@16
%define CreateEllipticRgnIndirect            _CreateEllipticRgnIndirect@4
%define CreateEnhMetaFileA                   _CreateEnhMetaFileA@16
%define CreateEnhMetaFileW                   _CreateEnhMetaFileW@16
%define CreateFontA                          _CreateFontA@56
%define CreateFontIndirectA                  _CreateFontIndirectA@4
%define CreateFontIndirectW                  _CreateFontIndirectW@4
%define CreateFontW                          _CreateFontW@56
%define CreateHalftonePalette                _CreateHalftonePalette@4
%define CreateHatchBrush                     _CreateHatchBrush@8
%define CreateICA                            _CreateICA@16
%define CreateICW                            _CreateICW@16
%define CreateMetaFileA                      _CreateMetaFileA@4
%define CreateMetaFileW                      _CreateMetaFileW@4
%define CreatePalette                        _CreatePalette@4
%define CreatePatternBrush                   _CreatePatternBrush@4
%define CreatePen                            _CreatePen@12
%define CreatePenIndirect                    _CreatePenIndirect@4
%define CreatePolyPolygonRgn                 _CreatePolyPolygonRgn@16
%define CreatePolygonRgn                     _CreatePolygonRgn@12
%define CreateRectRgn                        _CreateRectRgn@16
%define CreateRectRgnIndirect                _CreateRectRgnIndirect@4
%define CreateRoundRectRgn                   _CreateRoundRectRgn@24
%define CreateScalableFontResourceA          _CreateScalableFontResourceA@16
%define CreateScalableFontResourceW          _CreateScalableFontResourceW@16
%define CreateSolidBrush                     _CreateSolidBrush@4
%define DPtoLP                               _DPtoLP@12
%define DeleteColorSpace                     _DeleteColorSpace@4
%define DeleteDC                             _DeleteDC@4
%define DeleteEnhMetaFile                    _DeleteEnhMetaFile@4
%define DeleteMetaFile                       _DeleteMetaFile@4
%define DeleteObject                         _DeleteObject@4
%define DescribePixelFormat                  _DescribePixelFormat@16
%define DeviceCapabilitiesExA                _DeviceCapabilitiesExA@24
%define DeviceCapabilitiesExW                _DeviceCapabilitiesExW@24
%define DrawEscape                           _DrawEscape@16
%define Ellipse                              _Ellipse@20
%define EndDoc                               _EndDoc@4
%define EndPage                              _EndPage@4
%define EndPath                              _EndPath@4
%define EnumEnhMetaFile                      _EnumEnhMetaFile@20
%define EnumFontFamiliesA                    _EnumFontFamiliesA@16
%define EnumFontFamiliesExA                  _EnumFontFamiliesExA@20
%define EnumFontFamiliesExW                  _EnumFontFamiliesExW@20
%define EnumFontFamiliesW                    _EnumFontFamiliesW@16
%define EnumFontsA                           _EnumFontsA@16
%define EnumFontsW                           _EnumFontsW@16
%define EnumICMProfilesA                     _EnumICMProfilesA@12
%define EnumICMProfilesW                     _EnumICMProfilesW@12
%define EnumMetaFile                         _EnumMetaFile@16
%define EnumObjects                          _EnumObjects@16
%define EqualRgn                             _EqualRgn@8
%define Escape                               _Escape@20
%define ExcludeClipRect                      _ExcludeClipRect@20
%define ExtCreatePen                         _ExtCreatePen@20
%define ExtCreateRegion                      _ExtCreateRegion@12
%define ExtEscape                            _ExtEscape@24
%define ExtFloodFill                         _ExtFloodFill@20
%define ExtSelectClipRgn                     _ExtSelectClipRgn@12
%define ExtTextOutA                          _ExtTextOutA@32
%define ExtTextOutW                          _ExtTextOutW@32
%define FillPath                             _FillPath@4
%define FillRgn                              _FillRgn@12
%define FixBrushOrgEx                        _FixBrushOrgEx@16
%define FlattenPath                          _FlattenPath@4
%define FloodFill                            _FloodFill@16
%define FrameRgn                             _FrameRgn@20
%define GdiComment                           _GdiComment@12
%define GdiFlush                             _GdiFlush@0
%define GdiGetBatchLimit                     _GdiGetBatchLimit@0
%define GdiPlayDCScript                      _GdiPlayDCScript@24
%define GdiPlayJournal                       _GdiPlayJournal@20
%define GdiPlayScript                        _GdiPlayScript@28
%define GdiSetBatchLimit                     _GdiSetBatchLimit@4
%define GetArcDirection                      _GetArcDirection@4
%define GetAspectRatioFilterEx               _GetAspectRatioFilterEx@8
%define GetBitmapBits                        _GetBitmapBits@12
%define GetBitmapDimensionEx                 _GetBitmapDimensionEx@8
%define GetBkColor                           _GetBkColor@4
%define GetBkMode                            _GetBkMode@4
%define GetBoundsRect                        _GetBoundsRect@12
%define GetBrushOrgEx                        _GetBrushOrgEx@8
%define GetCharABCWidthsA                    _GetCharABCWidthsA@16
%define GetCharABCWidthsFloatA               _GetCharABCWidthsFloatA@16
%define GetCharABCWidthsFloatW               _GetCharABCWidthsFloatW@16
%define GetCharABCWidthsW                    _GetCharABCWidthsW@16
%define GetCharWidth32A                      _GetCharWidth32A@16
%define GetCharWidth32W                      _GetCharWidth32W@16
%define GetCharWidthA                        _GetCharWidthA@16
%define GetCharWidthFloatA                   _GetCharWidthFloatA@16
%define GetCharWidthFloatW                   _GetCharWidthFloatW@16
%define GetCharWidthW                        _GetCharWidthW@16
%define GetCharacterPlacementA               _GetCharacterPlacementA@24
%define GetCharacterPlacementW               _GetCharacterPlacementW@24
%define GetClipBox                           _GetClipBox@8
%define GetClipRgn                           _GetClipRgn@8
%define GetColorAdjustment                   _GetColorAdjustment@8
%define GetColorSpace                        _GetColorSpace@4
%define GetCurrentObject                     _GetCurrentObject@8
%define GetCurrentPositionEx                 _GetCurrentPositionEx@8
%define GetDCOrgEx                           _GetDCOrgEx@8
%define GetDIBColorTable                     _GetDIBColorTable@16
%define GetDIBits                            _GetDIBits@28
%define GetDeviceCaps                        _GetDeviceCaps@8
%define GetDeviceGammaRamp                   _GetDeviceGammaRamp@8
%define GetEnhMetaFileA                      _GetEnhMetaFileA@4
%define GetEnhMetaFileBits                   _GetEnhMetaFileBits@12
%define GetEnhMetaFileDescriptionA           _GetEnhMetaFileDescriptionA@12
%define GetEnhMetaFileDescriptionW           _GetEnhMetaFileDescriptionW@12
%define GetEnhMetaFileHeader                 _GetEnhMetaFileHeader@12
%define GetEnhMetaFilePaletteEntries         _GetEnhMetaFilePaletteEntries@12
%define GetEnhMetaFileW                      _GetEnhMetaFileW@4
%define GetFontData                          _GetFontData@20
%define GetFontLanguageInfo                  _GetFontLanguageInfo@4
%define GetFontResourceInfoW                 _GetFontResourceInfoW@16
%define GetGlyphOutline                      _GetGlyphOutline@28
%define GetGlyphOutlineA                     _GetGlyphOutlineA@28
%define GetGlyphOutlineW                     _GetGlyphOutlineW@28
%define GetGraphicsMode                      _GetGraphicsMode@4
%define GetICMProfileA                       _GetICMProfileA@12
%define GetICMProfileW                       _GetICMProfileW@12
%define GetKerningPairs                      _GetKerningPairs@12
%define GetKerningPairsA                     _GetKerningPairsA@12
%define GetKerningPairsW                     _GetKerningPairsW@12
%define GetLogColorSpaceA                    _GetLogColorSpaceA@12
%define GetLogColorSpaceW                    _GetLogColorSpaceW@12
%define GetMapMode                           _GetMapMode@4
%define GetMetaFileA                         _GetMetaFileA@4
%define GetMetaFileBitsEx                    _GetMetaFileBitsEx@12
%define GetMetaFileW                         _GetMetaFileW@4
%define GetMetaRgn                           _GetMetaRgn@8
%define GetMiterLimit                        _GetMiterLimit@8
%define GetNearestColor                      _GetNearestColor@8
%define GetNearestPaletteIndex               _GetNearestPaletteIndex@8
%define GetObjectA                           _GetObjectA@12
%define GetObjectType                        _GetObjectType@4
%define GetObjectW                           _GetObjectW@12
%define GetOutlineTextMetricsA               _GetOutlineTextMetricsA@12
%define GetOutlineTextMetricsW               _GetOutlineTextMetricsW@12
%define GetPaletteEntries                    _GetPaletteEntries@16
%define GetPath                              _GetPath@16
%define GetPixel                             _GetPixel@12
%define GetPixelFormat                       _GetPixelFormat@4
%define GetPolyFillMode                      _GetPolyFillMode@4
%define GetROP2                              _GetROP2@4
%define GetRandomRgn                         _GetRandomRgn@12
%define GetRasterizerCaps                    _GetRasterizerCaps@8
%define GetRegionData                        _GetRegionData@12
%define GetRelAbs                            _GetRelAbs@8
%define GetRgnBox                            _GetRgnBox@8
%define GetStockObject                       _GetStockObject@4
%define GetStretchBltMode                    _GetStretchBltMode@4
%define GetSystemPaletteEntries              _GetSystemPaletteEntries@16
%define GetSystemPaletteUse                  _GetSystemPaletteUse@4
%define GetTextAlign                         _GetTextAlign@4
%define GetTextCharacterExtra                _GetTextCharacterExtra@4
%define GetTextCharset                       _GetTextCharset@4
%define GetTextColor                         _GetTextColor@4
%define GetTextExtentExPointA                _GetTextExtentExPointA@28
%define GetTextExtentExPointW                _GetTextExtentExPointW@28
%define GetTextExtentPoint32A                _GetTextExtentPoint32A@16
%define GetTextExtentPoint32W                _GetTextExtentPoint32W@16
%define GetTextExtentPointA                  _GetTextExtentPointA@16
%define GetTextExtentPointW                  _GetTextExtentPointW@16
%define GetTextFaceA                         _GetTextFaceA@12
%define GetTextFaceW                         _GetTextFaceW@12
%define GetTextMetricsA                      _GetTextMetricsA@8
%define GetTextMetricsW                      _GetTextMetricsW@8
%define GetViewportExtEx                     _GetViewportExtEx@8
%define GetViewportOrgEx                     _GetViewportOrgEx@8
%define GetWinMetaFileBits                   _GetWinMetaFileBits@20
%define GetWindowExtEx                       _GetWindowExtEx@8
%define GetWindowOrgEx                       _GetWindowOrgEx@8
%define GetWorldTransform                    _GetWorldTransform@8
%define IntersectClipRect                    _IntersectClipRect@20
%define InvertRgn                            _InvertRgn@8
%define LPtoDP                               _LPtoDP@12
%define LineDDA                              _LineDDA@24
%define LineTo                               _LineTo@12
%define MaskBlt                              _MaskBlt@48
%define ModifyWorldTransform                 _ModifyWorldTransform@12
%define MoveToEx                             _MoveToEx@16
%define OffsetClipRgn                        _OffsetClipRgn@12
%define OffsetRgn                            _OffsetRgn@12
%define OffsetViewportOrgEx                  _OffsetViewportOrgEx@16
%define OffsetWindowOrgEx                    _OffsetWindowOrgEx@16
%define PaintRgn                             _PaintRgn@8
%define PatBlt                               _PatBlt@24
%define PathToRegion                         _PathToRegion@4
%define Pie                                  _Pie@36
%define PlayEnhMetaFile                      _PlayEnhMetaFile@12
%define PlayEnhMetaFileRecord                _PlayEnhMetaFileRecord@16
%define PlayMetaFile                         _PlayMetaFile@8
%define PlayMetaFileRecord                   _PlayMetaFileRecord@16
%define PlgBlt                               _PlgBlt@40
%define PolyBezier                           _PolyBezier@12
%define PolyBezierTo                         _PolyBezierTo@12
%define PolyDraw                             _PolyDraw@16
%define PolyPolygon                          _PolyPolygon@16
%define PolyPolyline                         _PolyPolyline@16
%define PolyTextOutA                         _PolyTextOutA@12
%define PolyTextOutW                         _PolyTextOutW@12
%define Polygon                              _Polygon@12
%define Polyline                             _Polyline@12
%define PolylineTo                           _PolylineTo@12
%define PtInRegion                           _PtInRegion@12
%define PtVisible                            _PtVisible@12
%define RealizePalette                       _RealizePalette@4
%define RectInRegion                         _RectInRegion@8
%define RectVisible                          _RectVisible@8
%define Rectangle                            _Rectangle@20
%define RemoveFontResourceA                  _RemoveFontResourceA@4
%define RemoveFontResourceW                  _RemoveFontResourceW@4
%define ResetDCA                             _ResetDCA@8
%define ResetDCW                             _ResetDCW@8
%define ResizePalette                        _ResizePalette@8
%define RestoreDC                            _RestoreDC@8
%define RoundRect                            _RoundRect@28
%define SaveDC                               _SaveDC@4
%define ScaleViewportExtEx                   _ScaleViewportExtEx@24
%define ScaleWindowExtEx                     _ScaleWindowExtEx@24
%define SelectBrushLocal                     _SelectBrushLocal@8
%define SelectClipPath                       _SelectClipPath@8
%define SelectClipRgn                        _SelectClipRgn@8
%define SelectFontLocal                      _SelectFontLocal@8
%define SelectObject                         _SelectObject@8
%define SelectPalette                        _SelectPalette@12
%define SetAbortProc                         _SetAbortProc@8
%define SetArcDirection                      _SetArcDirection@8
%define SetBitmapBits                        _SetBitmapBits@12
%define SetBitmapDimensionEx                 _SetBitmapDimensionEx@16
%define SetBkColor                           _SetBkColor@8
%define SetBkMode                            _SetBkMode@8
%define SetBoundsRect                        _SetBoundsRect@12
%define SetBrushOrgEx                        _SetBrushOrgEx@16
%define SetColorAdjustment                   _SetColorAdjustment@8
%define SetColorSpace                        _SetColorSpace@8
%define SetDIBColorTable                     _SetDIBColorTable@16
%define SetDIBits                            _SetDIBits@28
%define SetDIBitsToDevice                    _SetDIBitsToDevice@48
%define SetDeviceGammaRamp                   _SetDeviceGammaRamp@8
%define SetEnhMetaFileBits                   _SetEnhMetaFileBits@8
%define SetFontEnumeration                   _SetFontEnumeration@4
%define SetGraphicsMode                      _SetGraphicsMode@8
%define SetICMMode                           _SetICMMode@8
%define SetICMProfileA                       _SetICMProfileA@8
%define SetICMProfileW                       _SetICMProfileW@8
%define SetMapMode                           _SetMapMode@8
%define SetMapperFlags                       _SetMapperFlags@8
%define SetMetaFileBitsEx                    _SetMetaFileBitsEx@8
%define SetMetaRgn                           _SetMetaRgn@4
%define SetMiterLimit                        _SetMiterLimit@12
%define SetPaletteEntries                    _SetPaletteEntries@16
%define SetPixel                             _SetPixel@16
%define SetPixelFormat                       _SetPixelFormat@12
%define SetPixelV                            _SetPixelV@16
%define SetPolyFillMode                      _SetPolyFillMode@8
%define SetROP2                              _SetROP2@8
%define SetRectRgn                           _SetRectRgn@20
%define SetRelAbs                            _SetRelAbs@8
%define SetStretchBltMode                    _SetStretchBltMode@8
%define SetSystemPaletteUse                  _SetSystemPaletteUse@8
%define SetTextAlign                         _SetTextAlign@8
%define SetTextCharacterExtra                _SetTextCharacterExtra@8
%define SetTextColor                         _SetTextColor@8
%define SetTextJustification                 _SetTextJustification@12
%define SetViewportExtEx                     _SetViewportExtEx@16
%define SetViewportOrgEx                     _SetViewportOrgEx@16
%define SetWinMetaFileBits                   _SetWinMetaFileBits@16
%define SetWindowExtEx                       _SetWindowExtEx@16
%define SetWindowOrgEx                       _SetWindowOrgEx@16
%define SetWorldTransform                    _SetWorldTransform@8
%define StartDocA                            _StartDocA@8
%define StartDocW                            _StartDocW@8
%define StartPage                            _StartPage@4
%define StretchBlt                           _StretchBlt@44
%define StretchDIBits                        _StretchDIBits@52
%define StrokeAndFillPath                    _StrokeAndFillPath@4
%define StrokePath                           _StrokePath@4
%define SwapBuffers                          _SwapBuffers@4
%define TextOutA                             _TextOutA@20
%define TextOutW                             _TextOutW@20
%define UnrealizeObject                      _UnrealizeObject@4
%define UpdateColors                         _UpdateColors@4
%define WidenPath                            _WidenPath@4
