Module: wine Branch: master Commit: 2b2db98cb6839b0baddf092ce0dd15409ec9fead URL: http://source.winehq.org/git/wine.git/?a=commit;h=2b2db98cb6839b0baddf092ce0...
Author: Lei Zhang thestig@google.com Date: Wed Apr 9 13:09:58 2008 -0700
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; +}