; --------------------------------------------------------------------------------------------------
;                            gdi32.inc Copyright The MASM32 SDK 1998-2010
; --------------------------------------------------------------------------------------------------

IFNDEF GDI32_INC
GDI32_INC equ <1>

AbortDoc PROTO STDCALL :DWORD
AbortPath PROTO STDCALL :DWORD
AddFontMemResourceEx PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD

AddFontResourceA PROTO STDCALL :DWORD
IFNDEF __UNICODE__
  AddFontResource equ <AddFontResourceA>
ENDIF

AddFontResourceExA PROTO STDCALL :DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  AddFontResourceEx equ <AddFontResourceExA>
ENDIF

AddFontResourceExW PROTO STDCALL :DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  AddFontResourceEx equ <AddFontResourceExW>
ENDIF

AddFontResourceW PROTO STDCALL :DWORD
IFDEF __UNICODE__
  AddFontResource equ <AddFontResourceW>
ENDIF

AngleArc PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
AnimatePalette PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
Arc PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ArcTo PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
BeginPath PROTO STDCALL :DWORD
BitBlt PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CancelDC PROTO STDCALL :DWORD
CheckColorsInGamut PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
ChoosePixelFormat PROTO STDCALL :DWORD,:DWORD
Chord PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CloseEnhMetaFile PROTO STDCALL :DWORD
CloseFigure PROTO STDCALL :DWORD
CloseMetaFile PROTO STDCALL :DWORD
ColorCorrectPalette PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
ColorMatchToTarget PROTO STDCALL :DWORD,:DWORD,:DWORD
CombineRgn PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
CombineTransform PROTO STDCALL :DWORD,:DWORD,:DWORD

CopyEnhMetaFileA PROTO STDCALL :DWORD,:DWORD
IFNDEF __UNICODE__
  CopyEnhMetaFile equ <CopyEnhMetaFileA>
ENDIF

CopyEnhMetaFileW PROTO STDCALL :DWORD,:DWORD
IFDEF __UNICODE__
  CopyEnhMetaFile equ <CopyEnhMetaFileW>
ENDIF

CopyMetaFileA PROTO STDCALL :DWORD,:DWORD
IFNDEF __UNICODE__
  CopyMetaFile equ <CopyMetaFileA>
ENDIF

CopyMetaFileW PROTO STDCALL :DWORD,:DWORD
IFDEF __UNICODE__
  CopyMetaFile equ <CopyMetaFileW>
ENDIF

CreateBitmap PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CreateBitmapIndirect PROTO STDCALL :DWORD
CreateBrushIndirect PROTO STDCALL :DWORD

CreateColorSpaceA PROTO STDCALL :DWORD
IFNDEF __UNICODE__
  CreateColorSpace equ <CreateColorSpaceA>
ENDIF

CreateColorSpaceW PROTO STDCALL :DWORD
IFDEF __UNICODE__
  CreateColorSpace equ <CreateColorSpaceW>
ENDIF

CreateCompatibleBitmap PROTO STDCALL :DWORD,:DWORD,:DWORD
CreateCompatibleDC PROTO STDCALL :DWORD

CreateDCA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  CreateDC equ <CreateDCA>
ENDIF

CreateDCW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  CreateDC equ <CreateDCW>
ENDIF

CreateDIBPatternBrush PROTO STDCALL :DWORD,:DWORD
CreateDIBPatternBrushPt PROTO STDCALL :DWORD,:DWORD
CreateDIBSection PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CreateDIBitmap PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CreateDiscardableBitmap PROTO STDCALL :DWORD,:DWORD,:DWORD
CreateEllipticRgn PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
CreateEllipticRgnIndirect PROTO STDCALL :DWORD

CreateEnhMetaFileA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  CreateEnhMetaFile equ <CreateEnhMetaFileA>
ENDIF

CreateEnhMetaFileW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  CreateEnhMetaFile equ <CreateEnhMetaFileW>
ENDIF

CreateFontA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  CreateFont equ <CreateFontA>
ENDIF

CreateFontIndirectA PROTO STDCALL :DWORD
IFNDEF __UNICODE__
  CreateFontIndirect equ <CreateFontIndirectA>
ENDIF

