Module win32console

Interface to the Windows Console functions for dealing with character-mode applications

Methods

CreateConsoleScreenBuffer
Creates a new console handle 

GetConsoleDisplayMode
Returns the current console's display mode 

AttachConsole
Attaches calling process to console of another process 

AllocConsole
Creates a new console for the calling process 

FreeConsole
Detaches process from its console 

GetConsoleProcessList
Returns pids of all processes attached to current console 

GetConsoleCP
Returns the input code page for calling process's console 

GetConsoleOutputCP
Returns the output code page for calling process's console 

SetConsoleCP
Sets the input code page for calling process's console 

SetConsoleOutputCP
Sets the output code page for calling process's console 

GetConsoleSelectionInfo
Returns info on text selection within the current console 

AddConsoleAlias
Creates a new console alias 

GetConsoleAliases
Retrieves aliases defined under specified executable 

GetConsoleAliasExes
Lists all executables that have console aliases defined 

GetConsoleWindow
Returns a handle to the console's window, or 0 if none exists 

GetNumberOfConsoleFonts
Returns the number of fonts available to the console 

SetConsoleTitle
Sets the title of calling process's console 

GetConsoleTitle
Returns the title of console to which calling process is attached 

GenerateConsoleCtrlEvent
Sends a control signal to a group of processes attached to a common console 

GetStdHandle
Returns one of calling process's standard handles