[Gdiplus 04/15] stub GdipGetStringFormatMeasurableCharacterRangeCount

Adam Petaccia adam at tpetaccia.com
Wed Jul 9 02:33:35 CDT 2008


---
 dlls/gdiplus/gdiplus.spec   |    2 +-
 dlls/gdiplus/stringformat.c |   11 +++++++++++
 include/gdiplusflat.h       |    2 ++
 3 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index 682d7eb..f159981 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 d832ce8..26ce3ed 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 06b2794..64d128a 100644
--- a/include/gdiplusflat.h
+++ b/include/gdiplusflat.h
@@ -399,6 +399,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);
-- 
1.5.4.3




More information about the wine-patches mailing list