GetCurrentConsoleFontEx

[DllImport("Kernel32.dll", SetLastError = true)][return: MarshalAs(UnmanagedType.Bool)]
public static extern bool GetCurrentConsoleFontEx(
   IntPtr hConsoleOutput,
   [MarshalAs(UnmanagedType.Bool)] bool bMaximumWindow,
   ref CONSOLE_FONT_INFO_EX lpConsoleCurrentFont
);

Microsoft documentation: Link

Last updated