|
|
| BOOL
NvtResetDisplay(
|
|
|
HDISPLAY
hDisplay, |
|
|
|
|
HWND hWnd, |
|
|
|
|
HFONT hFont, |
|
|
|
|
UINT nColumns, |
|
|
|
|
UINT nRows |
|
|
| );
|
The NvtResetDisplay resets the virtual terminal display,
using the new window, font, columns and rows. This function should
be used when the virtual display must be attached to a different
window, or the number of rows or columns must be changed.
Parameters
- hDisplay
- Handle to the virtual display.
- hWnd
- Handle to the window that will be used to display the virtual
terminal. This parameter may be NULL, in which case the current
window will be used.
- hFont
- Handle to the font that will be used with the virtual terminal.
This parameter may be NULL, in which case the current font will be
used. If a font is specified, it must be fixed-width, otherwise the
virtual cursor positioning will be incorrect in some cases.
- nColumns
- The maximum number of columns used by the virtual display. A
value of zero specifies that the same number of columns should be
used. If a non-zero value is specified, it must be at least 5, and
no greater than 255.
- nRows
- The maximum number of rows used by the virtual display. A value
of zero specifies that the same number of columns should be used.
If a non-zero value is specified, it must be at least 5, and no
greater than 127.
Return Value
If the function succeeds, the return value is non-zero. If the
function fails, the return value is zero.
Remarks
This function will clear the display and reset the current text
attributes.
Requirements
Client: Requires Windows Vista, Windows XP or Windows
2000 Professional.
Server: Requires Windows Server 2008, Windows Server 2003 or
Windows 2000 Server.
Header: Include cstools6.h.
Library: Use csnvtav6.lib.
See Also
NvtClearDisplay, NvtCreateDisplay, NvtRefreshDisplay, NvtResizeDisplay, NvtUpdateDisplay
|
|