public static extern int EnumFontFamiliesEx( IntPtr hdc, // handle to DC ref tagLOGFONT lpLogfont, // font information EnumFontFamExProc lpEnumFontFamExProc, // callback function IntPtr lParam, // additional data uint dwFlags // not used; must be 0 );