Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Win 2 API - <b>enumfonts</b> enumerate fonts for device http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
EnumFonts            Enumerate Fonts for Device

short EnumFonts(hDC, lpFacename, lpFontFunc, lpData)
HDC hDC;
LPSTR lpFacename; /* Facename or NULL to get one font from each face */
FARPROC lpFontFunc;  /* As returned by MakeProcInstance() */
LPSTR lpData; /* Data passed to call back function */


Note:       Call back function has following definition:

  short _export FAR PASCAL FontFunc(lpLogFont, lpTextMetrics, FontType, lpData)
  LPLOGFONT lpLogFont;
  LPTEXTMETRICS lpTextMetrics;
  short FontType;
  LPSTR lpData; /* From EnumFonts lpData */

        Call back function must be exported.

Returns:    Last value returned by callback function.

See Also: LOGFONT TEXTMETRICS

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson