Vincent Povirk : gdiplus: Stub GdipGetPenCompoundCount.

Alexandre Julliard julliard at winehq.org
Mon Jul 19 11:05:38 CDT 2010


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

Author: Vincent Povirk <vincent at codeweavers.com>
Date:   Sat Jun 19 17:52:39 2010 -0500

gdiplus: Stub GdipGetPenCompoundCount.

---

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

diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index 6d07cb5..6129356 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -351,7 +351,7 @@
 @ stdcall GdipGetPenBrushFill(ptr ptr)
 @ stdcall GdipGetPenColor(ptr ptr)
 @ stub GdipGetPenCompoundArray
-@ stub GdipGetPenCompoundCount
+@ stdcall GdipGetPenCompoundCount(ptr ptr)
 @ stdcall GdipGetPenCustomEndCap(ptr ptr)
 @ stdcall GdipGetPenCustomStartCap(ptr ptr)
 @ stdcall GdipGetPenDashArray(ptr ptr long)
diff --git a/dlls/gdiplus/pen.c b/dlls/gdiplus/pen.c
index 930317c..9b23ebe 100644
--- a/dlls/gdiplus/pen.c
+++ b/dlls/gdiplus/pen.c
@@ -443,6 +443,16 @@ GpStatus WINGDIPAPI GdipSetPenColor(GpPen *pen, ARGB argb)
     return GdipSetSolidFillColor(((GpSolidFill*)pen->brush), argb);
 }
 
+GpStatus WINGDIPAPI GdipGetPenCompoundCount(GpPen *pen, INT *count)
+{
+    FIXME("(%p, %p): stub\n", pen, count);
+
+    if (!pen || !count)
+        return InvalidParameter;
+
+    return NotImplemented;
+}
+
 GpStatus WINGDIPAPI GdipSetPenCompoundArray(GpPen *pen, GDIPCONST REAL *dash,
     INT count)
 {




More information about the wine-cvs mailing list