Module: wine Branch: master Commit: ae817aea09171120c6e7465aa79d485947970503 URL: http://source.winehq.org/git/wine.git/?a=commit;h=ae817aea09171120c6e7465aa7...
Author: Adam Petaccia adam@tpetaccia.com Date: Wed Jul 9 03:33:17 2008 -0400
gdiplus: Stub GdipStringFormatGetGenericDefault.
---
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 3836b68..1e19e38 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 854039c..f782ece 100644 --- a/include/gdiplusflat.h +++ b/include/gdiplusflat.h @@ -403,6 +403,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*);