CreateFontIndirectExA PROTO STDCALL :DWORD
IFNDEF __UNICODE__
  CreateFontIndirectEx equ <CreateFontIndirectExA>
ENDIF

CreateFontIndirectExW PROTO STDCALL :DWORD
IFDEF __UNICODE__
  CreateFontIndirectEx equ <CreateFontIndirectExW>
ENDIF

CreateFontIndirectW PROTO STDCALL :DWORD
IFDEF __UNICODE__
  CreateFontIndirect equ <CreateFontIndirectW>
ENDIF

CreateFontW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  CreateFont equ <CreateFontW>
ENDIF

CreateHalftonePalette PROTO STDCALL :DWORD
CreateHatchBrush PROTO STDCALL :DWORD,:DWORD

CreateICA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  CreateIC equ <CreateICA>
ENDIF

CreateICW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  CreateIC equ <CreateICW>
ENDIF

CreateMetaFileA PROTO STDCALL :DWORD
IFNDEF __UNICODE__
  CreateMetaFile equ <CreateMetaFileA>
ENDIF

CreateMetaFileW PROTO STDCALL :DWORD
IFDEF __UNICODE__
  CreateMetaFile equ <CreateMetaFileW>
ENDIF

CreatePalette PROTO STDCALL :DWORD
CreatePatternBrush PROTO STDCALL :DWORD
CreatePen PROTO STDCALL :DWORD,:DWORD,:DWORD
CreatePenIndirect PROTO STDCALL :DWORD
CreatePolyPolygonRgn PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
CreatePolygonRgn PROTO STDCALL :DWORD,:DWORD,:DWORD
CreateRectRgn PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
CreateRectRgnIndirect PROTO STDCALL :DWORD
CreateRoundRectRgn PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD

CreateScalableFontResourceA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  CreateScalableFontResource equ <CreateScalableFontResourceA>
ENDIF

CreateScalableFontResourceW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  CreateScalableFontResource equ <CreateScalableFontResourceW>
ENDIF

CreateSolidBrush PROTO STDCALL :DWORD
DPtoLP PROTO STDCALL :DWORD,:DWORD,:DWORD
DeleteColorSpace PROTO STDCALL :DWORD
DeleteDC PROTO STDCALL :DWORD
DeleteEnhMetaFile PROTO STDCALL :DWORD
DeleteMetaFile PROTO STDCALL :DWORD
DeleteObject PROTO STDCALL :DWORD
DescribePixelFormat PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD

DeviceCapabilitiesExA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  DeviceCapabilitiesEx equ <DeviceCapabilitiesExA>
ENDIF

DeviceCapabilitiesExW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  DeviceCapabilitiesEx equ <DeviceCapabilitiesExW>
ENDIF

DrawEscape PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
Ellipse PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
EnableEUDC PROTO STDCALL :DWORD
EndDoc PROTO STDCALL :DWORD
EndFormPage PROTO STDCALL :DWORD
EndPage PROTO STDCALL :DWORD
EndPath PROTO STDCALL :DWORD
EnumEnhMetaFile PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD

EnumFontFamiliesA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  EnumFontFamilies equ <EnumFontFamiliesA>
ENDIF

EnumFontFamiliesExA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  EnumFontFamiliesEx equ <EnumFontFamiliesExA>
ENDIF

EnumFontFamiliesExW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  EnumFontFamiliesEx equ <EnumFontFamiliesExW>
ENDIF

EnumFontFamiliesW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  EnumFontFamilies equ <EnumFontFamiliesW>
ENDIF

EnumFontsA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  EnumFonts equ <EnumFontsA>
ENDIF

EnumFontsW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  EnumFonts equ <EnumFontsW>
ENDIF

EnumICMProfilesA PROTO STDCALL :DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  EnumICMProfiles equ <EnumICMProfilesA>
ENDIF

EnumICMProfilesW PROTO STDCALL :DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  EnumICMProfiles equ <EnumICMProfilesW>
ENDIF

EnumMetaFile PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
EnumObjects PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
EqualRgn PROTO STDCALL :DWORD,:DWORD
Escape PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD

EudcLoadLinkW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  EudcLoadLink equ <EudcLoadLinkW>
ENDIF

