  ; ===========================================
  ; gdi32.inc copyright MASM32 1998 - 2005
  ; ===========================================

IFNDEF GDI32_INC
GDI32_INC equ <1>

AbortDoc PROTO :DWORD
AbortPath PROTO :DWORD
AddFontMemResourceEx PROTO :DWORD,:DWORD,:DWORD,:DWORD
AddFontResourceA PROTO :DWORD
AddFontResource equ <AddFontResourceA>

AddFontResourceExA PROTO :DWORD,:DWORD,:DWORD
AddFontResourceEx equ <AddFontResourceExA>

AddFontResourceExW PROTO :DWORD,:DWORD,:DWORD
AddFontResourceW PROTO :DWORD
AngleArc PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
AnimatePalette PROTO :DWORD,:DWORD,:DWORD,:DWORD
Arc PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ArcTo PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
BeginPath PROTO :DWORD
BitBlt PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CancelDC PROTO :DWORD
CheckColorsInGamut PROTO :DWORD,:DWORD,:DWORD,:DWORD
ChoosePixelFormat PROTO :DWORD,:DWORD
Chord PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CloseEnhMetaFile PROTO :DWORD
CloseFigure PROTO :DWORD
CloseMetaFile PROTO :DWORD
ColorCorrectPalette PROTO :DWORD,:DWORD,:DWORD,:DWORD
ColorMatchToTarget PROTO :DWORD,:DWORD,:DWORD
CombineRgn PROTO :DWORD,:DWORD,:DWORD,:DWORD
CombineTransform PROTO :DWORD,:DWORD,:DWORD
CopyEnhMetaFileA PROTO :DWORD,:DWORD
CopyEnhMetaFile equ <CopyEnhMetaFileA>

CopyEnhMetaFileW PROTO :DWORD,:DWORD
CopyMetaFileA PROTO :DWORD,:DWORD
CopyMetaFile equ <CopyMetaFileA>

CopyMetaFileW PROTO :DWORD,:DWORD
CreateBitmap PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CreateBitmapIndirect PROTO :DWORD
CreateBrushIndirect PROTO :DWORD
CreateColorSpaceA PROTO :DWORD
CreateColorSpace equ <CreateColorSpaceA>

CreateColorSpaceW PROTO :DWORD
CreateCompatibleBitmap PROTO :DWORD,:DWORD,:DWORD
CreateCompatibleDC PROTO :DWORD
CreateDCA PROTO :DWORD,:DWORD,:DWORD,:DWORD
CreateDC equ <CreateDCA>

CreateDCW PROTO :DWORD,:DWORD,:DWORD,:DWORD
CreateDIBPatternBrush PROTO :DWORD,:DWORD
CreateDIBPatternBrushPt PROTO :DWORD,:DWORD
CreateDIBSection PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CreateDIBitmap PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CreateDiscardableBitmap PROTO :DWORD,:DWORD,:DWORD
CreateEllipticRgn PROTO :DWORD,:DWORD,:DWORD,:DWORD
CreateEllipticRgnIndirect PROTO :DWORD
CreateEnhMetaFileA PROTO :DWORD,:DWORD,:DWORD,:DWORD
CreateEnhMetaFile equ <CreateEnhMetaFileA>

CreateEnhMetaFileW PROTO :DWORD,:DWORD,:DWORD,:DWORD
CreateFontA PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CreateFont equ <CreateFontA>

CreateFontIndirectA PROTO :DWORD
CreateFontIndirect equ <CreateFontIndirectA>

CreateFontIndirectExA PROTO :DWORD
CreateFontIndirectEx equ <CreateFontIndirectExA>

CreateFontIndirectExW PROTO :DWORD
CreateFontIndirectW PROTO :DWORD
CreateFontW PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CreateHalftonePalette PROTO :DWORD
CreateHatchBrush PROTO :DWORD,:DWORD
CreateICA PROTO :DWORD,:DWORD,:DWORD,:DWORD
CreateIC equ <CreateICA>

CreateICW PROTO :DWORD,:DWORD,:DWORD,:DWORD
CreateMetaFileA PROTO :DWORD
CreateMetaFile equ <CreateMetaFileA>

