From a95aea9282541b32623672921c0f560620118fef Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Wed, 9 Apr 2008 13:46:16 -0700 Subject: [PATCH 15/22] 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; +} -- 1.5.3.6