win32console.CreateConsoleScreenBuffer
PyConsoleScreenBuffer = CreateConsoleScreenBuffer(DesiredAccess, ShareMode
, SecurityAttributes
, Flags
)
Creates a new console screen buffer
Parameters
DesiredAccess=GENERIC_READ and GENERIC_WRITE : int
GENERIC_READ and/or GENERIC_WRITE
ShareMode=FILE_SHARE_READ and FILE_SHARE_WRITE : int
FILE_SHARE_READ and/or
FILE_SHARE_WRITE
SecurityAttributes=None : PySECURITY_ATTRIBUTES
Specifies security descriptor and
inheritance for handle
Flags=CONSOLE_TEXTMODE_BUFFER : int
CONSOLE_TEXTMODE_BUFFER is currently only valid flag