CreateMetaFileW PROTO :DWORD
CreatePalette PROTO :DWORD
CreatePatternBrush PROTO :DWORD
CreatePen PROTO :DWORD,:DWORD,:DWORD
CreatePenIndirect PROTO :DWORD
CreatePolyPolygonRgn PROTO :DWORD,:DWORD,:DWORD,:DWORD
CreatePolygonRgn PROTO :DWORD,:DWORD,:DWORD
CreateRectRgn PROTO :DWORD,:DWORD,:DWORD,:DWORD
CreateRectRgnIndirect PROTO :DWORD
CreateRoundRectRgn PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CreateScalableFontResourceA PROTO :DWORD,:DWORD,:DWORD,:DWORD
CreateScalableFontResource equ <CreateScalableFontResourceA>

CreateScalableFontResourceW PROTO :DWORD,:DWORD,:DWORD,:DWORD
CreateSolidBrush PROTO :DWORD
DPtoLP PROTO :DWORD,:DWORD,:DWORD
DeleteColorSpace PROTO :DWORD
DeleteDC PROTO :DWORD
DeleteEnhMetaFile PROTO :DWORD
DeleteMetaFile PROTO :DWORD
DeleteObject PROTO :DWORD
DescribePixelFormat PROTO :DWORD,:DWORD,:DWORD,:DWORD
DeviceCapabilitiesExA PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DeviceCapabilitiesEx equ <DeviceCapabilitiesExA>

DeviceCapabilitiesExW PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DrawEscape PROTO :DWORD,:DWORD,:DWORD,:DWORD
Ellipse PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
EnableEUDC PROTO :DWORD
EndDoc PROTO :DWORD
EndFormPage PROTO :DWORD
EndPage PROTO :DWORD
EndPath PROTO :DWORD
EnumEnhMetaFile PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
EnumFontFamiliesA PROTO :DWORD,:DWORD,:DWORD,:DWORD
EnumFontFamilies equ <EnumFontFamiliesA>

EnumFontFamiliesExA PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
EnumFontFamiliesEx equ <EnumFontFamiliesExA>

EnumFontFamiliesExW PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
EnumFontFamiliesW PROTO :DWORD,:DWORD,:DWORD,:DWORD
EnumFontsA PROTO :DWORD,:DWORD,:DWORD,:DWORD
EnumFonts equ <EnumFontsA>

EnumFontsW PROTO :DWORD,:DWORD,:DWORD,:DWORD
EnumICMProfilesA PROTO :DWORD,:DWORD,:DWORD
EnumICMProfiles equ <EnumICMProfilesA>

EnumICMProfilesW PROTO :DWORD,:DWORD,:DWORD
EnumMetaFile PROTO :DWORD,:DWORD,:DWORD,:DWORD
EnumObjects PROTO :DWORD,:DWORD,:DWORD,:DWORD
EqualRgn PROTO :DWORD,:DWORD
Escape PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
EudcLoadLinkW PROTO :DWORD,:DWORD,:DWORD,:DWORD
EudcUnloadLinkW PROTO :DWORD,:DWORD
ExcludeClipRect PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ExtCreatePen PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ExtCreateRegion PROTO :DWORD,:DWORD,:DWORD
ExtEscape PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ExtFloodFill PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ExtSelectClipRgn PROTO :DWORD,:DWORD,:DWORD
ExtTextOutA PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ExtTextOut equ <ExtTextOutA>

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

GetCharABCWidthsFloatA PROTO :DWORD,:DWORD,:DWORD,:DWORD
GetCharABCWidthsFloat equ <GetCharABCWidthsFloatA>

GetCharABCWidthsFloatW PROTO :DWORD,:DWORD,:DWORD,:DWORD
GetCharABCWidthsI PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
GetCharABCWidthsW PROTO :DWORD,:DWORD,:DWORD,:DWORD
GetCharWidth32A PROTO :DWORD,:DWORD,:DWORD,:DWORD
GetCharWidth32 equ <GetCharWidth32A>

GetCharWidth32W PROTO :DWORD,:DWORD,:DWORD,:DWORD
GetCharWidthA PROTO :DWORD,:DWORD,:DWORD,:DWORD
GetCharWidth equ <GetCharWidthA>

GetCharWidthFloatA PROTO :DWORD,:DWORD,:DWORD,:DWORD
GetCharWidthFloat equ <GetCharWidthFloatA>

GetCharWidthFloatW PROTO :DWORD,:DWORD,:DWORD,:DWORD
GetCharWidthI PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
GetCharWidthW PROTO :DWORD,:DWORD,:DWORD,:DWORD
GetCharacterPlacementA PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
GetCharacterPlacement equ <GetCharacterPlacementA>

