mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 15:05:54 +00:00
[GDI32] Update Gdi Driver Header.
Patch by : Akihiro Sagawa : Implement GetCharWidthInfo().
1128587fd2
This commit is contained in:
parent
7390376753
commit
333b8f19a4
6 changed files with 7 additions and 1 deletions
|
@ -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 */
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue