@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: TODO - a short description !!!!C# Signature: [DllImport("kernel32.dll", SetLastError = true)] static extern bool GetConsoleScreenBufferInfoEx( IntPtr hConsoleOutput, out CONSOLE_SCREEN_BUFFER_INFO_EX ConsoleScreenBufferInfo ); !!!!VB Signature: Declare Function GetConsoleScreenBufferInfoEx Lib "kernel32.dll" (TODO) As TODO !!!!User-Defined Types: [StructLayout(LayoutKind.Sequential)] public struct CONSOLE_SCREEN_BUFFER_INFO_EX { public uint cbSize; public COORD dwSize; public COORD dwCursorPosition; public short wAttributes; public SMALL_RECT srWindow; public COORD dwMaximumWindowSize; public ushort wPopupAttributes; public bool bFullscreenSupported; // Hack Hack Hack // Too lazy to figure out the array at the moment... //public COLORREF[16] ColorTable; public COLORREF color0; public COLORREF color1; public COLORREF color2; public COLORREF color3; public COLORREF color4; public COLORREF color5; public COLORREF color6; public COLORREF color7; public COLORREF color8; public COLORREF color9; public COLORREF colorA; public COLORREF colorB; public COLORREF colorC; public COLORREF colorD; public COLORREF colorE; public COLORREF colorF; // has been a while since I did this, test before use // but should be something like: // // [MarshalAs(UnmanagedType.ByValArray, SizeConst=16)] // public COLORREF[] ColorTable; } !!!!Alternative Managed API: Do you know one? Please contribute it! !!!!Notes: // Untested, added during 1-pass copy & paste of windows console fuctions !!!!Tips & Tricks: Please add some! !!!!Sample Code: Please add some! Documentation: GetConsoleScreenBufferInfoEx@msdn on MSDN
Edit kernel32.GetConso...
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.