Evan Stade : gdiplus: Added GdipLoadImageFromStreamICM stub.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Jul 25 07:44:23 CDT 2007


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

Author: Evan Stade <estade at gmail.com>
Date:   Tue Jul 24 17:19:21 2007 -0700

gdiplus: Added GdipLoadImageFromStreamICM stub.

---

 dlls/gdiplus/gdiplus.spec |    2 +-
 dlls/gdiplus/image.c      |   18 ++++++++++++++++++
 2 files changed, 19 insertions(+), 1 deletions(-)

diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index d21fd80..74ba047 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 2bb4396..f7c56a3 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 <stdarg.h>
+
 #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;
+}




More information about the wine-cvs mailing list