DosQueryConsoleMaximumWindowSize

C++ language function declaration

APIRET APIENTRY DosQueryConsoleMaximumWindowSize ( HFILE Handle, size_t & Rows, size_t & Cols ) ;

Parameters

Handle
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().


The 32-bit Unicode Console API is © Copyright 1999,2000,2009 Jonathan de Boyne Pollard. "Moral" rights are asserted.