[PATCH 4/9] gdiplus: add a stub for GdipSetInfinite.

Lei Zhang thestig at google.com
Thu Apr 10 14:40:16 CDT 2008


---
 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




More information about the wine-patches mailing list