ENUMLOGFONTEXA structure (wingdi.h)

The ENUMLOGFONTEX structure contains information about an enumerated font.

Syntax

typedef struct tagENUMLOGFONTEXA {
  LOGFONTA elfLogFont;
  BYTE     elfFullName[LF_FULLFACESIZE];
  BYTE     elfStyle[LF_FACESIZE];
  BYTE     elfScript[LF_FACESIZE];
} ENUMLOGFONTEXA, *LPENUMLOGFONTEXA;

Members

elfLogFont

A LOGFONT structure that contains values defining the font attributes.

elfFullName[LF_FULLFACESIZE]

The unique name of the font. For example, ABC Font Company TrueType Bold Italic Sans Serif.

elfStyle[LF_FACESIZE]

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

elfScript[LF_FACESIZE]

The script, that is, the character set, of the font. For example, Cyrillic.

Remarks

Note

The wingdi.h header defines ENUMLOGFONTEX as an alias that 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 is 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

EnumFontFamExProc

EnumFontFamiliesEx

Font and Text Structures

Fonts and Text Overview

LOGFONT