ENUMLOGFONTA structure (wingdi.h)

The ENUMLOGFONT structure defines the attributes of a font, the complete name of a font, and the style of a font.

Syntax

typedef struct tagENUMLOGFONTA {
  LOGFONTA elfLogFont;
  BYTE     elfFullName[LF_FULLFACESIZE];
  BYTE     elfStyle[LF_FACESIZE];
} ENUMLOGFONTA, *LPENUMLOGFONTA;

Members

elfLogFont

A LOGFONT structure that defines the attributes of a font.

elfFullName[LF_FULLFACESIZE]

A unique name for the font. For example, ABCD Font Company TrueType Bold Italic Sans Serif.

elfStyle[LF_FACESIZE]

The style of the font. For example, Bold Italic.

Remarks

Note

The wingdi.h header defines ENUMLOGFONT as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header wingdi.h (include Windows.h)

See also

EnumFontFamProc

Font and Text Structures

Fonts and Text Overview

LOGFONT