Lei Zhang : gdiplus: Add a stub for GdipSetInfinite.

Alexandre Julliard julliard at winehq.org
Fri Apr 11 06:28:10 CDT 2008


Module: wine
Branch: master
Commit: 0fe2f5b67716c18b074c60b341f9a7c602b41408
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0fe2f5b67716c18b074c60b341f9a7c602b41408

Author: Lei Zhang <thestig at google.com>
Date:   Thu Apr 10 12:40:16 2008 -0700

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;
+}




More information about the wine-cvs mailing list