EudcUnloadLinkW PROTO STDCALL :DWORD,:DWORD
IFDEF __UNICODE__
  EudcUnloadLink equ <EudcUnloadLinkW>
ENDIF

ExcludeClipRect PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ExtCreatePen PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ExtCreateRegion PROTO STDCALL :DWORD,:DWORD,:DWORD
ExtEscape PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ExtFloodFill PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ExtSelectClipRgn PROTO STDCALL :DWORD,:DWORD,:DWORD

ExtTextOutA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  ExtTextOut equ <ExtTextOutA>
ENDIF

ExtTextOutW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  ExtTextOut equ <ExtTextOutW>
ENDIF

FillPath PROTO STDCALL :DWORD
FillRgn PROTO STDCALL :DWORD,:DWORD,:DWORD
FixBrushOrgEx PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
FlattenPath PROTO STDCALL :DWORD
FloodFill PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
FrameRgn PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
GdiArtificialDecrementDriver PROTO STDCALL :DWORD,:DWORD
GdiComment PROTO STDCALL :DWORD,:DWORD,:DWORD
GdiDeleteSpoolFileHandle PROTO STDCALL :DWORD
GdiEndDocEMF PROTO STDCALL :DWORD
GdiEndPageEMF PROTO STDCALL :DWORD,:DWORD
GdiFlush PROTO STDCALL
GdiGetBatchLimit PROTO STDCALL
GdiGetDC PROTO STDCALL :DWORD
GdiGetDevmodeForPage PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
GdiGetPageCount PROTO STDCALL :DWORD
GdiGetPageHandle PROTO STDCALL :DWORD,:DWORD,:DWORD
GdiGetSpoolFileHandle PROTO STDCALL :DWORD,:DWORD,:DWORD
GdiPlayDCScript PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
GdiPlayEMF PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
GdiPlayJournal PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
GdiPlayPageEMF PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
GdiPlayPrivatePageEMF PROTO STDCALL :DWORD,:DWORD,:DWORD
GdiPlayScript PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
GdiResetDCEMF PROTO STDCALL :DWORD,:DWORD
GdiSetBatchLimit PROTO STDCALL :DWORD
GdiStartDocEMF PROTO STDCALL :DWORD,:DWORD
GdiStartPageEMF PROTO STDCALL :DWORD
GetArcDirection PROTO STDCALL :DWORD
GetAspectRatioFilterEx PROTO STDCALL :DWORD,:DWORD
GetBitmapBits PROTO STDCALL :DWORD,:DWORD,:DWORD
GetBitmapDimensionEx PROTO STDCALL :DWORD,:DWORD
GetBkColor PROTO STDCALL :DWORD
GetBkMode PROTO STDCALL :DWORD
GetBoundsRect PROTO STDCALL :DWORD,:DWORD,:DWORD
GetBrushOrgEx PROTO STDCALL :DWORD,:DWORD

GetCharABCWidthsA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  GetCharABCWidths equ <GetCharABCWidthsA>
ENDIF

GetCharABCWidthsFloatA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  GetCharABCWidthsFloat equ <GetCharABCWidthsFloatA>
ENDIF

GetCharABCWidthsFloatW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  GetCharABCWidthsFloat equ <GetCharABCWidthsFloatW>
ENDIF

GetCharABCWidthsI PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD

GetCharABCWidthsW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  GetCharABCWidths equ <GetCharABCWidthsW>
ENDIF

GetCharWidth32A PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  GetCharWidth32 equ <GetCharWidth32A>
ENDIF

GetCharWidth32W PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  GetCharWidth32 equ <GetCharWidth32W>
ENDIF

GetCharWidthA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  GetCharWidth equ <GetCharWidthA>
ENDIF

GetCharWidthFloatA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  GetCharWidthFloat equ <GetCharWidthFloatA>
ENDIF

GetCharWidthFloatW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  GetCharWidthFloat equ <GetCharWidthFloatW>
ENDIF

GetCharWidthI PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD

GetCharWidthW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  GetCharWidth equ <GetCharWidthW>
ENDIF

GetCharacterPlacementA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  GetCharacterPlacement equ <GetCharacterPlacementA>
ENDIF

