Adam Petaccia : gdiplus: Stub GdipGetStringFormatMeasurableCharacterRangeCount.

Alexandre Julliard julliard at winehq.org
Thu Jul 10 08:58:43 CDT 2008


Module: wine
Branch: master
Commit: ae443728e98b476899fcbd5945c8fc4fa358196a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ae443728e98b476899fcbd5945c8fc4fa358196a

Author: Adam Petaccia <adam at tpetaccia.com>
Date:   Wed Jul  9 03:33:35 2008 -0400

gdiplus: Stub GdipGetStringFormatMeasurableCharacterRangeCount.

---

 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 1182133..5660ad7 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 0e6518e..b36afd4 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);




More information about the wine-cvs mailing list