From 875a56ec398a42dd9576ae93b8b753e2f7091bf9 Mon Sep 17 00:00:00 2001 From: Evan Stade Date: Tue, 24 Jul 2007 17:19:21 -0700 Subject: [PATCH] gdiplus: Added GdipLoadImageFromStreamICM stub. --- dlls/gdiplus/gdiplus.spec | 2 +- dlls/gdiplus/image.c | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec index d21fd804576..74ba0473bf5 100644 --- a/dlls/gdiplus/gdiplus.spec +++ b/dlls/gdiplus/gdiplus.spec @@ -419,7 +419,7 @@ @ stub GdipLoadImageFromFile @ stub GdipLoadImageFromFileICM @ stub GdipLoadImageFromStream -@ stub GdipLoadImageFromStreamICM +@ stdcall GdipLoadImageFromStreamICM(ptr ptr) @ stub GdipMeasureCharacterRanges @ stub GdipMeasureDriverString @ stub GdipMeasureString diff --git a/dlls/gdiplus/image.c b/dlls/gdiplus/image.c index 2bb4396a0ef..f7c56a3c0e1 100644 --- a/dlls/gdiplus/image.c +++ b/dlls/gdiplus/image.c @@ -16,8 +16,13 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +#include + #include "windef.h" +#include "winbase.h" #include "wingdi.h" +#include "objbase.h" + #include "gdiplus.h" #include "gdiplus_private.h" #include "wine/debug.h" @@ -128,3 +133,16 @@ GpStatus WINGDIPAPI GdipImageGetFrameCount(GpImage *image, return NotImplemented; } + +GpStatus WINGDIPAPI GdipLoadImageFromStreamICM(IStream* stream, GpImage **image) +{ + static int calls; + + if(!stream || !image) + return InvalidParameter; + + if(!(calls++)) + FIXME("not implemented\n"); + + return NotImplemented; +}