gdiplus: Add string format traces.

This commit is contained in:
Vincent Povirk 2009-05-13 15:30:24 -05:00 committed by Alexandre Julliard
parent 0f80aa8816
commit abae88a825
1 changed files with 16 additions and 0 deletions

View File

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