BOOL WINAPI NvtSetDisplayFont( |
|
HDISPLAY hDisplay, |
|
|
HFONT hFont |
|
); |
The NvtSetDisplayFont sets the font that will be used when
updating the display. The specified font must be fixed-width,
otherwise the virtual cursor positioning will be incorrect in some
cases.
Parameters
- hDisplay
- Handle to the virtual display.
- hFont
- Handle to the font that will be used with the virtual terminal.
This parameter may be NULL, in which case a default fixed-width
font will be used.
Return Value
If the function succeeds, the return value is non-zero. If the
function fails, it returns zero.
Remarks
If the previous font was a default font created by the library as
the result of a NULL font handle being passed to a function, it will
be released. However, if the previous font was created by the
application, the DeleteObject function must be called to
release it.
Requirements
Minimum Desktop Platform: Windows 7 Service Pack 1
Minimum Server Platform: Windows Server 2008 R2 Service Pack 1
Header File: cstools11.h
Import Library: csnvtv11.lib
See Also
NvtGetDisplayFont,
NvtSetDisplayFontName
|