1. About DGDI32 is part of HX's Win32 emulation. DPMILD32 will load this dll if module GDI32 is imported. Support for GDI32 is only rudimentary, though, and most Win32 GUI apps won't run. Main purpose is to support simple applications which just need the basics (bitmaps, pens, brushes,...). 2. Supported Functions Please note that if a function is not marked as dummy this doesn't mean it is fully implemented. Name Dummy ---------------------------------- AddFontResourceA AnimatePalette Arc Y BitBlt ChoosePixelFormat Y CombineRgn Y CreateBitmap CreateCompatibleBitmap CreateCompatibleDC CreateDC CreateDIBitmap CreateDIBSection CreateFontA CreateFontIndirectA CreatePalette CreatePatternBrush CreatePen CreateRectRgn CreateRectRgnIndirect CreateSolidBrush DeleteDC DeleteObject DescribePixelFormat Y Ellipse Y EnumFontFamiliesA Y EnumFontFamiliesExA Y ExtCreatePen ExtCreateRegion ExtTextOutA ExtTextOutW FillRgn FloodFill Y GdiFlush Y GdiSetBatchLimit Y GetBitmapBits GetBitmapDimensionEx Y GetBkColor GetCharABCWidthsA Y GetCharABCWidthsW Y GetCharWidthA GetCharWidthW GetClipBox GetCurrentObject GetCurrentPositionEx GetDCOrgEx GetDCBrushColor GetDCPenColor GetDeviceCaps GetDeviceGammaRamp Y GetDIBColorTable GetDIBits GetFontData Y GetMapMode GetNearestPaletteIndex GetObjectA GetObjectType GetOutlineTextMetricsA Y GetPaletteEntries GetPixel GetPixelFormat Y GetRegionData GetRgnBox GetROP2 Y GetStockObject GetSystemPaletteEntries GetSystemPaletteUse GetTextAlign GetTextCharset GetTextCharsetInfo GetTextColor GetTextExtentPoint32A GetTextExtentPoint32W GetTextFaceA GetTextMetricsA GetViewportExtEx GetViewportOrgEx GetWindowExtEx GetWindowOrgEx GetWorldTransform Y IntersectClipRect LineTo MaskBlt Y MoveToEx OffsetClipRgn OffsetRgn OffsetViewportOrgEx OffsetWindowOrgEx PaintRgn PatBlt Pie Y Polygon Polyline PolyPolyline Y RealizePalette Rectangle ResizePalette SelectObject SelectPalette SetBitmapBits SetBitmapDimensionEx Y SetBkColor SetBkMode SetDCBrushColor SetDCPenColor SetDeviceGammaRamp Y SetDIBColorTable SetDIBits SetMapMode SetPaletteEntries SetPixel SetPixelFormat Y SetROP2 Y SetStretchBltMode SetTextAlign SetTextColor SetViewportExtEx SetViewportOrgEx SetWindowExtEx SetWindowOrgEx SetWorldTransform Y StretchBlt Y StretchDIBits Y SwapBuffers Y TextOutA TextOutW TranslateCharsetInfo Y UnrealizeObject Y UpdateColors Y 3. History 2006/09/14: V1.9.5 þ StretchBlt implemented, but just calls BitBlt þ StretchDIBits implemented (to some extent) 2006/08/15: V1.9.4 þ bugfix: GetDIBColorTable ignored biClrUsed field þ bugfix: CreateBitmap did not set the correct direction 2006/07/15: V1.9.3 þ MaskBlt added (just calls BitBlt) þ GetClipBox added þ IntersectClipRect added þ ExtCreateRegion added (works with simple rectangular region only) þ GetCharWidthA, GetCharWidthW implemented þ CombineRgn added (dummy) þ TranslateCharsetInfo added (dummy) þ Get/SetBitmapDimensionEx added (dummies) 2006/06/14: V1.9.2 þ bugfix: LineTo may have looped if a line length of zero was calculated þ bugfix: under some conditions RealizePalette did nothing þ bugfix: SetPaletteEntries may have set wrong colors if start index was != 0 þ bugfix: SetPaletteEntries ignored PC_EXPLICIT flag þ CreateFontA implemented þ CreatePatternBrush implemented þ CreateDIBSection now accepts usage DIB_PAL_COLORS þ PatBlt now works with a pattern brush þ GetCurrentPositionEx added þ GetTextExtentPoint32A + GetTextExtentPoint32W added þ SetWindowOrgEx, SetWindowExtEx, SetViewportOrgEx, SetViewportExtEx added þ OffsetWindowOrgEx, OffsetViewportOrgEx added þ GetRgnBox, FillRgn, PaintRgn added, GetRegionData implemented þ clipping partly implemented þ ExtCreatePen added, it just calls CreatePen though þ SaveDC, RestoreDC added þ GetTextCharset, GetTextCharsetInfo, GetTextFaceA added þ TextOutW added, ExtTextOutW implemented þ FloodFill added (dummy) þ Arc, Pie, Ellipse added (dummies) 2006/04/21: V1.9.1 þ GetRegionData added (dummy) 2006/03/14: V1.9 þ CreateRectRgnIndirect(), OffsetRgn() added þ GdiSetBatchLimit() added (dummy) þ UpdateColors() added (dummy) þ ResizePalette() added þ Rectangle(), Polyline(), Polygon() added þ GetGraphicsMode, SetGraphicsMode, SetWorldTransform added (dummies) þ GetFontData added (dummy) þ EnumFontFamiliesA, EnumFontFamiliesExA added 2006/02/06: V1.8 þ export _SetDCBitPtr added to allow DDDRAW to create DCs for any surfaces. 2006/01/22: V1.7 þ DPtoLP added (dummy) þ bugfix: SetSystemPaletteUse set an invalid value for system palette usage. þ CreatePatternBrush added (dummy) þ GetObjectA now supports BRUSH objects 2006/01/02: V1.6 þ AnimatePalette added (dummy) þ UnrealizeObject added (dummy) þ CreateFondA added (dummy) þ StretchBlt, StretchDIBits, SetStretchBltMode added (dummies) þ GetSystemPaletteUse added 2005/12/20: V1.5 þ some speed optimisations in PatBlt + BitBlt 2005/12/07: V1.4 þ bugfix: RealizePalette didn't work for memory context and didn't return the number of entries mapped to system palette þ SetSystemPaletteUse added (dummy) þ bugfix: GetObjectTypeA returned OBJ_DC for memory DCs þ mapping mode initialized to MM_TEXT (previously 0) þ GetObjectA now supports BITMAP objects þ GetStockObject(SYSTEM_FONT) now never fails (uses OEM-VGA font if no system font has been loaded. þ GetDeviceCaps(TECHNOLOGY) supported þ bugfix: CreateDC changed to CreateDCA þ GetROP2, SetROP2 added (dummies) þ SetDIBitsToDevice added (dummy) þ ExtEscape added (dummy) þ GDIFlush added (dummy) þ PolyPolyline added (dummy) þ GetGlyphOutlineA, GetGlyphOutlineW added (dummies) þ GetWorldTransform, ModifyWorldTransform added (dummies) þ GetViewportOrgEx, GetViewportExtEx added (dummies) þ GetWindowOrgEx, GetWindowExtEx added (dummies) þ GetOutlineTextMetricsA added (dummies) þ GetCharABCWidthsA, GetCharABCWidthsW added (dummies) þ GetCharWidthA, GetCharWidthW added (dummies) þ ExtTextOutA, ExtTextOutW added (dummies) þ GetClipRgn, SelectClipRgn added (dummies) þ GetMapMode, SetMapMode added þ GetTextAlign, SetTextAlign added þ CreateRectRgn added þ bugfix: SetPixel, GetPixel returned 0 in case of an error, not CLR_INVALID (=-1) þ CreatePen, CreateBitmap, GetBitmapBits, SetBitmapBits added 2005/11/24: V1.3 þ SetDIBits, GetDIBColorTable added þ GetPixelFormat added (dummy) þ stock objects BLACK_PEN and WHITE_PEN added þ GetDCBrushColor, SetDCBrushColor added þ GetDCPenColor, SetDCPenColor added þ GetPixel, SetPixel, MoveToEx, LineTo, GetObjectType added þ display contexts now aware of changes in display start scan line. 2005/11/18: V1.2 þ SetDIBColorTable no longer dummy þ GetCurrentObject, GetPaletteEntries added þ GetBkColor, GetTextColor, GetNearestPaletteIndex added 2005/10/21: V1.1 þ GetTextMetricsA added þ GetDCOrgEx added þ GetDeviceGammaRamp, SetDeviceGammaRamp added (dummies) þ ChoosePixelFormat, DescribePixelFormat, SetPixelFormat, SwapBuffers added (dummies) þ CreateDIBSection, SetDIBColorTable added þ GetDeviceCaps added þ CreatePalette, RealizePalette, SelectPalette, SetPaletteEntries, GetSystemPaletteEntries added þ CreateCompatibleBitmap added þ GetDIBits added 2005/09/28: V1.0 4. Copyright DGDI32 is part of HX DOS extender. This extender is freewave. View HXRT.TXT for licence details. Japheth