gdi32: Export three implemented 16bit Engine*() functions.

Francois Gouget fgouget at free.fr
Sat Dec 13 05:06:48 CST 2008


---

They have been implemented so why not export them?

 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 6c7aa67..cade1c2 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 a1bbe1c..b70b44e 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 */
-- 
1.5.6.5




More information about the wine-patches mailing list