Font Enumeration and Selection

Now that fonts have a charset property, multilingual applications should take advantage of two functions: the new EnumFontFamiliesEx function, which allows you to enumerate fonts based on charset; and the updated ChooseFont function, which displays a common dialog box that allows the user to select fonts based on charset.

Windows 95 still supports the API functions EnumFonts and EnumFontFamilies for compatibility with existing applications, but because they enumerate fonts based on typeface name only and ignore charset information, you should no longer use them.

rc = EnumFonts( hdc, lpsz, lpEnumProc, NULL );

rc = EnumFontFamilies( hdc, lpsz, lpEnumProc, NULL );