From ca1c26b9d3afaa32437b09ed0d95e42c99ec0c2e Mon Sep 17 00:00:00 2001 From: Louis Lenders Date: Tue, 6 Dec 2005 11:32:41 +0100 Subject: [PATCH] gdi: Added stub for AddFontMemResourceEx. --- dlls/gdi/font.c | 9 +++++++++ dlls/gdi/gdi32.spec | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/dlls/gdi/font.c b/dlls/gdi/font.c index 1b10ad9d9a1..f94bda158af 100644 --- a/dlls/gdi/font.c +++ b/dlls/gdi/font.c @@ -2882,6 +2882,15 @@ BOOL WINAPI RemoveFontResourceW( LPCWSTR str ) return RemoveFontResourceExW(str, 0, 0); } +/*********************************************************************** + * 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.@) */ diff --git a/dlls/gdi/gdi32.spec b/dlls/gdi/gdi32.spec index c52c458f235..c71adc63eea 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)