Compartilhar via


2.2.2.4.2 High Contrast System Information Structure (TS_HIGHCONTRAST)

The TS_HIGHCONTRAST packet defines parameters for the high-contrast accessibility feature.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Flags

ColorSchemeLength

ColorScheme (variable)

...

Flags (4 bytes): An unsigned 32-bit integer that is read by the server and used to set the High Contrast parameters.<14>

Flag

Meaning

HCF_HIGHCONTRASTON

0x00000001

The High Contrast feature is enabled.

HCF_AVAILABLE

0x00000002

The High Contrast feature is available.

HCF_HOTKEYACTIVE

0x00000004

The user can turn the High Contrast feature on or off by using the hotkey (left SHIFT + left ALT + PRINT SCREEN).

HCF_CONFIRMHOTKEY

0x00000008

The user will be prompted with a confirmation dialog before the High Contrast feature is enabled using the hotkey.

HCF_HOTKEYSOUND

0x00000010

A sound is played whenever the High Contrast feature is turned on or off using the hotkey.

ColorSchemeLength (4 bytes): An unsigned 32-bit integer. The length, in bytes, of the ColorScheme field.

ColorScheme (variable): UNICODE_STRING. Variable length. The Windows-specific name of the High Contrast Color Scheme, specified as a null-terminated UNICODE_STRING.<15>