Lei Zhang : gdiplus: Add a stub for GdipSetImageAttributesThreshold.

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


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

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

gdiplus: Add a stub for GdipSetImageAttributesThreshold.

---

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




More information about the wine-cvs mailing list