原文链接 -> 传送门
ENUMLOGFONTEX 结构
ENUMLOGFONTEX 结构包含枚举类型字体的信息。
结构原型:
typedef struct tagENUMLOGFONTEX {
LOGFONT elfLogFont;
TCHAR elfFullName[LF_FULLFACESIZE];
TCHAR elfStyle[LF_FACESIZE];
TCHAR elfScript[LF_FACESIZE];
} ENUMLOGFONTEX, *LPENUMLOGFONTEX;
成员解析:
|
成员 |
含义 |
|
elfLogFont |
定义字体属性的 LOGFONT 结构 |
|
elfFullName |
字体名称标识符。例如,ABC Font Company TrueType Bold Italic Sans Serif |
|
elfStyle |
字体风格。例如,粗斜体(Bold Italic) |
|
elfScript |
字体脚本字符集。例如,斯拉夫字母(Cyrillic) |
需求:
|
Minimum supported client |
Windows 2000 专业版 [仅桌面应用程序] |
|
Minimum supported server |
Windows 2000 服务器版 [仅桌面应用程序] |
|
Header |
Winuser.h (包含于 Windows.h) |
|
Unicode and ANSI names |
ENUMLOGFONTEXW (Unicode) 和 ENUMLOGFONTEXA (ANSI) |