GetCharacterPlacementW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  GetCharacterPlacement equ <GetCharacterPlacementW>
ENDIF

GetClipBox PROTO STDCALL :DWORD,:DWORD
GetClipRgn PROTO STDCALL :DWORD,:DWORD
GetColorAdjustment PROTO STDCALL :DWORD,:DWORD
GetColorSpace PROTO STDCALL :DWORD
GetCurrentObject PROTO STDCALL :DWORD,:DWORD
GetCurrentPositionEx PROTO STDCALL :DWORD,:DWORD
GetDCBrushColor PROTO STDCALL :DWORD
GetDCOrgEx PROTO STDCALL :DWORD,:DWORD
GetDCPenColor PROTO STDCALL :DWORD
GetDIBColorTable PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
GetDIBits PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
GetDeviceCaps PROTO STDCALL :DWORD,:DWORD
GetDeviceGammaRamp PROTO STDCALL :DWORD,:DWORD

GetEnhMetaFileA PROTO STDCALL :DWORD
IFNDEF __UNICODE__
  GetEnhMetaFile equ <GetEnhMetaFileA>
ENDIF

GetEnhMetaFileBits PROTO STDCALL :DWORD,:DWORD,:DWORD

GetEnhMetaFileDescriptionA PROTO STDCALL :DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  GetEnhMetaFileDescription equ <GetEnhMetaFileDescriptionA>
ENDIF

GetEnhMetaFileDescriptionW PROTO STDCALL :DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  GetEnhMetaFileDescription equ <GetEnhMetaFileDescriptionW>
ENDIF

GetEnhMetaFileHeader PROTO STDCALL :DWORD,:DWORD,:DWORD
GetEnhMetaFilePaletteEntries PROTO STDCALL :DWORD,:DWORD,:DWORD
GetEnhMetaFilePixelFormat PROTO STDCALL :DWORD,:DWORD,:DWORD

GetEnhMetaFileW PROTO STDCALL :DWORD
IFDEF __UNICODE__
  GetEnhMetaFile equ <GetEnhMetaFileW>
ENDIF

GetFontAssocStatus PROTO STDCALL :DWORD
GetFontData PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
GetFontLanguageInfo PROTO STDCALL :DWORD

GetFontResourceInfoW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  GetFontResourceInfo equ <GetFontResourceInfoW>
ENDIF

GetFontUnicodeRanges PROTO STDCALL :DWORD,:DWORD

GetGlyphIndicesA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  GetGlyphIndices equ <GetGlyphIndicesA>
ENDIF

GetGlyphIndicesW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  GetGlyphIndices equ <GetGlyphIndicesW>
ENDIF


GetGlyphOutlineA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  GetGlyphOutline equ <GetGlyphOutlineA>
ENDIF

GetGlyphOutlineW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  GetGlyphOutline equ <GetGlyphOutlineW>
ENDIF

GetGraphicsMode PROTO STDCALL :DWORD

GetICMProfileA PROTO STDCALL :DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  GetICMProfile equ <GetICMProfileA>
ENDIF

GetICMProfileW PROTO STDCALL :DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  GetICMProfile equ <GetICMProfileW>
ENDIF


GetKerningPairsA PROTO STDCALL :DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  GetKerningPairs equ <GetKerningPairsA>
ENDIF

GetKerningPairsW PROTO STDCALL :DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  GetKerningPairs equ <GetKerningPairsW>
ENDIF

GetLayout PROTO STDCALL :DWORD

GetLogColorSpaceA PROTO STDCALL :DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  GetLogColorSpace equ <GetLogColorSpaceA>
ENDIF

GetLogColorSpaceW PROTO STDCALL :DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  GetLogColorSpace equ <GetLogColorSpaceW>
ENDIF

GetMapMode PROTO STDCALL :DWORD

GetMetaFileA PROTO STDCALL :DWORD
IFNDEF __UNICODE__
  GetMetaFile equ <GetMetaFileA>
ENDIF

GetMetaFileBitsEx PROTO STDCALL :DWORD,:DWORD,:DWORD

GetMetaFileW PROTO STDCALL :DWORD
IFDEF __UNICODE__
  GetMetaFile equ <GetMetaFileW>
