HOTKEY: Difference between revisions
Appearance
mNo edit summary |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
Session Manager Hot Key data structure | Session Manager Hot Key data structure | ||
== Type == | |||
[[USHORT]] fsHotKey | [[USHORT]] fsHotKey | ||
[[UCHAR]] uchScancodeMake | [[UCHAR]] uchScancodeMake | ||
Line 8: | Line 7: | ||
USHORT idHotKey | USHORT idHotKey | ||
=== C Declaration Method === | |||
typedef struct | typedef struct | ||
== Fields == | |||
;fsHotKey:State Key Flag. Has the following settings: | ;fsHotKey:State Key Flag. Has the following settings: | ||
High Byte Bit settings are as follows: | High Byte Bit settings are as follows: | ||
Line 24: | Line 23: | ||
Low Byte Bit settings are as follows: | Low Byte Bit settings are as follows: | ||
Bit 7 Reserved = 0 | Bit 7 Reserved = 0 | ||
Bit 6 Reserved = 0 | Bit 6 Reserved = 0 | ||
Bit 5 Reserved = 0 | Bit 5 Reserved = 0 | ||
Bit 4 Reserved = 0 | Bit 4 Reserved = 0 | ||
Bit 3 Reserved = 0 | Bit 3 Reserved = 0 | ||
Bit 2 Reserved = 0 | Bit 2 Reserved = 0 | ||
Bit 1 Left Shift key down | Bit 1 Left Shift key down | ||
Bit 0 Right Shift key down | Bit 0 Right Shift key down | ||
;uchScancodeMake:The Scan Code of the hot key, Make. | ;uchScancodeMake:The Scan Code of the hot key, Make. | ||
;uchScancodeBreak:The Scan Code of the hot key, Break. | ;uchScancodeBreak:The Scan Code of the hot key, Break. |
Latest revision as of 00:54, 9 February 2020
Session Manager Hot Key data structure
Type
USHORT fsHotKey UCHAR uchScancodeMake UCHAR uchScancodeBreak USHORT idHotKey
C Declaration Method
typedef struct
Fields
- fsHotKey
- State Key Flag. Has the following settings:
High Byte Bit settings are as follows: Bit 15 Reserved = 0 Bit 14 Reserved = 0 Bit 13 Reserved = 0 Bit 12 Reserved = 0 Bit 11 Right Alt key down Bit 10 Right Ctrl key down Bit 9 Left Alt key down Bit 8 Left Ctrl key down Low Byte Bit settings are as follows: Bit 7 Reserved = 0 Bit 6 Reserved = 0 Bit 5 Reserved = 0 Bit 4 Reserved = 0 Bit 3 Reserved = 0 Bit 2 Reserved = 0 Bit 1 Left Shift key down Bit 0 Right Shift key down
- uchScancodeMake
- The Scan Code of the hot key, Make.
- uchScancodeBreak
- The Scan Code of the hot key, Break.
- idHotKey
- Hot Key Id.
- The Hot Key Id value is set by the caller. Notice that ID value FFFFh is reserved and must not be used as a Hot Key ID. See Remarks in IOCtl KBD_SETSESMGRHOTKEY.
- A maximum of two of the above bit selections can be selected for a given hot key definition. If more than two bits are selected or if a reserved bit is selected, the result is an INVALID_PARAMETER error code returned to the caller.