DosQueryConsoleWindow

C++ language function declaration

APIRET APIENTRY DosQueryConsoleWindow ( HFILE Handle, size_t & Top, size_t & Left, size_t & Height, size_t & Width ) ;

Parameters

Handle
The file handle of the console buffer or CON device. (Note)
Top
A reference to a variable wherein is stored the current window's topmost row number.
Left
A reference to a variable wherein is stored the current window's leftmost column number.
Height
A reference to a variable wherein is stored the current window's height in columns.
Width
A reference to a variable wherein is stored the current window's width in rows.

Return value

An OS/2 system error code.

Remarks

See Note.


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