From: Clemens Tamme Subject: [PATCH] gdiplus: Write API for GdipClonePath Message-Id: <1498074035-29844-1-git-send-email-clemens.tamme@gmail.com> Date: Wed, 21 Jun 2017 21:40:35 +0200 This is a pure API patch. A documentation is written for GdipClonePath function in graphicspath.c Signed-off-by: Clemens Tamme --- 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