From 8e45f16ae008438f1f53b512dae2304537e8df4b Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Wed, 9 Apr 2008 13:47:08 -0700 Subject: [PATCH 16/22] gdiplus: add a stub for GdipSetImageAttributesToIdentity. --- 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