[GDI32] Update Gdi Driver Header.
authorjimtabor <james.tabor@reactos.org>
Sat, 19 Oct 2019 04:49:13 +0000 (23:49 -0500)
committerjimtabor <james.tabor@reactos.org>
Sat, 19 Oct 2019 04:49:13 +0000 (23:49 -0500)
Patch by : Akihiro Sagawa : Implement GetCharWidthInfo().

https://source.winehq.org/git/wine.git/commit/1128587fd262f9ad476b49e7837ac74dd656e6ba

win32ss/gdi/gdi32/include/wine/gdi_driver.h
win32ss/gdi/gdi32/wine/enhmfdrv/dc.c
win32ss/gdi/gdi32/wine/enhmfdrv/init.c
win32ss/gdi/gdi32/wine/mfdrv/init.c
win32ss/gdi/gdi32/wine/path.c
win32ss/gdi/gdi32/wine/rosglue.c

index fcf3de9..cd6350e 100644 (file)
@@ -101,6 +101,7 @@ struct gdi_dc_funcs
     BOOL     (*pGetCharABCWidths)(PHYSDEV,UINT,UINT,LPABC);
     BOOL     (*pGetCharABCWidthsI)(PHYSDEV,UINT,UINT,WORD*,LPABC);
     BOOL     (*pGetCharWidth)(PHYSDEV,UINT,UINT,LPINT);
+    BOOL     (*pGetCharWidthInfo)(PHYSDEV,PVOID);
     INT      (*pGetDeviceCaps)(PHYSDEV,INT);
     BOOL     (*pGetDeviceGammaRamp)(PHYSDEV,LPVOID);
     DWORD    (*pGetFontData)(PHYSDEV,DWORD,DWORD,LPVOID,DWORD);
@@ -197,7 +198,7 @@ struct gdi_dc_funcs
 };
 
 /* increment this when you change the DC function table */
-#define WINE_GDI_DRIVER_VERSION 46
+#define WINE_GDI_DRIVER_VERSION 49
 
 #define GDI_PRIORITY_NULL_DRV        0  /* null driver */
 #define GDI_PRIORITY_FONT_DRV      100  /* any font driver */
index b5b472e..eabfaea 100644 (file)
@@ -858,6 +858,7 @@ static const struct gdi_dc_funcs emfpath_driver =
     NULL,                               /* pGetCharABCWidths */
     NULL,                               /* pGetCharABCWidthsI */
     NULL,                               /* pGetCharWidth */
+    NULL,                               /* pGetCharWidthInfo */
 #ifdef __REACTOS__
     EMFDRV_GetDeviceCaps, //// Work around HACK.
 #else
index ce9d9fb..47debb0 100644 (file)
@@ -73,6 +73,7 @@ static const struct gdi_dc_funcs emfdrv_driver =
     NULL,                            /* pGetCharABCWidths */
     NULL,                            /* pGetCharABCWidthsI */
     NULL,                            /* pGetCharWidth */
+    NULL,                            /* pGetCharWidthInfo */
     EMFDRV_GetDeviceCaps,            /* pGetDeviceCaps */
     NULL,                            /* pGetDeviceGammaRamp */
     NULL,                            /* pGetFontData */
index 50f8ba3..8c24f78 100644 (file)
@@ -136,6 +136,7 @@ static const struct gdi_dc_funcs MFDRV_Funcs =
     NULL,                            /* pGetCharABCWidths */
     NULL,                            /* pGetCharABCWidthsI */
     NULL,                            /* pGetCharWidth */
+    NULL,                            /* pGetCharWidthInfo */
     MFDRV_GetDeviceCaps,             /* pGetDeviceCaps */
     NULL,                            /* pGetDeviceGammaRamp */
     NULL,                            /* pGetFontData */
index 5cf9d3a..4b5e3dd 100644 (file)
@@ -476,6 +476,7 @@ const struct gdi_dc_funcs path_driver =
     NULL,                               /* pGetCharABCWidths */
     NULL,                               /* pGetCharABCWidthsI */
     NULL,                               /* pGetCharWidth */
+    NULL,                               /* pGetCharWidthInfo */
     NULL,                               /* pGetDeviceCaps */
     NULL,                               /* pGetDeviceGammaRamp */
     NULL,                               /* pGetFontData */
index d1b5038..b537b90 100644 (file)
@@ -89,6 +89,7 @@ static const struct gdi_dc_funcs DummyPhysDevFuncs =
     (PVOID)NULL_Unused, //BOOL     (*pGetCharABCWidths)(PHYSDEV,UINT,UINT,LPABC);
     (PVOID)NULL_Unused, //BOOL     (*pGetCharABCWidthsI)(PHYSDEV,UINT,UINT,WORD*,LPABC);
     (PVOID)NULL_Unused, //BOOL     (*pGetCharWidth)(PHYSDEV,UINT,UINT,LPINT);
+    (PVOID)NULL_Unused, //BOOL     (*pGetCharWidthInfo)(PHYSDEV,void*);
     (PVOID)NULL_Unused, //INT      (*pGetDeviceCaps)(PHYSDEV,INT);
     (PVOID)NULL_Unused, //BOOL     (*pGetDeviceGammaRamp)(PHYSDEV,LPVOID);
     (PVOID)NULL_Unused, //DWORD    (*pGetFontData)(PHYSDEV,DWORD,DWORD,LPVOID,DWORD);