use the EnumFonts API function
int EnumFonts(
HDC hdc, // handle to DC
LPCTSTR lpFaceName, // font typeface name
FONTENUMPROC lpFontFunc, // callback function
LPARAM lParam // application-supplied data
);
the callback function has this prototype:
int CALLBACK EnumFontsProc(
CONST LOGFONT *lplf, // logical-font data
CONST TEXTMETRIC *lptm, // physical-font data
DWORD dwType, // font type
LPARAM lpData // application-defined data
);
To get a HDC use the GetDC API Function
Hope this helps, s-)
Blessed is he who in the name of justice and good will, shepards the week through the valley of darknees...