ENDIF

GetMetaRgn PROTO STDCALL :DWORD,:DWORD
GetMiterLimit PROTO STDCALL :DWORD,:DWORD
GetNearestColor PROTO STDCALL :DWORD,:DWORD
GetNearestPaletteIndex PROTO STDCALL :DWORD,:DWORD

GetObjectA PROTO STDCALL :DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  GetObject equ <GetObjectA>
ENDIF

GetObjectType PROTO STDCALL :DWORD

GetObjectW PROTO STDCALL :DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  GetObject equ <GetObjectW>
ENDIF

GetOutlineTextMetricsA PROTO STDCALL :DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  GetOutlineTextMetrics equ <GetOutlineTextMetricsA>
ENDIF

GetOutlineTextMetricsW PROTO STDCALL :DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  GetOutlineTextMetrics equ <GetOutlineTextMetricsW>
ENDIF

GetPaletteEntries PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
GetPath PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
GetPixel PROTO STDCALL :DWORD,:DWORD,:DWORD
GetPixelFormat PROTO STDCALL :DWORD
GetPolyFillMode PROTO STDCALL :DWORD
GetROP2 PROTO STDCALL :DWORD
GetRandomRgn PROTO STDCALL :DWORD,:DWORD,:DWORD
GetRasterizerCaps PROTO STDCALL :DWORD,:DWORD
GetRegionData PROTO STDCALL :DWORD,:DWORD,:DWORD
GetRelAbs PROTO STDCALL :DWORD,:DWORD
GetRgnBox PROTO STDCALL :DWORD,:DWORD
GetStockObject PROTO STDCALL :DWORD
GetStretchBltMode PROTO STDCALL :DWORD
GetSystemPaletteEntries PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
GetSystemPaletteUse PROTO STDCALL :DWORD
GetTextAlign PROTO STDCALL :DWORD
GetTextCharacterExtra PROTO STDCALL :DWORD
GetTextCharset PROTO STDCALL :DWORD
GetTextCharsetInfo PROTO STDCALL :DWORD,:DWORD,:DWORD
GetTextColor PROTO STDCALL :DWORD

GetTextExtentExPointA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  GetTextExtentExPoint equ <GetTextExtentExPointA>
ENDIF

GetTextExtentExPointI PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD

GetTextExtentExPointW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  GetTextExtentExPoint equ <GetTextExtentExPointW>
ENDIF

GetTextExtentPoint32A PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  GetTextExtentPoint32 equ <GetTextExtentPoint32A>
ENDIF

GetTextExtentPoint32W PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  GetTextExtentPoint32 equ <GetTextExtentPoint32W>
ENDIF

GetTextExtentPointA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  GetTextExtentPoint equ <GetTextExtentPointA>
ENDIF

GetTextExtentPointI PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD

GetTextExtentPointW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  GetTextExtentPoint equ <GetTextExtentPointW>
ENDIF

GetTextFaceA PROTO STDCALL :DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  GetTextFace equ <GetTextFaceA>
ENDIF

GetTextFaceW PROTO STDCALL :DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  GetTextFace equ <GetTextFaceW>
ENDIF

GetTextMetricsA PROTO STDCALL :DWORD,:DWORD
IFNDEF __UNICODE__
  GetTextMetrics equ <GetTextMetricsA>
ENDIF

GetTextMetricsW PROTO STDCALL :DWORD,:DWORD
IFDEF __UNICODE__
  GetTextMetrics equ <GetTextMetricsW>
ENDIF

GetViewportExtEx PROTO STDCALL :DWORD,:DWORD
GetViewportOrgEx PROTO STDCALL :DWORD,:DWORD
GetWinMetaFileBits PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
GetWindowExtEx PROTO STDCALL :DWORD,:DWORD
GetWindowOrgEx PROTO STDCALL :DWORD,:DWORD
GetWorldTransform PROTO STDCALL :DWORD,:DWORD
IntersectClipRect PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
InvertRgn PROTO STDCALL :DWORD,:DWORD
LPtoDP PROTO STDCALL :DWORD,:DWORD,:DWORD

LineDDA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  LineDD equ <LineDDA>
ENDIF

