[Gdiplus 5/9] Stub GdipGetFontStyle
Adam Petaccia
adam at tpetaccia.com
Sat Aug 16 22:28:58 CDT 2008
---
dlls/gdiplus/font.c | 7 +++++++
dlls/gdiplus/gdiplus.spec | 2 +-
include/gdiplusflat.h | 1 +
3 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/dlls/gdiplus/font.c b/dlls/gdiplus/font.c
index c04ac27..38fd8d0 100644
--- a/dlls/gdiplus/font.c
+++ b/dlls/gdiplus/font.c
@@ -301,6 +301,13 @@ GpStatus WINGDIPAPI GdipGetFontSize(GpFont *font, REAL *size)
return Ok;
}
+GpStatus WINGDIPAPI GdipGetFontStyle(GpFont *font, INT *style)
+{
+ FIXME("stub: %p %p\n", font, style);
+
+ return NotImplemented;
+}
+
/*******************************************************************************
* GdipGetFontUnit [GDIPLUS.@]
*
diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index 7c4408f..f1ad0d4 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -270,7 +270,7 @@
@ stub GdipGetFontHeight
@ stdcall GdipGetFontHeightGivenDPI(ptr long ptr)
@ stdcall GdipGetFontSize(ptr ptr)
-@ stub GdipGetFontStyle
+@ stdcall GdipGetFontStyle(ptr ptr)
@ stdcall GdipGetFontUnit(ptr ptr)
@ stdcall GdipGetGenericFontFamilyMonospace(ptr)
@ stdcall GdipGetGenericFontFamilySansSerif(ptr)
diff --git a/include/gdiplusflat.h b/include/gdiplusflat.h
index ed4f0cb..17fae9c 100644
--- a/include/gdiplusflat.h
+++ b/include/gdiplusflat.h
@@ -424,6 +424,7 @@ GpStatus WINGDIPAPI GdipCloneFont(GpFont*,GpFont**);
GpStatus WINGDIPAPI GdipGetFamily(GpFont*, GpFontFamily**);
GpStatus WINGDIPAPI GdipGetFontUnit(GpFont*, Unit*);
GpStatus WINGDIPAPI GdipGetFontSize(GpFont*, REAL*);
+GpStatus WINGDIPAPI GdipGetFontStyle(GpFont*, INT*);
GpStatus WINGDIPAPI GdipGetFontHeightGivenDPI(GDIPCONST GpFont*, REAL, REAL*);
GpStatus WINGDIPAPI GdipCreateFontFamilyFromName(GDIPCONST WCHAR*,
--
1.5.4.3
More information about the wine-patches
mailing list