Clemens Tamme : gdiplus: Write API for GdipClonePath.

Alexandre Julliard julliard at winehq.org
Mon Jun 26 15:17:51 CDT 2017


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

Author: Clemens Tamme <clemens.tamme at gmail.com>
Date:   Wed Jun 21 21:40:35 2017 +0200

gdiplus: Write API for GdipClonePath.

Signed-off-by: Clemens Tamme <clemens.tamme at gmail.com>
Signed-off-by: Vincent Povirk <vincent at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/gdiplus/graphicspath.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/dlls/gdiplus/graphicspath.c b/dlls/gdiplus/graphicspath.c
index 90d15bb..815ce34 100644
--- a/dlls/gdiplus/graphicspath.c
+++ b/dlls/gdiplus/graphicspath.c
@@ -1087,6 +1087,20 @@ GpStatus WINGDIPAPI GdipAddPathStringI(GpPath* path, GDIPCONST WCHAR* string, IN
     return InvalidParameter;
 }
 
+/*************************************************************************
+ * GdipClonePath   [GDIPLUS.53]
+ *
+ * Duplicate the given path in memory.
+ *
+ * PARAMS
+ *  path  [I] The path to be duplicated
+ *  clone [O] Pointer to the new path
+ *
+ * RETURNS
+ *  InvalidParameter If the input path is invalid
+ *  OutOfMemory      If allocation of needed memory fails
+ *  Ok               If everything works out as expected
+ */
 GpStatus WINGDIPAPI GdipClonePath(GpPath* path, GpPath **clone)
 {
     TRACE("(%p, %p)\n", path, clone);




More information about the wine-cvs mailing list