GdipCreateFontFamilyFromName3w
Usage
GpStatus WINGDIPAPI GdipCreateFontFamilyFromName
(
GDIPCONST WCHAR* name,
GpFontCollection* fontCollection,
GpFontFamily** FontFamily
)
Overview
Creates a font family object based on a supplied name.
Params
name [In] Name of the font.
fontCollection [In] What font collection (if any) the font belongs to (may be NULL).
FontFamily [Out] Pointer to the resulting FontFamily object.
Returns
SUCCESS: Ok
FAILURE: FamilyNotFound if the requested FontFamily does not exist on the system
FAILURE: Invalid parameter if FontFamily or name is NULL.
Notes
If fontCollection is NULL then the object is not part of any collection
Implementation
Declared in "gdiplusflat.h".
Implemented in "dlls/gdiplus/font.c".