Beispiel #1
0
 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
     );
Beispiel #2
0
 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
     );
 public static extern int EnumFontFamiliesExW(
     DeviceContext hdc,
     ref LOGFONT lpLogfont,
     EnumFontFamExProc lpEnumFonFamExProc,
     LPARAM lParam,
     uint dwFlags);
Beispiel #4
0
 private static extern int EnumFontFamiliesEx(IntPtr hdc, IntPtr lpLogFont, [MarshalAs(UnmanagedType.FunctionPtr)] EnumFontFamExProc lpEnumFontFamExProc, IntPtr lparam, uint dwflags);