From 6966c690b9517f8b220369764aeb1491ad1ed30f Mon Sep 17 00:00:00 2001 From: Adam Petaccia Date: Tue, 22 Jul 2008 23:07:41 -0400 Subject: [PATCH] gdiplus: Stub GdipGetFontCollectionFamilyCount. --- dlls/gdiplus/font.c | 11 +++++++++++ dlls/gdiplus/gdiplus.spec | 2 +- include/gdiplusflat.h | 1 + 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/dlls/gdiplus/font.c b/dlls/gdiplus/font.c index 1f7b187aa8e..401c1618cc8 100644 --- a/dlls/gdiplus/font.c +++ b/dlls/gdiplus/font.c @@ -664,3 +664,14 @@ GpStatus WINGDIPAPI GdipPrivateAddFontFile(GpFontCollection* fontCollection, return NotImplemented; } + +GpStatus WINGDIPAPI GdipGetFontCollectionFamilyCount( + GpFontCollection* fontCollection, INT* numFound) +{ + FIXME("stub: %p, %p\n", fontCollection, numFound); + + if (!(fontCollection && numFound)) + return InvalidParameter; + + return NotImplemented; +} diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec index 6b4773ad28c..ccb147e978a 100644 --- a/dlls/gdiplus/gdiplus.spec +++ b/dlls/gdiplus/gdiplus.spec @@ -265,7 +265,7 @@ @ stub GdipGetEncoderParameterListSize @ stub GdipGetFamily @ stdcall GdipGetFamilyName(ptr ptr long) -@ stub GdipGetFontCollectionFamilyCount +@ stdcall GdipGetFontCollectionFamilyCount(ptr ptr) @ stub GdipGetFontCollectionFamilyList @ stub GdipGetFontHeight @ stdcall GdipGetFontHeightGivenDPI(ptr long ptr) diff --git a/include/gdiplusflat.h b/include/gdiplusflat.h index 9e998c573a7..0c60f60c039 100644 --- a/include/gdiplusflat.h +++ b/include/gdiplusflat.h @@ -423,6 +423,7 @@ GpStatus WINGDIPAPI GdipGetGenericFontFamilyMonospace(GpFontFamily**); GpStatus WINGDIPAPI GdipNewPrivateFontCollection(GpFontCollection**); GpStatus WINGDIPAPI GdipDeletePrivateFontCollection(GpFontCollection**); GpStatus WINGDIPAPI GdipPrivateAddFontFile(GpFontCollection*, GDIPCONST WCHAR*); +GpStatus WINGDIPAPI GdipGetFontCollectionFamilyCount(GpFontCollection*, INT*); GpStatus WINGDIPAPI GdipCreateStringFormat(INT,LANGID,GpStringFormat**); GpStatus WINGDIPAPI GdipDeleteStringFormat(GpStringFormat*); -- 2.11.4.GIT