internal static extern int ResizePseudoConsole(IntPtr hPC, COORD size);
internal static extern int CreatePseudoConsole(COORD size, SafeFileHandle hInput, SafeFileHandle hOutput, uint dwFlags, out IntPtr phPC);