[PATCH] gdiplus: Write API for GdipClonePath
Clemens Tamme
clemens.tamme at gmail.com
Wed Jun 21 14:40:35 CDT 2017
This is a pure API patch. A documentation is written
for GdipClonePath function in graphicspath.c
Signed-off-by: Clemens Tamme <clemens.tamme at gmail.com>
---
dlls/gdiplus/graphicspath.c | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/dlls/gdiplus/graphicspath.c b/dlls/gdiplus/graphicspath.c
index e34f4ed..28f3768 100644
--- a/dlls/gdiplus/graphicspath.c
+++ b/dlls/gdiplus/graphicspath.c
@@ -1058,6 +1058,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);
--
2.7.4
More information about the wine-patches
mailing list