GetCharacterPlacementW PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
GetClipBox PROTO :DWORD,:DWORD
GetClipRgn PROTO :DWORD,:DWORD
GetColorAdjustment PROTO :DWORD,:DWORD
GetColorSpace PROTO :DWORD
GetCurrentObject PROTO :DWORD,:DWORD
GetCurrentPositionEx PROTO :DWORD,:DWORD
GetDCBrushColor PROTO :DWORD
GetDCOrgEx PROTO :DWORD,:DWORD
GetDCPenColor PROTO :DWORD
GetDIBColorTable PROTO :DWORD,:DWORD,:DWORD,:DWORD
GetDIBits PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
GetDeviceCaps PROTO :DWORD,:DWORD
GetDeviceGammaRamp PROTO :DWORD,:DWORD
GetEnhMetaFileA PROTO :DWORD
GetEnhMetaFile equ <GetEnhMetaFileA>

GetEnhMetaFileBits PROTO :DWORD,:DWORD,:DWORD
GetEnhMetaFileDescriptionA PROTO :DWORD,:DWORD,:DWORD
GetEnhMetaFileDescription equ <GetEnhMetaFileDescriptionA>

GetEnhMetaFileDescriptionW PROTO :DWORD,:DWORD,:DWORD
GetEnhMetaFileHeader PROTO :DWORD,:DWORD,:DWORD
GetEnhMetaFilePaletteEntries PROTO :DWORD,:DWORD,:DWORD
GetEnhMetaFilePixelFormat PROTO :DWORD,:DWORD,:DWORD
GetEnhMetaFileW PROTO :DWORD
GetFontAssocStatus PROTO :DWORD
GetFontData PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
GetFontLanguageInfo PROTO :DWORD
GetFontResourceInfoW PROTO :DWORD,:DWORD,:DWORD,:DWORD
GetFontUnicodeRanges PROTO :DWORD,:DWORD
GetGlyphIndicesA PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
GetGlyphIndices equ <GetGlyphIndicesA>

GetGlyphIndicesW PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
GetGlyphOutlineA PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
GetGlyphOutline equ <GetGlyphOutlineA>

GetGlyphOutlineW PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
GetGraphicsMode PROTO :DWORD
GetICMProfileA PROTO :DWORD,:DWORD,:DWORD
GetICMProfile equ <GetICMProfileA>

GetICMProfileW PROTO :DWORD,:DWORD,:DWORD
GetKerningPairsA PROTO :DWORD,:DWORD,:DWORD
GetKerningPairs equ <GetKerningPairsA>

GetKerningPairsW PROTO :DWORD,:DWORD,:DWORD
GetLayout PROTO :DWORD
GetLogColorSpaceA PROTO :DWORD,:DWORD,:DWORD
GetLogColorSpace equ <GetLogColorSpaceA>

GetLogColorSpaceW PROTO :DWORD,:DWORD,:DWORD
GetMapMode PROTO :DWORD
GetMetaFileA PROTO :DWORD
GetMetaFile equ <GetMetaFileA>

GetMetaFileBitsEx PROTO :DWORD,:DWORD,:DWORD
GetMetaFileW PROTO :DWORD
GetMetaRgn PROTO :DWORD,:DWORD
GetMiterLimit PROTO :DWORD,:DWORD
GetNearestColor PROTO :DWORD,:DWORD
GetNearestPaletteIndex PROTO :DWORD,:DWORD
GetObjectA PROTO :DWORD,:DWORD,:DWORD
GetObject equ <GetObjectA>

GetObjectType PROTO :DWORD
GetObjectW PROTO :DWORD,:DWORD,:DWORD
GetOutlineTextMetricsA PROTO :DWORD,:DWORD,:DWORD
GetOutlineTextMetrics equ <GetOutlineTextMetricsA>

