|
|
| UINT
NvtSetDisplayAttributes(
|
|
|
HDISPLAY
hDisplay, |
|
|
|
|
UINT
nAttributes |
|
|
| );
|
The NvtSetDisplayAttributes function sets the current
display attributes.
Parameters
- hDisplay
- Handle to the virtual display.
- nAttributes
- An unsigned integer value which specifies the new display
attributes. This may be one or more of the following values:
| Constant |
Description |
|
NVT_ATTRIBUTE_NORMAL |
Normal, default attributes. |
|
NVT_ATTRIBUTE_REVERSE |
Foreground and background cell colors are
reversed. |
|
NVT_ATTRIBUTE_BOLD |
The character is displayed using a higher
intensity color. |
|
NVT_ATTRIBUTE_DIM |
The character is displayed using a lower
intensity color. |
|
NVT_ATTRIBUTE_UNDERLINE |
The character is displayed with an
underline. |
|
NVT_ATTRIBUTE_HIDDEN |
The character is stored in display memory, but
not shown. |
|
NVT_ATTRIBUTE_PROTECT |
The character is protected and cannot be
cleared. |
Return Value
If the function succeeds, the return value is the previous
display attributes. If the function fails, the return value is
NVT_ERROR.
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
NvtGetDisplayAttributes,
NvtGetDisplayCell
|
|