gdiplus: Implement GdipCloneStringFormat.
This commit is contained in:
parent
04b820c354
commit
6ba525d8c4
@ -58,7 +58,7 @@
|
|||||||
@ stdcall GdipClonePath(ptr ptr)
|
@ stdcall GdipClonePath(ptr ptr)
|
||||||
@ stdcall GdipClonePen(ptr ptr)
|
@ stdcall GdipClonePen(ptr ptr)
|
||||||
@ stub GdipCloneRegion
|
@ stub GdipCloneRegion
|
||||||
@ stub GdipCloneStringFormat
|
@ stdcall GdipCloneStringFormat(ptr ptr)
|
||||||
@ stdcall GdipClosePathFigure(ptr)
|
@ stdcall GdipClosePathFigure(ptr)
|
||||||
@ stdcall GdipClosePathFigures(ptr)
|
@ stdcall GdipClosePathFigures(ptr)
|
||||||
@ stub GdipCombineRegionPath
|
@ stub GdipCombineRegionPath
|
||||||
|
@ -152,3 +152,18 @@ GpStatus WINGDIPAPI GdipSetStringFormatFlags(GDIPCONST GpStringFormat *format, I
|
|||||||
|
|
||||||
return Ok;
|
return Ok;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GpStatus WINGDIPAPI GdipCloneStringFormat(GDIPCONST GpStringFormat *format, GpStringFormat **newFormat)
|
||||||
|
{
|
||||||
|
if(!format || !newFormat)
|
||||||
|
return InvalidParameter;
|
||||||
|
|
||||||
|
*newFormat = GdipAlloc(sizeof(GpStringFormat));
|
||||||
|
if(!*newFormat) return OutOfMemory;
|
||||||
|
|
||||||
|
**newFormat = *format;
|
||||||
|
|
||||||
|
TRACE("%p %p\n",format,newFormat);
|
||||||
|
|
||||||
|
return Ok;
|
||||||
|
}
|
||||||
|
@ -316,6 +316,7 @@ GpStatus WINGDIPAPI GdipSetStringFormatAlign(GpStringFormat*,StringAlignment);
|
|||||||
GpStatus WINGDIPAPI GdipSetStringFormatHotkeyPrefix(GpStringFormat*,INT);
|
GpStatus WINGDIPAPI GdipSetStringFormatHotkeyPrefix(GpStringFormat*,INT);
|
||||||
GpStatus WINGDIPAPI GdipSetStringFormatLineAlign(GpStringFormat*,StringAlignment);
|
GpStatus WINGDIPAPI GdipSetStringFormatLineAlign(GpStringFormat*,StringAlignment);
|
||||||
GpStatus WINGDIPAPI GdipSetStringFormatTrimming(GpStringFormat*,StringTrimming);
|
GpStatus WINGDIPAPI GdipSetStringFormatTrimming(GpStringFormat*,StringTrimming);
|
||||||
|
GpStatus WINGDIPAPI GdipCloneStringFormat(GDIPCONST GpStringFormat*,GpStringFormat**);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user