From ae443728e98b476899fcbd5945c8fc4fa358196a Mon Sep 17 00:00:00 2001 From: Adam Petaccia Date: Wed, 9 Jul 2008 03:33:35 -0400 Subject: [PATCH] gdiplus: Stub GdipGetStringFormatMeasurableCharacterRangeCount. --- dlls/gdiplus/gdiplus.spec | 2 +- dlls/gdiplus/stringformat.c | 11 +++++++++++ include/gdiplusflat.h | 2 ++ 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec index 11821338486..5660ad7a708 100644 --- a/dlls/gdiplus/gdiplus.spec +++ b/dlls/gdiplus/gdiplus.spec @@ -391,7 +391,7 @@ @ stdcall GdipGetStringFormatFlags(ptr ptr) @ stdcall GdipGetStringFormatHotkeyPrefix(ptr ptr) @ stdcall GdipGetStringFormatLineAlign(ptr ptr) -@ stub GdipGetStringFormatMeasurableCharacterRangeCount +@ stdcall GdipGetStringFormatMeasurableCharacterRangeCount(ptr ptr) @ stub GdipGetStringFormatTabStopCount @ stub GdipGetStringFormatTabStops @ stdcall GdipGetStringFormatTrimming(ptr ptr) diff --git a/dlls/gdiplus/stringformat.c b/dlls/gdiplus/stringformat.c index d832ce81b76..26ce3ed206e 100644 --- a/dlls/gdiplus/stringformat.c +++ b/dlls/gdiplus/stringformat.c @@ -112,6 +112,17 @@ GpStatus WINGDIPAPI GdipGetStringFormatLineAlign(GpStringFormat *format, return Ok; } +GpStatus WINGDIPAPI GdipGetStringFormatMeasurableCharacterRangeCount( + GDIPCONST GpStringFormat* format, INT* count) +{ + if (!(format && count)) + return InvalidParameter; + + FIXME("stub: %p %p\n", format, count); + + return NotImplemented; +} + GpStatus WINGDIPAPI GdipGetStringFormatTrimming(GpStringFormat *format, StringTrimming *trimming) { diff --git a/include/gdiplusflat.h b/include/gdiplusflat.h index 0e6518ec060..b36afd40b8c 100644 --- a/include/gdiplusflat.h +++ b/include/gdiplusflat.h @@ -408,6 +408,8 @@ GpStatus WINGDIPAPI GdipGetStringFormatAlign(GpStringFormat*,StringAlignment*); GpStatus WINGDIPAPI GdipGetStringFormatFlags(GDIPCONST GpStringFormat*, INT*); GpStatus WINGDIPAPI GdipGetStringFormatHotkeyPrefix(GDIPCONST GpStringFormat*,INT*); GpStatus WINGDIPAPI GdipGetStringFormatLineAlign(GpStringFormat*,StringAlignment*); +GpStatus WINGDIPAPI GdipGetStringFormatMeasurableCharacterRangeCount( + GDIPCONST GpStringFormat*, INT*); GpStatus WINGDIPAPI GdipGetStringFormatTrimming(GpStringFormat*,StringTrimming*); GpStatus WINGDIPAPI GdipSetStringFormatAlign(GpStringFormat*,StringAlignment); GpStatus WINGDIPAPI GdipSetStringFormatHotkeyPrefix(GpStringFormat*,INT); -- 2.11.4.GIT