LineTo PROTO STDCALL :DWORD,:DWORD,:DWORD
MaskBlt PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ModifyWorldTransform PROTO STDCALL :DWORD,:DWORD,:DWORD
MoveToEx PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
OffsetClipRgn PROTO STDCALL :DWORD,:DWORD,:DWORD
OffsetRgn PROTO STDCALL :DWORD,:DWORD,:DWORD
OffsetViewportOrgEx PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
OffsetWindowOrgEx PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
PaintRgn PROTO STDCALL :DWORD,:DWORD
PatBlt PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
PathToRegion PROTO STDCALL :DWORD
Pie PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
PlayEnhMetaFile PROTO STDCALL :DWORD,:DWORD,:DWORD
PlayEnhMetaFileRecord PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
PlayMetaFile PROTO STDCALL :DWORD,:DWORD
PlayMetaFileRecord PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
PlgBlt PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
PolyBezier PROTO STDCALL :DWORD,:DWORD,:DWORD
PolyBezierTo PROTO STDCALL :DWORD,:DWORD,:DWORD
PolyDraw PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
PolyPolygon PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
PolyPolyline PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD

PolyTextOutA PROTO STDCALL :DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  PolyTextOut equ <PolyTextOutA>
ENDIF

PolyTextOutW PROTO STDCALL :DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  PolyTextOut equ <PolyTextOutW>
ENDIF

Polygon PROTO STDCALL :DWORD,:DWORD,:DWORD
Polyline PROTO STDCALL :DWORD,:DWORD,:DWORD
PolylineTo PROTO STDCALL :DWORD,:DWORD,:DWORD
PtInRegion PROTO STDCALL :DWORD,:DWORD,:DWORD
PtVisible PROTO STDCALL :DWORD,:DWORD,:DWORD
RealizePalette PROTO STDCALL :DWORD
RectInRegion PROTO STDCALL :DWORD,:DWORD
RectVisible PROTO STDCALL :DWORD,:DWORD
Rectangle PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
RemoveFontMemResourceEx PROTO STDCALL :DWORD

RemoveFontResourceA PROTO STDCALL :DWORD
IFNDEF __UNICODE__
  RemoveFontResource equ <RemoveFontResourceA>
ENDIF

RemoveFontResourceExA PROTO STDCALL :DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  RemoveFontResourceEx equ <RemoveFontResourceExA>
ENDIF

RemoveFontResourceExW PROTO STDCALL :DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  RemoveFontResourceEx equ <RemoveFontResourceExW>
ENDIF

RemoveFontResourceW PROTO STDCALL :DWORD
IFDEF __UNICODE__
  RemoveFontResource equ <RemoveFontResourceW>
ENDIF

ResetDCA PROTO STDCALL :DWORD,:DWORD
IFNDEF __UNICODE__
  ResetDC equ <ResetDCA>
ENDIF

ResetDCW PROTO STDCALL :DWORD,:DWORD
IFDEF __UNICODE__
  ResetDC equ <ResetDCW>
ENDIF

ResizePalette PROTO STDCALL :DWORD,:DWORD
RestoreDC PROTO STDCALL :DWORD,:DWORD
RoundRect PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
SaveDC PROTO STDCALL :DWORD
ScaleViewportExtEx PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ScaleWindowExtEx PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
SelectBrushLocal PROTO STDCALL :DWORD,:DWORD
SelectClipPath PROTO STDCALL :DWORD,:DWORD
SelectClipRgn PROTO STDCALL :DWORD,:DWORD
SelectFontLocal PROTO STDCALL :DWORD,:DWORD
SelectObject PROTO STDCALL :DWORD,:DWORD
SelectPalette PROTO STDCALL :DWORD,:DWORD,:DWORD
SetAbortProc PROTO STDCALL :DWORD,:DWORD
SetArcDirection PROTO STDCALL :DWORD,:DWORD
SetBitmapBits PROTO STDCALL :DWORD,:DWORD,:DWORD
SetBitmapDimensionEx PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
SetBkColor PROTO STDCALL :DWORD,:DWORD
SetBkMode PROTO STDCALL :DWORD,:DWORD
SetBoundsRect PROTO STDCALL :DWORD,:DWORD,:DWORD
SetBrushOrgEx PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
SetColorAdjustment PROTO STDCALL :DWORD,:DWORD
SetColorSpace PROTO STDCALL :DWORD,:DWORD
SetDCBrushColor PROTO STDCALL :DWORD,:DWORD
SetDCPenColor PROTO STDCALL :DWORD,:DWORD
SetDIBColorTable PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
SetDIBits PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
SetDIBitsToDevice PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
SetDeviceGammaRamp PROTO STDCALL :DWORD,:DWORD
SetEnhMetaFileBits PROTO STDCALL :DWORD,:DWORD
SetFontEnumeration PROTO STDCALL :DWORD
SetGraphicsMode PROTO STDCALL :DWORD,:DWORD
SetICMMode PROTO STDCALL :DWORD,:DWORD

