[DllImport("kernel32.dll", SetLastError = true)]
static extern bool GetCurrentConsoleFontEx(
IntPtr ConsoleOutput,
bool MaximumWindow,
out CONSOLE_FONT_INFO_EX ConsoleCurrentFont
);
Declare Function GetCurrentConsoleFontEx Lib "kernel32.dll" (TODO) As TODO
[StructLayout(LayoutKind.Sequential)]
public struct CONSOLE_FONT_INFO_EX
{
public uint cbSize;
public uint nFont;
public COORD dwFontSize;
public ushort FontFamily;
public ushort FontWeight;
// todo: this isn't right, needs fixing
//WCHAR FaceName[LF_FACESIZE];
string FaceName;
}
Do you know one? Please contribute it!
// Untested, added during 1-pass copy & paste of windows console fuctions
Please add some!
Please add some!