[DllImport("kernel32.dll", SetLastError = true)]
static extern bool GetConsoleHistoryInfo(
out CONSOLE_HISTORY_INFO ConsoleHistoryInfo
);
Declare Function GetConsoleHistoryInfo Lib "kernel32.dll" (TODO) As TODO
[StructLayout(LayoutKind.Sequential)]
public struct CONSOLE_HISTORY_INFO
{
ushort cbSize;
ushort HistoryBufferSize;
ushort NumberOfHistoryBuffers;
uint dwFlags;
}