ENUMLOGFONTEXW structure (wingdi.h)

The ENUMLOGFONTEX structure contains information about an enumerated font.

Syntax

typedef struct tagENUMLOGFONTEXW {
  LOGFONTW elfLogFont;
  WCHAR    elfFullName[LF_FULLFACESIZE];
  WCHAR    elfStyle[LF_FACESIZE];
  WCHAR    elfScript[LF_FACESIZE];
} ENUMLOGFONTEXW, *LPENUMLOGFONTEXW;

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