From 52b4c7f26ded11689226c56ae23462dca58fa706 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Sat, 13 Dec 2008 12:06:48 +0100 Subject: [PATCH] gdi32: Export three implemented 16bit Engine*() functions. --- dlls/gdi32/gdi.exe.spec | 6 +++--- dlls/gdi32/gdi16.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dlls/gdi32/gdi.exe.spec b/dlls/gdi32/gdi.exe.spec index 6c7aa677b40..cade1c24b42 100644 --- a/dlls/gdi32/gdi.exe.spec +++ b/dlls/gdi32/gdi.exe.spec @@ -231,9 +231,9 @@ 301 pascal -ret16 EngineDeleteFont(ptr) EngineDeleteFont16 302 pascal EngineRealizeFont(ptr ptr ptr) EngineRealizeFont16 303 pascal -ret16 EngineGetCharWidth(ptr word word ptr) EngineGetCharWidth16 -304 stub ENGINESETFONTCONTEXT -305 stub ENGINEGETGLYPHBMP -306 stub ENGINEMAKEFONTDIR +304 pascal -ret16 EngineSetFontContext(ptr word) EngineSetFontContext16 +305 pascal -ret16 EngineGetGlyphBMP(word ptr word word ptr long ptr) EngineGetGlyphBMP16 +306 pascal EngineMakeFontDir(word ptr ptr) EngineMakeFontDir16 307 pascal -ret16 GetCharABCWidths(word word word ptr) GetCharABCWidths16 308 pascal -ret16 GetOutlineTextMetrics(word word ptr) GetOutlineTextMetrics16 309 pascal GetGlyphOutline(word word word ptr long ptr ptr) GetGlyphOutline16 diff --git a/dlls/gdi32/gdi16.c b/dlls/gdi32/gdi16.c index a1bbe1ccdab..b70b44ed04e 100644 --- a/dlls/gdi32/gdi16.c +++ b/dlls/gdi32/gdi16.c @@ -1897,7 +1897,7 @@ WORD WINAPI EngineGetCharWidth16(LPFONTINFO16 lpFontInfo, BYTE firstChar, BYTE l /*********************************************************************** * EngineSetFontContext (GDI.304) */ -WORD WINAPI EngineSetFontContext(LPFONTINFO16 lpFontInfo, WORD data) +WORD WINAPI EngineSetFontContext16(LPFONTINFO16 lpFontInfo, WORD data) { FIXME("stub?\n"); return 0; @@ -1906,7 +1906,7 @@ WORD WINAPI EngineSetFontContext(LPFONTINFO16 lpFontInfo, WORD data) /*********************************************************************** * EngineGetGlyphBMP (GDI.305) */ -WORD WINAPI EngineGetGlyphBMP(WORD word, LPFONTINFO16 lpFontInfo, WORD w1, WORD w2, +WORD WINAPI EngineGetGlyphBMP16(WORD word, LPFONTINFO16 lpFontInfo, WORD w1, WORD w2, LPSTR string, DWORD dword, /*LPBITMAPMETRICS16*/ LPVOID metrics) { FIXME("stub?\n"); @@ -1917,7 +1917,7 @@ WORD WINAPI EngineGetGlyphBMP(WORD word, LPFONTINFO16 lpFontInfo, WORD w1, WORD /*********************************************************************** * EngineMakeFontDir (GDI.306) */ -DWORD WINAPI EngineMakeFontDir(HDC16 hdc, LPFONTDIR16 fontdir, LPCSTR string) +DWORD WINAPI EngineMakeFontDir16(HDC16 hdc, LPFONTDIR16 fontdir, LPCSTR string) { FIXME(" stub! (always fails)\n"); return ~0UL; /* error */