Stefan Leichter : gdi32: Add stub for GetFontResourceInfoW.

Alexandre Julliard julliard at winehq.org
Tue Jan 22 14:52:23 CST 2013


Module: wine
Branch: master
Commit: 83846cd131aac33228bf08aefae0bf0ea93d4273
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=83846cd131aac33228bf08aefae0bf0ea93d4273

Author: Stefan Leichter <Stefan.Leichter at camline.com>
Date:   Mon Jan 21 22:44:52 2013 +0100

gdi32: Add stub for GetFontResourceInfoW.

---

 dlls/gdi32/font.c     |    9 +++++++++
 dlls/gdi32/gdi32.spec |    2 +-
 2 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/dlls/gdi32/font.c b/dlls/gdi32/font.c
index a24acd4..b274b83 100644
--- a/dlls/gdi32/font.c
+++ b/dlls/gdi32/font.c
@@ -3602,6 +3602,15 @@ BOOL WINAPI RemoveFontResourceExW( LPCWSTR str, DWORD fl, PVOID pdv )
 }
 
 /***********************************************************************
+ *           GetFontResourceInfoW    (GDI32.@)
+ */
+BOOL WINAPI GetFontResourceInfoW( LPCWSTR str, LPDWORD size, PVOID buffer, DWORD type )
+{
+    FIXME("%s %p(%d) %p %d\n", debugstr_w(str), size, size ? *size : 0, buffer, type);
+    return FALSE;
+}
+
+/***********************************************************************
  *           GetTextCharset    (GDI32.@)
  */
 UINT WINAPI GetTextCharset(HDC hdc)
diff --git a/dlls/gdi32/gdi32.spec b/dlls/gdi32/gdi32.spec
index 80b1b68..65f1d0c 100644
--- a/dlls/gdi32/gdi32.spec
+++ b/dlls/gdi32/gdi32.spec
@@ -279,7 +279,7 @@
 @ stdcall GetFontData(long long long ptr long)
 @ stdcall GetFontLanguageInfo(long)
 @ stub GetFontResourceInfo
-@ stub GetFontResourceInfoW
+@ stdcall GetFontResourceInfoW(wstr ptr ptr long)
 @ stdcall GetFontUnicodeRanges(ptr ptr)
 @ stdcall GetGlyphIndicesA(long ptr long ptr long)
 @ stdcall GetGlyphIndicesW(long ptr long ptr long)




More information about the wine-cvs mailing list