WORD EnumDFontsCallback(
LPLOGFONT lpLogFont,
LPTEXTMETRICS lpTextMetrics,
WORD wFontType,
LPVOID lpClientData
);
Enumerates the available fonts on a device.
RASTER_FONTTYPE (1) | Font consists of raster bitmaps rather than vector strokes. |
DEVICE_FONTTYPE (2) | Font is provided by the device rather than GDI. |
ENGINE_FONTTYPE (4) | Font is provided by TrueType rather than GDI or device. |
Bit 3 in the wFontType parameter is reserved; must be zero.
The callback function must return a nonzero value to continue to receive information about the fonts. If the callback function returns zero, EnumDFonts stops enumerating the fonts and returns to GDI.
EnumDFonts, LOGFONT, TEXTMETRIC