Commit abae88a8 authored by Vincent Povirk's avatar Vincent Povirk Committed by Alexandre Julliard

gdiplus: Add string format traces.

parent 0f80aa88
......@@ -35,6 +35,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(gdiplus);
GpStatus WINGDIPAPI GdipCreateStringFormat(INT attr, LANGID lang,
GpStringFormat **format)
{
TRACE("(%i, %x, %p)\n", attr, lang, format);
if(!format)
return InvalidParameter;
......@@ -189,6 +191,8 @@ GpStatus WINGDIPAPI GdipGetStringFormatTrimming(GpStringFormat *format,
GpStatus WINGDIPAPI GdipSetStringFormatAlign(GpStringFormat *format,
StringAlignment align)
{
TRACE("(%p, %i)\n", format, align);
if(!format)
return InvalidParameter;
......@@ -201,6 +205,8 @@ GpStatus WINGDIPAPI GdipSetStringFormatAlign(GpStringFormat *format,
GpStatus WINGDIPAPI GdipSetStringFormatDigitSubstitution(GpStringFormat *format,
LANGID language, StringDigitSubstitute substitute)
{
TRACE("(%p, %x, %i)\n", format, language, substitute);
if(!format)
return InvalidParameter;
......@@ -213,6 +219,8 @@ GpStatus WINGDIPAPI GdipSetStringFormatDigitSubstitution(GpStringFormat *format,
GpStatus WINGDIPAPI GdipSetStringFormatHotkeyPrefix(GpStringFormat *format,
INT hkpx)
{
TRACE("(%p, %i)\n", format, hkpx);
if(!format || hkpx < 0 || hkpx > 2)
return InvalidParameter;
......@@ -224,6 +232,8 @@ GpStatus WINGDIPAPI GdipSetStringFormatHotkeyPrefix(GpStringFormat *format,
GpStatus WINGDIPAPI GdipSetStringFormatLineAlign(GpStringFormat *format,
StringAlignment align)
{
TRACE("(%p, %i)\n", format, align);
if(!format)
return InvalidParameter;
......@@ -246,6 +256,8 @@ GpStatus WINGDIPAPI GdipSetStringFormatMeasurableCharacterRanges(GpStringFormat*
GpStatus WINGDIPAPI GdipSetStringFormatTabStops(GpStringFormat *format, REAL firsttab,
INT count, GDIPCONST REAL *tabs)
{
TRACE("(%p, %0.2f, %i, %p)\n", format, firsttab, count, tabs);
if(!format || !tabs)
return InvalidParameter;
......@@ -276,6 +288,8 @@ GpStatus WINGDIPAPI GdipSetStringFormatTabStops(GpStringFormat *format, REAL fir
GpStatus WINGDIPAPI GdipSetStringFormatTrimming(GpStringFormat *format,
StringTrimming trimming)
{
TRACE("(%p, %i)\n", format, trimming);
if(!format)
return InvalidParameter;
......@@ -286,6 +300,8 @@ GpStatus WINGDIPAPI GdipSetStringFormatTrimming(GpStringFormat *format,
GpStatus WINGDIPAPI GdipSetStringFormatFlags(GpStringFormat *format, INT flags)
{
TRACE("(%p, %x)\n", format, flags);
if(!format)
return InvalidParameter;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment