[PATCH] Add GdipIsVisibleRectI stub

Ken Sharp kennybobs at o2.co.uk
Thu Aug 6 02:45:39 CDT 2009


---
 dlls/gdiplus/gdiplus.spec |    2 +-
 dlls/gdiplus/graphics.c   |    9 +++++++++
 2 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index 1727e30..8863c37 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -430,7 +430,7 @@
 @ stdcall GdipIsVisiblePoint(ptr long long ptr)
 @ stdcall GdipIsVisiblePointI(ptr long long ptr)
 @ stub GdipIsVisibleRect
-@ stub GdipIsVisibleRectI
+@ stdcall GdipIsVisibleRectI(ptr long long long long ptr)
 @ stub GdipIsVisibleRegionPoint
 @ stdcall GdipIsVisibleRegionPointI(ptr long long ptr ptr)
 @ stub GdipIsVisibleRegionRect
diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c
index 642a22f..10799c7 100644
--- a/dlls/gdiplus/graphics.c
+++ b/dlls/gdiplus/graphics.c
@@ -4107,3 +4107,12 @@ GpStatus WINGDIPAPI GdipRecordMetafileI(HDC hdc, EmfType type, GDIPCONST GpRect
     FIXME("(%p %d %p %d %p %p): stub\n", hdc, type, frameRect, frameUnit, desc, metafile);
     return NotImplemented;
 }
+
+/*****************************************************************************
+ * GdipIsVisibleRectI [GDIPLUS.@]
+ */
+GpStatus WINGDIPAPI GdipIsVisibleRectI(GpGraphics *graphics, INT x, INT y, INT width, INT height, BOOL *result)
+{
+    FIXME("(%p %d %d %d %d %p): stub\n", graphics, x, y, width, height, result);
+    return NotImplemented;
+}
-- 
1.5.6.3


--------------050909010604020602050502--



More information about the wine-patches mailing list