From ad685a3fb7c38a2401a0302f22ffa7ca1b1dedff Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Wed, 9 Apr 2008 13:09:58 -0700 Subject: [PATCH 09/22] gdiplus: add a stub for GdipSetImageAttributesCachedBackground. --- 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 865eb78..0c2ae87 100644 --- a/dlls/gdiplus/gdiplus.spec +++ b/dlls/gdiplus/gdiplus.spec @@ -521,7 +521,7 @@ @ stdcall GdipSetCustomLineCapWidthScale(ptr long) @ stdcall GdipSetEffectParameters(ptr ptr long) @ stdcall GdipSetEmpty(ptr) -@ stub GdipSetImageAttributesCachedBackground +@ stdcall GdipSetImageAttributesCachedBackground(ptr long) @ stdcall GdipSetImageAttributesColorKeys(ptr long long long long) @ stdcall GdipSetImageAttributesColorMatrix(ptr long long ptr ptr long) @ stub GdipSetImageAttributesGamma diff --git a/dlls/gdiplus/imageattributes.c b/dlls/gdiplus/imageattributes.c index ac6caa5..4b08151 100644 --- a/dlls/gdiplus/imageattributes.c +++ b/dlls/gdiplus/imageattributes.c @@ -90,3 +90,14 @@ GpStatus WINGDIPAPI GdipSetImageAttributesWrapMode(GpImageAttributes *imageAttr, return NotImplemented; } + +GpStatus WINGDIPAPI GdipSetImageAttributesCachedBackground(GpImageAttributes *imageAttr, + BOOL enableFlag) +{ + static int calls; + + if(!(calls++)) + FIXME("not implemented\n"); + + return NotImplemented; +} -- 1.5.3.6