PyConsoleScreenBuffer = GetStdHandle(StdHandle)
Returns one of calling process's standard handles
Parameters
StdHandle : int
Specifies the handle to return -
STD_INPUT_HANDLE, STD_OUTPUT_HANDLE, or STD_ERROR_HANDLEReturn Value
Returns a PyConsoleScreenBuffer wrapping the handle, or None if specified handle does not exist