Lei Zhang : gdiplus: Add a stub for GdipSetImageAttributesToIdentity.

Alexandre Julliard julliard at winehq.org
Fri Apr 11 06:28:08 CDT 2008


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

Author: Lei Zhang <thestig at google.com>
Date:   Thu Apr 10 12:40:15 2008 -0700

gdiplus: Add a stub for GdipSetImageAttributesToIdentity.

---

 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 caf8864..b951d65 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -530,7 +530,7 @@
 @ stdcall GdipSetImageAttributesOutputChannelColorProfile(ptr long long ptr)
 @ stdcall GdipSetImageAttributesRemapTable(ptr long long long ptr)
 @ stdcall GdipSetImageAttributesThreshold(ptr long long long)
-@ stub GdipSetImageAttributesToIdentity
+@ stdcall GdipSetImageAttributesToIdentity(ptr long)
 @ stdcall GdipSetImageAttributesWrapMode(ptr long long long)
 @ stdcall GdipSetImagePalette(ptr ptr)
 @ stub GdipSetInfinite
diff --git a/dlls/gdiplus/imageattributes.c b/dlls/gdiplus/imageattributes.c
index 879c443..858ea15 100644
--- a/dlls/gdiplus/imageattributes.c
+++ b/dlls/gdiplus/imageattributes.c
@@ -169,3 +169,14 @@ GpStatus WINGDIPAPI GdipSetImageAttributesThreshold(GpImageAttributes *imageAttr
 
     return NotImplemented;
 }
+
+GpStatus WINGDIPAPI GdipSetImageAttributesToIdentity(GpImageAttributes *imageAttr,
+    ColorAdjustType type)
+{
+    static int calls;
+
+    if(!(calls++))
+        FIXME("not implemented\n");
+
+    return NotImplemented;
+}




More information about the wine-cvs mailing list