SetICMProfileA PROTO STDCALL :DWORD,:DWORD
IFNDEF __UNICODE__
  SetICMProfile equ <SetICMProfileA>
ENDIF

SetICMProfileW PROTO STDCALL :DWORD,:DWORD
IFDEF __UNICODE__
  SetICMProfile equ <SetICMProfileW>
ENDIF

SetLayout PROTO STDCALL :DWORD,:DWORD
SetMagicColors PROTO STDCALL :DWORD,:DWORD,:DWORD
SetMapMode PROTO STDCALL :DWORD,:DWORD
SetMapperFlags PROTO STDCALL :DWORD,:DWORD
SetMetaFileBitsEx PROTO STDCALL :DWORD,:DWORD
SetMetaRgn PROTO STDCALL :DWORD
SetMiterLimit PROTO STDCALL :DWORD,:DWORD,:DWORD
SetPaletteEntries PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
SetPixel PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
SetPixelFormat PROTO STDCALL :DWORD,:DWORD,:DWORD
SetPixelV PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
SetPolyFillMode PROTO STDCALL :DWORD,:DWORD
SetROP2 PROTO STDCALL :DWORD,:DWORD
SetRectRgn PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
SetRelAbs PROTO STDCALL :DWORD,:DWORD
SetStretchBltMode PROTO STDCALL :DWORD,:DWORD
SetSystemPaletteUse PROTO STDCALL :DWORD,:DWORD
SetTextAlign PROTO STDCALL :DWORD,:DWORD
SetTextCharacterExtra PROTO STDCALL :DWORD,:DWORD
SetTextColor PROTO STDCALL :DWORD,:DWORD
SetTextJustification PROTO STDCALL :DWORD,:DWORD,:DWORD
SetViewportExtEx PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
SetViewportOrgEx PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
SetWinMetaFileBits PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
SetWindowExtEx PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
SetWindowOrgEx PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
SetWorldTransform PROTO STDCALL :DWORD,:DWORD

StartDocA PROTO STDCALL :DWORD,:DWORD
IFNDEF __UNICODE__
  StartDoc equ <StartDocA>
ENDIF

StartDocW PROTO STDCALL :DWORD,:DWORD
IFDEF __UNICODE__
  StartDoc equ <StartDocW>
ENDIF

StartFormPage PROTO STDCALL :DWORD
StartPage PROTO STDCALL :DWORD
StretchBlt PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
StretchDIBits PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
StrokeAndFillPath PROTO STDCALL :DWORD
StrokePath PROTO STDCALL :DWORD
SwapBuffers PROTO STDCALL :DWORD

TextOutA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  TextOut equ <TextOutA>
ENDIF

TextOutW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  TextOut equ <TextOutW>
ENDIF

TranslateCharsetInfo PROTO STDCALL :DWORD,:DWORD,:DWORD
UnrealizeObject PROTO STDCALL :DWORD
UpdateColors PROTO STDCALL :DWORD

UpdateICMRegKeyA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  UpdateICMRegKey equ <UpdateICMRegKeyA>
ENDIF

UpdateICMRegKeyW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  UpdateICMRegKey equ <UpdateICMRegKeyW>
ENDIF

WidenPath PROTO STDCALL :DWORD
gdiPlaySpoolStream PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD

ELSE
  echo ----------------------------------------
  echo WARNING duplicate include file gdi32.inc
  echo ----------------------------------------
ENDIF
