Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-12279 Word 2010 support for ReactOS Community Edition
  3. CORE-12832

Word 2010: Investigate why the gdi32 metafile NULL driver is sometimes used

    Details

    • Type: Sub-task
    • Status: Untriaged
    • Priority: Major
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      I had to temporarily disable a debug breakpoint in gdi32/wine/rosglue.c!NULL_Unused(), see https://svn.reactos.org/svn/reactos?view=revision&revision=73896

      Code was originally imported in https://svn.reactos.org/svn/reactos?view=revision&revision=65893 .

      NULL_Unused replaced by real prototypes by Mark Jansen:

      INT      NULL_AbortDoc(PHYSDEV) { DPRINT1("NULL_AbortDoc\n"); return NULL; }
      BOOL     NULL_AbortPath(PHYSDEV) { DPRINT1("NULL_AbortPath\n"); return NULL; }
      BOOL     NULL_AlphaBlend(PHYSDEV,struct bitblt_coords*,PHYSDEV,struct bitblt_coords*,BLENDFUNCTION) { DPRINT1("NULL_AlphaBlend\n"); return NULL; }
      BOOL     NULL_AngleArc(PHYSDEV,INT,INT,DWORD,FLOAT,FLOAT) { DPRINT1("NULL_AngleArc\n"); return NULL; }
      BOOL     NULL_Arc(PHYSDEV,INT,INT,INT,INT,INT,INT,INT,INT) { DPRINT1("NULL_Arc\n"); return NULL; }
      BOOL     NULL_ArcTo(PHYSDEV,INT,INT,INT,INT,INT,INT,INT,INT) { DPRINT1("NULL_ArcTo\n"); return NULL; }
      BOOL     NULL_BeginPath(PHYSDEV) { DPRINT1("NULL_BeginPath\n"); return NULL; }
      DWORD    NULL_BlendImage(PHYSDEV,BITMAPINFO*,const struct gdi_image_bits*,struct bitblt_coords*,struct bitblt_coords*,BLENDFUNCTION) { DPRINT1("NULL_BlendImage\n"); return NULL; }
      BOOL     NULL_Chord(PHYSDEV,INT,INT,INT,INT,INT,INT,INT,INT) { DPRINT1("NULL_Chord\n"); return NULL; }
      BOOL     NULL_CloseFigure(PHYSDEV) { DPRINT1("NULL_CloseFigure\n"); return NULL; }
      BOOL     NULL_CreateCompatibleDC(PHYSDEV,PHYSDEV*) { DPRINT1("NULL_CreateCompatibleDC\n"); return NULL; }
      BOOL     NULL_CreateDC(PHYSDEV*,LPCWSTR,LPCWSTR,LPCWSTR,const DEVMODEW*) { DPRINT1("NULL_CreateDC\n"); return NULL; }
      BOOL     NULL_DeleteDC(PHYSDEV) { DPRINT1("NULL_DeleteDC\n"); return NULL; }
      BOOL     NULL_DeleteObject(PHYSDEV,HGDIOBJ) { DPRINT1("NULL_DeleteObject\n"); return NULL; }
      DWORD    NULL_DeviceCapabilities(LPSTR,LPCSTR,LPCSTR,WORD,LPSTR,LPDEVMODEA) { DPRINT1("NULL_DeviceCapabilities\n"); return NULL; }
      BOOL     NULL_Ellipse(PHYSDEV,INT,INT,INT,INT) { DPRINT1("NULL_Ellipse\n"); return NULL; }
      INT      NULL_EndDoc(PHYSDEV) { DPRINT1("NULL_EndDoc\n"); return NULL; }
      INT      NULL_EndPage(PHYSDEV) { DPRINT1("NULL_EndPage\n"); return NULL; }
      BOOL     NULL_EndPath(PHYSDEV) { DPRINT1("NULL_EndPath\n"); return NULL; }
      BOOL     NULL_EnumFonts(PHYSDEV,LPLOGFONTW,FONTENUMPROCW,LPARAM) { DPRINT1("NULL_EnumFonts\n"); return NULL; }
      INT      NULL_EnumICMProfiles(PHYSDEV,ICMENUMPROCW,LPARAM) { DPRINT1("NULL_EnumICMProfiles\n"); return NULL; }
      //  54     NULL_ExcludeClipRect
      INT      NULL_ExtDeviceMode(LPSTR,HWND,LPDEVMODEA,LPSTR,LPSTR,LPDEVMODEA,LPSTR,DWORD) { DPRINT1("NULL_ExtDeviceMode\n"); return NULL; }
      INT      NULL_ExtEscape(PHYSDEV,INT,INT,LPCVOID,INT,LPVOID) { DPRINT1("NULL_ExtEscape\n"); return NULL; }
      BOOL     NULL_ExtFloodFill(PHYSDEV,INT,INT,COLORREF,UINT) { DPRINT1("NULL_ExtFloodFill\n"); return NULL; }
      //  58     NULL_ExtSelectClipRgn
      BOOL     NULL_ExtTextOut(PHYSDEV,INT,INT,UINT,const RECT*,LPCWSTR,UINT,const INT*) { DPRINT1("NULL_ExtTextOut\n"); return NULL; }
      BOOL     NULL_FillPath(PHYSDEV) { DPRINT1("NULL_FillPath\n"); return NULL; }
      BOOL     NULL_FillRgn(PHYSDEV,HRGN,HBRUSH) { DPRINT1("NULL_FillRgn\n"); return NULL; }
      BOOL     NULL_FlattenPath(PHYSDEV) { DPRINT1("NULL_FlattenPath\n"); return NULL; }
      BOOL     NULL_FontIsLinked(PHYSDEV) { DPRINT1("NULL_FontIsLinked\n"); return NULL; }
      BOOL     NULL_FrameRgn(PHYSDEV,HRGN,HBRUSH,INT,INT) { DPRINT1("NULL_FrameRgn\n"); return NULL; }
      BOOL     NULL_GdiComment(PHYSDEV,UINT,const BYTE*) { DPRINT1("NULL_GdiComment\n"); return NULL; }
      BOOL     NULL_GdiRealizationInfo(PHYSDEV,void*) { DPRINT1("NULL_GdiRealizationInfo\n"); return NULL; }
      UINT     NULL_GetBoundsRect(PHYSDEV,RECT*,UINT) { DPRINT1("NULL_GetBoundsRect\n"); return NULL; }
      BOOL     NULL_GetCharABCWidths(PHYSDEV,UINT,UINT,LPABC) { DPRINT1("NULL_GetCharABCWidths\n"); return NULL; }
      BOOL     NULL_GetCharABCWidthsI(PHYSDEV,UINT,UINT,WORD*,LPABC) { DPRINT1("NULL_GetCharABCWidthsI\n"); return NULL; }
      BOOL     NULL_GetCharWidth(PHYSDEV,UINT,UINT,LPINT) { DPRINT1("NULL_GetCharWidth\n"); return NULL; }
      INT      NULL_GetDeviceCaps(PHYSDEV,INT) { DPRINT1("NULL_GetDeviceCaps\n"); return NULL; }
      BOOL     NULL_GetDeviceGammaRamp(PHYSDEV,LPVOID) { DPRINT1("NULL_GetDeviceGammaRamp\n"); return NULL; }
      DWORD    NULL_GetFontData(PHYSDEV,DWORD,DWORD,LPVOID,DWORD) { DPRINT1("NULL_GetFontData\n"); return NULL; }
      DWORD    NULL_GetFontUnicodeRanges(PHYSDEV,LPGLYPHSET) { DPRINT1("NULL_GetFontUnicodeRanges\n"); return NULL; }
      DWORD    NULL_GetGlyphIndices(PHYSDEV,LPCWSTR,INT,LPWORD,DWORD) { DPRINT1("NULL_GetGlyphIndices\n"); return NULL; }
      DWORD    NULL_GetGlyphOutline(PHYSDEV,UINT,UINT,LPGLYPHMETRICS,DWORD,LPVOID,const MAT2*) { DPRINT1("NULL_GetGlyphOutline\n"); return NULL; }
      BOOL     NULL_GetICMProfile(PHYSDEV,LPDWORD,LPWSTR) { DPRINT1("NULL_GetICMProfile\n"); return NULL; }
      DWORD    NULL_GetImage(PHYSDEV,BITMAPINFO*,struct gdi_image_bits*,struct bitblt_coords*) { DPRINT1("NULL_GetImage\n"); return NULL; }
      DWORD    NULL_GetKerningPairs(PHYSDEV,DWORD,LPKERNINGPAIR) { DPRINT1("NULL_GetKerningPairs\n"); return NULL; }
      COLORREF NULL_GetNearestColor(PHYSDEV,COLORREF) { DPRINT1("NULL_GetNearestColor\n"); return NULL; }
      UINT     NULL_GetOutlineTextMetrics(PHYSDEV,UINT,LPOUTLINETEXTMETRICW) { DPRINT1("NULL_GetOutlineTextMetrics\n"); return NULL; }
      COLORREF NULL_GetPixel(PHYSDEV,INT,INT) { DPRINT1("NULL_GetPixel\n"); return NULL; }
      UINT     NULL_GetSystemPaletteEntries(PHYSDEV,UINT,UINT,LPPALETTEENTRY) { DPRINT1("NULL_GetSystemPaletteEntries\n"); return NULL; }
      UINT     NULL_GetTextCharsetInfo(PHYSDEV,LPFONTSIGNATURE,DWORD) { DPRINT1("NULL_GetTextCharsetInfo\n"); return NULL; }
      BOOL     NULL_GetTextExtentExPoint(PHYSDEV,LPCWSTR,INT,LPINT) { DPRINT1("NULL_GetTextExtentExPoint\n"); return NULL; }
      BOOL     NULL_GetTextExtentExPointI(PHYSDEV,const WORD*,INT,LPINT) { DPRINT1("NULL_GetTextExtentExPointI\n"); return NULL; }
      INT      NULL_GetTextFace(PHYSDEV,INT,LPWSTR) { DPRINT1("NULL_GetTextFace\n"); return NULL; }
      BOOL     NULL_GetTextMetrics(PHYSDEV,TEXTMETRICW*) { DPRINT1("NULL_GetTextMetrics\n"); return NULL; }
      BOOL     NULL_GradientFill(PHYSDEV,TRIVERTEX*,ULONG,void*,ULONG,ULONG) { DPRINT1("NULL_GradientFill\n"); return NULL; }
      //  90     NULL_IntersectClipRect
      BOOL     NULL_InvertRgn(PHYSDEV,HRGN) { DPRINT1("NULL_InvertRgn\n"); return NULL; }
      BOOL     NULL_LineTo(PHYSDEV,INT,INT) { DPRINT1("NULL_LineTo\n"); return NULL; }
      BOOL     NULL_ModifyWorldTransform(PHYSDEV,const XFORM*,DWORD) { DPRINT1("NULL_ModifyWorldTransform\n"); return NULL; }
      BOOL     NULL_MoveTo(PHYSDEV,INT,INT) { DPRINT1("NULL_MoveTo\n"); return NULL; }
      //  95     NULL_OffsetClipRgn
      BOOL     NULL_OffsetViewportOrgEx(PHYSDEV,INT,INT,POINT*) { DPRINT1("NULL_OffsetViewportOrgEx\n"); return NULL; }
      BOOL     NULL_OffsetWindowOrgEx(PHYSDEV,INT,INT,POINT*) { DPRINT1("NULL_OffsetWindowOrgEx\n"); return NULL; }
      BOOL     NULL_PaintRgn(PHYSDEV,HRGN) { DPRINT1("NULL_PaintRgn\n"); return NULL; }
      BOOL     NULL_PatBlt(PHYSDEV,struct bitblt_coords*,DWORD) { DPRINT1("NULL_PatBlt\n"); return NULL; }
      BOOL     NULL_Pie(PHYSDEV,INT,INT,INT,INT,INT,INT,INT,INT) { DPRINT1("NULL_Pie\n"); return NULL; }
      BOOL     NULL_PolyBezier(PHYSDEV,const POINT*,DWORD) { DPRINT1("NULL_PolyBezier\n"); return NULL; }
      BOOL     NULL_PolyBezierTo(PHYSDEV,const POINT*,DWORD) { DPRINT1("NULL_PolyBezierTo\n"); return NULL; }
      BOOL     NULL_PolyDraw(PHYSDEV,const POINT*,const BYTE *,DWORD) { DPRINT1("NULL_PolyDraw\n"); return NULL; }
      BOOL     NULL_PolyPolygon(PHYSDEV,const POINT*,const INT*,UINT) { DPRINT1("NULL_PolyPolygon\n"); return NULL; }
      BOOL     NULL_PolyPolyline(PHYSDEV,const POINT*,const DWORD*,DWORD) { DPRINT1("NULL_PolyPolyline\n"); return NULL; }
      BOOL     NULL_Polygon(PHYSDEV,const POINT*,INT) { DPRINT1("NULL_Polygon\n"); return NULL; }
      BOOL     NULL_Polyline(PHYSDEV,const POINT*,INT) { DPRINT1("NULL_Polyline\n"); return NULL; }
      BOOL     NULL_PolylineTo(PHYSDEV,const POINT*,INT) { DPRINT1("NULL_PolylineTo\n"); return NULL; }
      DWORD    NULL_PutImage(PHYSDEV,HRGN,BITMAPINFO*,const struct gdi_image_bits*,struct bitblt_coords*,struct bitblt_coords*,DWORD) { DPRINT1("NULL_PutImage\n"); return NULL; }
      UINT     NULL_RealizeDefaultPalette(PHYSDEV) { DPRINT1("NULL_RealizeDefaultPalette\n"); return NULL; }
      UINT     NULL_RealizePalette(PHYSDEV,HPALETTE,BOOL) { DPRINT1("NULL_RealizePalette\n"); return NULL; }
      BOOL     NULL_Rectangle(PHYSDEV,INT,INT,INT,INT) { DPRINT1("NULL_Rectangle\n"); return NULL; }
      HDC      NULL_ResetDC(PHYSDEV,const DEVMODEW*) { DPRINT1("NULL_ResetDC\n"); return NULL; }
      // 114     NULL_RestoreDC
      BOOL     NULL_RoundRect(PHYSDEV,INT,INT,INT,INT,INT,INT) { DPRINT1("NULL_RoundRect\n"); return NULL; }
      // 116     NULL_SaveDC
      BOOL     NULL_ScaleViewportExtEx(PHYSDEV,INT,INT,INT,INT,SIZE*) { DPRINT1("NULL_ScaleViewportExtEx\n"); return NULL; }
      BOOL     NULL_ScaleWindowExtEx(PHYSDEV,INT,INT,INT,INT,SIZE*) { DPRINT1("NULL_ScaleWindowExtEx\n"); return NULL; }
      HBITMAP  NULL_SelectBitmap(PHYSDEV,HBITMAP) { DPRINT1("NULL_SelectBitmap\n"); return NULL; }
      HBRUSH   NULL_SelectBrush(PHYSDEV,HBRUSH,const struct brush_pattern*) { DPRINT1("NULL_SelectBrush\n"); return NULL; }
      BOOL     NULL_SelectClipPath(PHYSDEV,INT) { DPRINT1("NULL_SelectClipPath\n"); return NULL; }
      // 122     NULL_SelectFont
      HPALETTE NULL_SelectPalette(PHYSDEV,HPALETTE,BOOL) { DPRINT1("NULL_SelectPalette\n"); return NULL; }
      HPEN     NULL_SelectPen(PHYSDEV,HPEN,const struct brush_pattern*) { DPRINT1("NULL_SelectPen\n"); return NULL; }
      INT      NULL_SetArcDirection(PHYSDEV,INT) { DPRINT1("NULL_SetArcDirection\n"); return NULL; }
      COLORREF NULL_SetBkColor(PHYSDEV,COLORREF) { DPRINT1("NULL_SetBkColor\n"); return NULL; }
      INT      NULL_SetBkMode(PHYSDEV,INT) { DPRINT1("NULL_SetBkMode\n"); return NULL; }
      UINT     NULL_SetBoundsRect(PHYSDEV,RECT*,UINT) { DPRINT1("NULL_SetBoundsRect\n"); return NULL; }
      COLORREF NULL_SetDCBrushColor(PHYSDEV, COLORREF) { DPRINT1("NULL_SetDCBrushColor\n"); return NULL; }
      COLORREF NULL_SetDCPenColor(PHYSDEV, COLORREF) { DPRINT1("NULL_SetDCPenColor\n"); return NULL; }
      INT      NULL_SetDIBitsToDevice(PHYSDEV,INT,INT,DWORD,DWORD,INT,INT,UINT,UINT,LPCVOID,BITMAPINFO*,UINT) { DPRINT1("NULL_SetDIBitsToDevice\n"); return NULL; }
      VOID     NULL_SetDeviceClipping(PHYSDEV,HRGN) { DPRINT1("NULL_SetDeviceClipping\n"); return NULL; }
      BOOL     NULL_SetDeviceGammaRamp(PHYSDEV,LPVOID) { DPRINT1("NULL_SetDeviceGammaRamp\n"); return NULL; }
      DWORD    NULL_SetLayout(PHYSDEV,DWORD) { DPRINT1("NULL_SetLayout\n"); return NULL; }
      // 135     NULL_SetMapMode
      DWORD    NULL_SetMapperFlags(PHYSDEV,DWORD) { DPRINT1("NULL_SetMapperFlags\n"); return NULL; }
      COLORREF NULL_SetPixel(PHYSDEV,INT,INT,COLORREF) { DPRINT1("NULL_SetPixel\n"); return NULL; }
      INT      NULL_SetPolyFillMode(PHYSDEV,INT) { DPRINT1("NULL_SetPolyFillMode\n"); return NULL; }
      INT      NULL_SetROP2(PHYSDEV,INT) { DPRINT1("NULL_SetROP2\n"); return NULL; }
      INT      NULL_SetRelAbs(PHYSDEV,INT) { DPRINT1("NULL_SetRelAbs\n"); return NULL; }
      INT      NULL_SetStretchBltMode(PHYSDEV,INT) { DPRINT1("NULL_SetStretchBltMode\n"); return NULL; }
      UINT     NULL_SetTextAlign(PHYSDEV,UINT) { DPRINT1("NULL_SetTextAlign\n"); return NULL; }
      INT      NULL_SetTextCharacterExtra(PHYSDEV,INT) { DPRINT1("NULL_SetTextCharacterExtra\n"); return NULL; }
      COLORREF NULL_SetTextColor(PHYSDEV,COLORREF) { DPRINT1("NULL_SetTextColor\n"); return NULL; }
      BOOL     NULL_SetTextJustification(PHYSDEV,INT,INT) { DPRINT1("NULL_SetTextJustification\n"); return NULL; }
       //146     NULL_SetViewportExtEx
       //147     NULL_SetViewportOrgEx
       //148     NULL_SetWindowExtEx
       //149     NULL_SetWindowOrgEx
      BOOL     NULL_SetWorldTransform(PHYSDEV,const XFORM*) { DPRINT1("NULL_SetWorldTransform\n"); return NULL; }
      INT      NULL_StartDoc(PHYSDEV,const DOCINFOW*) { DPRINT1("NULL_StartDoc\n"); return NULL; }
      INT      NULL_StartPage(PHYSDEV) { DPRINT1("NULL_StartPage\n"); return NULL; }
      BOOL     NULL_StretchBlt(PHYSDEV,struct bitblt_coords*,PHYSDEV,struct bitblt_coords*,DWORD) { DPRINT1("NULL_StretchBlt\n"); return NULL; }
      INT      NULL_StretchDIBits(PHYSDEV,INT,INT,INT,INT,INT,INT,INT,INT,const void*,BITMAPINFO*,UINT,DWORD) { DPRINT1("NULL_StretchDIBits\n"); return NULL; }
      BOOL     NULL_StrokeAndFillPath(PHYSDEV) { DPRINT1("NULL_StrokeAndFillPath\n"); return NULL; }
      BOOL     NULL_StrokePath(PHYSDEV) { DPRINT1("NULL_StrokePath\n"); return NULL; }
      BOOL     NULL_UnrealizePalette(HPALETTE) { DPRINT1("NULL_UnrealizePalette\n"); return NULL; }
      BOOL     NULL_WidenPath(PHYSDEV) { DPRINT1("NULL_WidenPath\n"); return NULL; }
      struct opengl_funcs * (*wine_get_wgl_driver)(PHYSDEV,UINT);

        Attachments

          Activity

            People

            • Assignee:
              hbelusca HBelusca
              Reporter:
              hbelusca HBelusca
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: