DosSetConsoleWindow

C++ language function declaration

APIRET APIENTRY DosSetConsoleWindow ( 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
The topmost row of the window rectangle.
Left
The leftmost column of the window rectangle.
Height
The height of the window rectangle in characters.
Width
The width of the window rectangle in characters.

Return value

An OS/2 system error code.

Remarks

It is an error to attempt to set a window that extends in any direction beyond the edge of the console buffer.

The window might be moved or re-sized by the user interface after it is set.

See Note.


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