Lei Zhang : gdiplus: Add a stub for GdipSetImageAttributesNoOp.

Alexandre Julliard julliard at winehq.org
Thu Apr 10 04:39:29 CDT 2008


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

Author: Lei Zhang <thestig at google.com>
Date:   Wed Apr  9 13:16:32 2008 -0700

gdiplus: Add a stub for GdipSetImageAttributesNoOp.

---

 dlls/gdiplus/gdiplus.spec      |    2 +-
 dlls/gdiplus/imageattributes.c |   11 +++++++++++
 2 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index 1c4b727..b9d4c59 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -525,7 +525,7 @@
 @ stdcall GdipSetImageAttributesColorKeys(ptr long long long long)
 @ stdcall GdipSetImageAttributesColorMatrix(ptr long long ptr ptr long)
 @ stdcall GdipSetImageAttributesGamma(ptr long long long)
-@ stub GdipSetImageAttributesNoOp
+@ stdcall GdipSetImageAttributesNoOp(ptr long long)
 @ stub GdipSetImageAttributesOutputChannel
 @ stub GdipSetImageAttributesOutputChannelColorProfile
 @ stub GdipSetImageAttributesRemapTable
diff --git a/dlls/gdiplus/imageattributes.c b/dlls/gdiplus/imageattributes.c
index ab47d1d..5562c91 100644
--- a/dlls/gdiplus/imageattributes.c
+++ b/dlls/gdiplus/imageattributes.c
@@ -112,3 +112,14 @@ GpStatus WINGDIPAPI GdipSetImageAttributesGamma(GpImageAttributes *imageAttr,
 
     return NotImplemented;
 }
+
+GpStatus WINGDIPAPI GdipSetImageAttributesNoOp(GpImageAttributes *imageAttr,
+    ColorAdjustType type, BOOL enableFlag)
+{
+    static int calls;
+
+    if(!(calls++))
+        FIXME("not implemented\n");
+
+    return NotImplemented;
+}




More information about the wine-cvs mailing list