Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This function enumerates the fonts in a specified font family that are available on a specified device. This function supersedes the EnumFonts function.
intEnumFontFamilies(HDChdc, LPCTSTRlpszFamily, FONTENUMPROClpEnumFontFamProc, LPARAMlParam);
The return value is the last value returned by the callback function. The application defines the meaning of the return value.
For each font that has the typeface name specified by the lpszFamily parameter, the EnumFontFamilies function retrieves information about that font and passes the information to the function to which the lpEnumFontFamProc parameter points. The application-defined callback function can process the font information as desired. Enumeration continues until no fonts remain or until the callback function returns zero.
Windows CE 2.0 and later support systems that use either TrueType or raster fonts, but not both. The OEM chooses the font type, raster or TrueType, at system design time, and the application cannot be change the font type.
Windows CE 1.0 and 1.01 support only raster fonts.
OS Versions: Windows CE 1.0 and later.
Header: Windows.h.
Link Library: Coredll.lib.
Send Feedback on this topic to the authors
Please sign in to use this experience.
Sign in