[PATCH] Add GdipSetStringFormatFlags stub

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Tue Jan 29 21:16:55 CST 2008


---
 dlls/gdiplus/gdiplus.spec   |    2 +-
 dlls/gdiplus/stringformat.c |   10 ++++++++++
 2 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index 2421b6a..33b474d 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -587,7 +587,7 @@
 @ stdcall GdipSetSolidFillColor(ptr ptr)
 @ stdcall GdipSetStringFormatAlign(ptr long)
 @ stub GdipSetStringFormatDigitSubstitution
-@ stub GdipSetStringFormatFlags
+@ stdcall GdipSetStringFormatFlags(ptr long)
 @ stdcall GdipSetStringFormatHotkeyPrefix(ptr long)
 @ stdcall GdipSetStringFormatLineAlign(ptr long)
 @ stub GdipSetStringFormatMeasurableCharacterRanges
diff --git a/dlls/gdiplus/stringformat.c b/dlls/gdiplus/stringformat.c
index e328ffb..d57e4ee 100644
--- a/dlls/gdiplus/stringformat.c
+++ b/dlls/gdiplus/stringformat.c
@@ -28,6 +28,9 @@
 
 #include "gdiplus.h"
 #include "gdiplus_private.h"
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(gdiplus);
 
 GpStatus WINGDIPAPI GdipCreateStringFormat(INT attr, LANGID lang,
     GpStringFormat **format)
@@ -142,3 +145,10 @@ GpStatus WINGDIPAPI GdipSetStringFormatTrimming(GpStringFormat *format,
 
     return Ok;
 }
+
+GpStatus WINGDIPAPI GdipSetStringFormatFlags(GDIPCONST GpStringFormat *format, INT flags)
+{
+    FIXME("format (%d) flags (%d)\n", (int)(format), flags);
+
+    return Ok;
+}
-- 
1.5.3.8


--------------020402060201090505000102--




More information about the wine-patches mailing list