From 9ef1de9f365598ffdcd86b02fcca95756e3dee3d Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Wed, 9 Apr 2008 13:48:21 -0700 Subject: [PATCH 17/22] gdiplus: add a stub for GdipSetInfinite. --- dlls/gdiplus/gdiplus.spec | 2 +- dlls/gdiplus/region.c | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletions(-) diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec index b951d65..58e913e 100644 --- a/dlls/gdiplus/gdiplus.spec +++ b/dlls/gdiplus/gdiplus.spec @@ -533,7 +533,7 @@ @ stdcall GdipSetImageAttributesToIdentity(ptr long) @ stdcall GdipSetImageAttributesWrapMode(ptr long long long) @ stdcall GdipSetImagePalette(ptr ptr) -@ stub GdipSetInfinite +@ stdcall GdipSetInfinite(ptr) @ stdcall GdipSetInterpolationMode(ptr long) @ stdcall GdipSetLineBlend(ptr ptr ptr long) @ stub GdipSetLineColors diff --git a/dlls/gdiplus/region.c b/dlls/gdiplus/region.c index 9656f4e..92da580 100644 --- a/dlls/gdiplus/region.c +++ b/dlls/gdiplus/region.c @@ -39,3 +39,13 @@ GpStatus WINGDIPAPI GdipSetEmpty(GpRegion *region) return NotImplemented; } + +GpStatus WINGDIPAPI GdipSetInfinite(GpRegion *region) +{ + static int calls; + + if(!(calls++)) + FIXME("not implemented\n"); + + return NotImplemented; +} -- 1.5.3.6