Louis Lenders : gdi: Added stub for AddFontMemResourceEx.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Dec 6 04:37:31 CST 2005
Module: wine
Branch: refs/heads/master
Commit: ca1c26b9d3afaa32437b09ed0d95e42c99ec0c2e
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=ca1c26b9d3afaa32437b09ed0d95e42c99ec0c2e
Author: Louis Lenders <xerox_xerox2000 at yahoo.co.uk>
Date: Tue Dec 6 11:32:41 2005 +0100
gdi: Added stub for AddFontMemResourceEx.
---
dlls/gdi/font.c | 9 +++++++++
dlls/gdi/gdi32.spec | 2 +-
2 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/dlls/gdi/font.c b/dlls/gdi/font.c
index 1b10ad9..f94bda1 100644
--- a/dlls/gdi/font.c
+++ b/dlls/gdi/font.c
@@ -2883,6 +2883,15 @@ BOOL WINAPI RemoveFontResourceW( LPCWSTR
}
/***********************************************************************
+ * AddFontMemResourceEx (GDI32.@)
+ */
+HANDLE WINAPI AddFontMemResourceEx( PVOID pbFont, DWORD cbFont, PVOID pdv, DWORD *pcFonts)
+{
+ FIXME("(%p,%08lx,%p,%p): stub\n", pbFont, cbFont, pdv, pcFonts);
+ return NULL;
+}
+
+/***********************************************************************
* RemoveFontResourceExA (GDI32.@)
*/
BOOL WINAPI RemoveFontResourceExA( LPCSTR str, DWORD fl, PVOID pdv )
diff --git a/dlls/gdi/gdi32.spec b/dlls/gdi/gdi32.spec
index c52c458..c71adc6 100644
--- a/dlls/gdi/gdi32.spec
+++ b/dlls/gdi/gdi32.spec
@@ -7,7 +7,7 @@
@ stdcall AbortDoc(long)
@ stdcall AbortPath(long)
-# @ stub AddFontMemResourceEx
+@ stdcall AddFontMemResourceEx(ptr long ptr ptr)
@ stdcall AddFontResourceA(str)
@ stdcall AddFontResourceExA(str long ptr)
@ stdcall AddFontResourceExW(wstr long ptr)
More information about the wine-cvs
mailing list