GetOutlineTextMetricsW PROTO :DWORD,:DWORD,:DWORD
GetPaletteEntries PROTO :DWORD,:DWORD,:DWORD,:DWORD
GetPath PROTO :DWORD,:DWORD,:DWORD,:DWORD
GetPixel PROTO :DWORD,:DWORD,:DWORD
GetPixelFormat PROTO :DWORD
GetPolyFillMode PROTO :DWORD
GetROP2 PROTO :DWORD
GetRandomRgn PROTO :DWORD,:DWORD,:DWORD
GetRasterizerCaps PROTO :DWORD,:DWORD
GetRegionData PROTO :DWORD,:DWORD,:DWORD
GetRelAbs PROTO :DWORD,:DWORD
GetRgnBox PROTO :DWORD,:DWORD
GetStockObject PROTO :DWORD
GetStretchBltMode PROTO :DWORD
GetSystemPaletteEntries PROTO :DWORD,:DWORD,:DWORD,:DWORD
GetSystemPaletteUse PROTO :DWORD
GetTextAlign PROTO :DWORD
GetTextCharacterExtra PROTO :DWORD
GetTextCharset PROTO :DWORD
GetTextCharsetInfo PROTO :DWORD,:DWORD,:DWORD
GetTextColor PROTO :DWORD
GetTextExtentExPointA PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
GetTextExtentExPoint equ <GetTextExtentExPointA>

GetTextExtentExPointI PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
GetTextExtentExPointW PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
GetTextExtentPoint32A PROTO :DWORD,:DWORD,:DWORD,:DWORD
GetTextExtentPoint32 equ <GetTextExtentPoint32A>

GetTextExtentPoint32W PROTO :DWORD,:DWORD,:DWORD,:DWORD
GetTextExtentPointA PROTO :DWORD,:DWORD,:DWORD,:DWORD
GetTextExtentPoint equ <GetTextExtentPointA>

GetTextExtentPointI PROTO :DWORD,:DWORD,:DWORD,:DWORD
GetTextExtentPointW PROTO :DWORD,:DWORD,:DWORD,:DWORD
GetTextFaceA PROTO :DWORD,:DWORD,:DWORD
GetTextFace equ <GetTextFaceA>

GetTextFaceW PROTO :DWORD,:DWORD,:DWORD
GetTextMetricsA PROTO :DWORD,:DWORD
GetTextMetrics equ <GetTextMetricsA>

GetTextMetricsW PROTO :DWORD,:DWORD
GetViewportExtEx PROTO :DWORD,:DWORD
GetViewportOrgEx PROTO :DWORD,:DWORD
GetWinMetaFileBits PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
GetWindowExtEx PROTO :DWORD,:DWORD
GetWindowOrgEx PROTO :DWORD,:DWORD
GetWorldTransform PROTO :DWORD,:DWORD
IntersectClipRect PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
InvertRgn PROTO :DWORD,:DWORD
LPtoDP PROTO :DWORD,:DWORD,:DWORD
LineDDA PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
LineDD equ <LineDDA>

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

PolyTextOutW PROTO :DWORD,:DWORD,:DWORD
Polygon PROTO :DWORD,:DWORD,:DWORD
Polyline PROTO :DWORD,:DWORD,:DWORD
PolylineTo PROTO :DWORD,:DWORD,:DWORD
PtInRegion PROTO :DWORD,:DWORD,:DWORD
PtVisible PROTO :DWORD,:DWORD,:DWORD
RealizePalette PROTO :DWORD
RectInRegion PROTO :DWORD,:DWORD
RectVisible PROTO :DWORD,:DWORD
Rectangle PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
RemoveFontMemResourceEx PROTO :DWORD
RemoveFontResourceA PROTO :DWORD
RemoveFontResource equ <RemoveFontResourceA>

RemoveFontResourceExA PROTO :DWORD,:DWORD,:DWORD
RemoveFontResourceEx equ <RemoveFontResourceExA>

RemoveFontResourceExW PROTO :DWORD,:DWORD,:DWORD
RemoveFontResourceW PROTO :DWORD
ResetDCA PROTO :DWORD,:DWORD
ResetDC equ <ResetDCA>

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

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

StartDocW PROTO :DWORD,:DWORD
StartFormPage PROTO :DWORD
StartPage PROTO :DWORD
StretchBlt PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
StretchDIBits PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
StrokeAndFillPath PROTO :DWORD
StrokePath PROTO :DWORD
SwapBuffers PROTO :DWORD
TextOutA PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
TextOut equ <TextOutA>

TextOutW PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
TranslateCharsetInfo PROTO :DWORD,:DWORD,:DWORD
UnrealizeObject PROTO :DWORD
UpdateColors PROTO :DWORD
UpdateICMRegKeyA PROTO :DWORD,:DWORD,:DWORD,:DWORD
UpdateICMRegKey equ <UpdateICMRegKeyA>

UpdateICMRegKeyW PROTO :DWORD,:DWORD,:DWORD,:DWORD
WidenPath PROTO :DWORD
gdiPlaySpoolStream PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD

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