[Gdiplus 01/15] Stub GdipStringFormatGetGenericDefault
Adam Petaccia
adam at tpetaccia.com
Wed Jul 9 02:33:17 CDT 2008
---
dlls/gdiplus/gdiplus.spec | 2 +-
dlls/gdiplus/stringformat.c | 10 ++++++++++
include/gdiplusflat.h | 1 +
3 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index f62ccaa..8d13e9e 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -600,7 +600,7 @@
@ stdcall GdipSetWorldTransform(ptr ptr)
@ stdcall GdipShearMatrix(ptr long long long)
@ stdcall GdipStartPathFigure(ptr)
-@ stub GdipStringFormatGetGenericDefault
+@ stdcall GdipStringFormatGetGenericDefault(ptr)
@ stub GdipStringFormatGetGenericTypographic
@ stub GdipTestControl
@ stdcall GdipTransformMatrixPoints(ptr ptr long)
diff --git a/dlls/gdiplus/stringformat.c b/dlls/gdiplus/stringformat.c
index bd5d6ad..87aa113 100644
--- a/dlls/gdiplus/stringformat.c
+++ b/dlls/gdiplus/stringformat.c
@@ -58,6 +58,16 @@ GpStatus WINGDIPAPI GdipDeleteStringFormat(GpStringFormat *format)
return Ok;
}
+GpStatus WINGDIPAPI GdipStringFormatGetGenericDefault(GpStringFormat **format)
+{
+ if (!format)
+ return InvalidParameter;
+
+ FIXME("stub: %p\n", format);
+
+ return NotImplemented;
+}
+
GpStatus WINGDIPAPI GdipGetStringFormatAlign(GpStringFormat *format,
StringAlignment *align)
{
diff --git a/include/gdiplusflat.h b/include/gdiplusflat.h
index 1cc90c5..3d3d9ee 100644
--- a/include/gdiplusflat.h
+++ b/include/gdiplusflat.h
@@ -394,6 +394,7 @@ GpStatus WINGDIPAPI GdipGetGenericFontFamilyMonospace(GpFontFamily**);
GpStatus WINGDIPAPI GdipCreateStringFormat(INT,LANGID,GpStringFormat**);
GpStatus WINGDIPAPI GdipDeleteStringFormat(GpStringFormat*);
+GpStatus WINGDIPAPI GdipStringFormatGetGenericDefault(GpStringFormat **);
GpStatus WINGDIPAPI GdipGetStringFormatAlign(GpStringFormat*,StringAlignment*);
GpStatus WINGDIPAPI GdipGetStringFormatHotkeyPrefix(GDIPCONST GpStringFormat*,INT*);
GpStatus WINGDIPAPI GdipGetStringFormatLineAlign(GpStringFormat*,StringAlignment*);
--
1.5.4.3
More information about the wine-patches
mailing list