From 68f5cdb28e21d20dad925737485a163833960761 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Wed, 9 Apr 2008 13:16:32 -0700 Subject: [PATCH] gdiplus: Add a stub for GdipSetImageAttributesNoOp. --- dlls/gdiplus/gdiplus.spec | 2 +- dlls/gdiplus/imageattributes.c | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec index 1c4b727ff03..b9d4c59dd9f 100644 --- a/dlls/gdiplus/gdiplus.spec +++ b/dlls/gdiplus/gdiplus.spec @@ -525,7 +525,7 @@ @ stdcall GdipSetImageAttributesColorKeys(ptr long long long long) @ stdcall GdipSetImageAttributesColorMatrix(ptr long long ptr ptr long) @ stdcall GdipSetImageAttributesGamma(ptr long long long) -@ stub GdipSetImageAttributesNoOp +@ stdcall GdipSetImageAttributesNoOp(ptr long long) @ stub GdipSetImageAttributesOutputChannel @ stub GdipSetImageAttributesOutputChannelColorProfile @ stub GdipSetImageAttributesRemapTable diff --git a/dlls/gdiplus/imageattributes.c b/dlls/gdiplus/imageattributes.c index ab47d1dd6f0..5562c91dfb3 100644 --- a/dlls/gdiplus/imageattributes.c +++ b/dlls/gdiplus/imageattributes.c @@ -112,3 +112,14 @@ GpStatus WINGDIPAPI GdipSetImageAttributesGamma(GpImageAttributes *imageAttr, return NotImplemented; } + +GpStatus WINGDIPAPI GdipSetImageAttributesNoOp(GpImageAttributes *imageAttr, + ColorAdjustType type, BOOL enableFlag) +{ + static int calls; + + if(!(calls++)) + FIXME("not implemented\n"); + + return NotImplemented; +}