Louis. Lenders : gdi32: Add stub for GetCharWidthI and GetFontUnicodeRanges .

Alexandre Julliard julliard at wine.codeweavers.com
Tue May 9 05:56:34 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: ad2b0a0fd7fa414a7f20b85828d3361d6d8a9278
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=ad2b0a0fd7fa414a7f20b85828d3361d6d8a9278

Author: Louis. Lenders <xerox_xerox2000 at yahoo.co.uk>
Date:   Sun May  7 00:33:32 2006 +0100

gdi32: Add stub for GetCharWidthI and GetFontUnicodeRanges.

---

 dlls/gdi/font.c     |   18 ++++++++++++++++++
 dlls/gdi/gdi32.spec |    4 ++--
 2 files changed, 20 insertions(+), 2 deletions(-)

diff --git a/dlls/gdi/font.c b/dlls/gdi/font.c
index b0d8a98..ada4966 100644
--- a/dlls/gdi/font.c
+++ b/dlls/gdi/font.c
@@ -3068,3 +3068,21 @@ BOOL WINAPI EnableEUDC(BOOL fEnableEUDC)
     FIXME("(%d): stub\n", fEnableEUDC);
     return FALSE;
 }
+
+/***********************************************************************
+ *           GetCharWidthI    (GDI32.@)
+ */
+BOOL WINAPI GetCharWidthI(HDC hdc, UINT giFirst, UINT cgi, LPWORD pgi, LPINT lpBuffer)
+{
+    FIXME("(%p, %d, %d, %p, %p): stub\n", hdc, giFirst, cgi, pgi, lpBuffer);
+    return FALSE;
+}
+
+/***********************************************************************
+ *           GetFontUnicodeRanges    (GDI32.@)
+ */
+DWORD WINAPI GetFontUnicodeRanges(HDC hdc, LPGLYPHSET lpgs)
+{
+    FIXME("(%p, %p): stub\n", hdc, lpgs);
+    return 0;
+}
diff --git a/dlls/gdi/gdi32.spec b/dlls/gdi/gdi32.spec
index 59c748d..1c245d8 100644
--- a/dlls/gdi/gdi32.spec
+++ b/dlls/gdi/gdi32.spec
@@ -244,7 +244,7 @@ # @ stub GetBrushAttributes
 @ stdcall GetCharWidthA(long long long long) GetCharWidth32A
 @ stdcall GetCharWidthFloatA(long long long ptr)
 @ stdcall GetCharWidthFloatW(long long long ptr)
-# @ stub GetCharWidthI
+@ stdcall GetCharWidthI(ptr long long ptr ptr)
 # @ stub GetCharWidthInfo
 @ stdcall GetCharWidthW(long long long long) GetCharWidth32W
 @ stub GetCharWidthWOW
@@ -279,7 +279,7 @@ # @ stub GetFontAssocStatus
 @ stdcall GetFontLanguageInfo(long)
 @ stub GetFontResourceInfo
 @ stub GetFontResourceInfoW
-# @ stub GetFontUnicodeRanges
+@ stdcall GetFontUnicodeRanges(ptr ptr)
 @ stdcall GetGlyphIndicesA(long ptr long ptr long)
 @ stdcall GetGlyphIndicesW(long ptr long ptr long)
 @ stub GetGlyphOutline




More information about the wine-cvs mailing list