[PATCH 3/9] gdiplus: add a stub for GdipSetImageAttributesToIdentity.

Lei Zhang thestig at google.com
Thu Apr 10 14:40:15 CDT 2008


---
 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;
+}
-- 
1.5.3.6




More information about the wine-patches mailing list