GdipCreateFontFamilyFromName(3w)

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".

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.