gdiplus: Write API for GdipClonePath.

Signed-off-by: Clemens Tamme <clemens.tamme@gmail.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Clemens Tamme 2017-06-21 21:40:35 +02:00 committed by Alexandre Julliard
parent f96e319ab5
commit f1123f3578
1 changed files with 14 additions and 0 deletions

View File

@ -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);