[PATCH 2/9] gdiplus: add a stub for GdipSetImageAttributesThreshold.

Lei Zhang thestig at google.com
Thu Apr 10 14:40:14 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 349e10f..caf8864 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -529,7 +529,7 @@
 @ stdcall GdipSetImageAttributesOutputChannel(ptr long long long)
 @ stdcall GdipSetImageAttributesOutputChannelColorProfile(ptr long long ptr)
 @ stdcall GdipSetImageAttributesRemapTable(ptr long long long ptr)
-@ stub GdipSetImageAttributesThreshold
+@ stdcall GdipSetImageAttributesThreshold(ptr long long long)
 @ stub GdipSetImageAttributesToIdentity
 @ stdcall GdipSetImageAttributesWrapMode(ptr long long long)
 @ stdcall GdipSetImagePalette(ptr ptr)
diff --git a/dlls/gdiplus/imageattributes.c b/dlls/gdiplus/imageattributes.c
index f4cecbe..879c443 100644
--- a/dlls/gdiplus/imageattributes.c
+++ b/dlls/gdiplus/imageattributes.c
@@ -158,3 +158,14 @@ GpStatus WINGDIPAPI GdipSetImageAttributesRemapTable(GpImageAttributes *imageAtt
 
     return NotImplemented;
 }
+
+GpStatus WINGDIPAPI GdipSetImageAttributesThreshold(GpImageAttributes *imageAttr,
+    ColorAdjustType type, BOOL enableFlag, REAL threshold)
+{
+    static int calls;
+
+    if(!(calls++))
+        FIXME("not implemented\n");
+
+    return NotImplemented;
+}
-- 
1.5.3.6




More information about the wine-patches mailing list