The file handle of the console buffer or CON device.
(Note)
Rows
A reference to a variable wherein is stored the maximum window size in rows.
Cols
A reference to a variable wherein is stored the maximum window size in columns.
Return value
An OS/2 system error code.
Remarks
The window size returned does not take into account the console buffer's
current size, and thus may exceed the size that may be set with
DosSetConsoleWindow().