diff --git a/if1632/gdi.spec b/if1632/gdi.spec index 04831d75607..1e93cbedf03 100644 --- a/if1632/gdi.spec +++ b/if1632/gdi.spec @@ -221,7 +221,7 @@ file gdi.exe 308 pascal16 GetOutlineTextMetrics(word word ptr) GetOutlineTextMetrics16 309 pascal GetGlyphOutline(word word word ptr long ptr ptr) GetGlyphOutline16 310 pascal16 CreateScalableFontResource(word str str str) CreateScalableFontResource16 -311 stub GetFontData +311 pascal GetFontData(word long long ptr long) GetFontData16 312 stub ConvertOutLineFontFile 313 pascal16 GetRasterizerCaps(ptr word) GetRasterizerCaps16 314 stub EngineExtTextOut diff --git a/include/wine/wingdi16.h b/include/wine/wingdi16.h index ffec4cf1d7d..72ceab90ec7 100644 --- a/include/wine/wingdi16.h +++ b/include/wine/wingdi16.h @@ -375,6 +375,7 @@ INT16 WINAPI GetDeviceCaps16(HDC16,INT16); UINT16 WINAPI GetDIBColorTable16(HDC16,UINT16,UINT16,RGBQUAD*); INT16 WINAPI GetDIBits16(HDC16,HBITMAP16,UINT16,UINT16,LPVOID,LPBITMAPINFO,UINT16); INT16 WINAPI GetEnvironment16(LPCSTR,LPDEVMODEA,UINT16); +DWORD WINAPI GetFontData16(HDC16,DWORD,DWORD,LPVOID,DWORD); DWORD WINAPI GetFontLanguageInfo16(HDC16); DWORD WINAPI GetGlyphOutline16(HDC16,UINT16,UINT16,LPGLYPHMETRICS16,DWORD,LPVOID,const MAT2*); INT16 WINAPI GetKerningPairs16(HDC16,INT16,LPKERNINGPAIR16); diff --git a/objects/font.c b/objects/font.c index 96f993359be..e80e1ecaf5d 100644 --- a/objects/font.c +++ b/objects/font.c @@ -1554,6 +1554,16 @@ DWORD WINAPI GetFontData(HDC hdc, DWORD table, DWORD offset, return GDI_ERROR; } +/************************************************************************* + * GetFontData16 [GDI.311] + * + */ +DWORD WINAPI GetFontData16(HDC16 hdc, DWORD dwTable, DWORD dwOffset, + LPVOID lpvBuffer, DWORD cbData) +{ + return GetFontData(hdc, dwTable, dwOffset, lpvBuffer, cbData); +} + /************************************************************************* * GetCharacterPlacementA [GDI32.160] *