Partager via


2.2.2.4.5 Sticky Keys System Information Structure (TS_STICKYKEYS)

The TS_STICKYKEYS packet defines parameters for the Sticky Keys 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

Flags (4 bytes): An unsigned 32-bit integer that is read by the server and used to set the Sticky Keys parameters.

Flag

Meaning

SKF_STICKYKEYSON

0x00000001

The Sticky Keys feature is enabled.

SKF_AVAILABLE

0x00000002

The Sticky Keys feature is available.

SKF_HOTKEYACTIVE

0x00000004

The user can turn the Sticky Keys feature on or off by using the hotkey (pressing the SHIFT key five times).

SKF_CONFIRMHOTKEY

0x00000008

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

SKF_HOTKEYSOUND

0x00000010

A sound is played whenever the Sticky Keys feature is turned on or off using the hotkey.

SKF_INDICATOR

0x00000020

A visual indicator is displayed when the Sticky Keys feature is enabled.

SKF_AUDIBLEFEEDBACK

0x00000040

A sound is played whenever a modifier key is latched, locked, or released.

SKF_TRISTATE

0x00000080

Pressing a modifier key twice in a row will lock the key down until the user presses it a third time.

SKF_TWOKEYSOFF

0x00000100

Releasing a modifier key that has been pressed in combination with another key will turn off the Sticky Keys feature.

SKF_LSHIFTLOCKED

0x00010000

The left SHIFT key is locked.

SKF_RSHIFTLOCKED

0x00020000

The right SHIFT key is locked.

SKF_LCTLLOCKED

0x00040000

The left CTRL key is locked.

SKF_RCTLLOCKED

0x00080000

The right CTRL key is locked.

SKF_LALTLOCKED

0x00100000

The left ALT key is locked.

SKF_RALTLOCKED

0x00200000

The right ALT key is locked.

SKF_LWINLOCKED

0x00400000

The left WINDOWS key is locked.

SKF_RWINLOCKED

0x00800000

The right WINDOWS key is locked.

SKF_LSHIFTLATCHED

0x01000000

The left SHIFT key is latched.

SKF_RSHIFTLATCHED

0x02000000

The right SHIFT key is latched.

SKF_LCTLLATCHED

0x04000000

The left CTRL key is latched.

SKF_RCTLLATCHED

0x08000000

The right CTRL key is latched.

SKF_LALTLATCHED

0x10000000

The left ALT key is latched.

SKF_RALTLATCHED

0x20000000

The right ALT key is latched.

SKF_LWINLATCHED

0x40000000

The left WINDOWS key is latched.

SKF_RWINLATCHED

0x80000000

The right WINDOWS key is latched.