HOTKEY: Difference between revisions
Appearance
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
== HOTKEY == | == HOTKEY == | ||
Session Manager Hot Key data structure | |||
Session Manager Hot Key data structure | |||
=== Type === | === Type === | ||
[[USHORT]] fsHotKey | |||
[[ | [[UCHAR]] uchScancodeMake | ||
[[ | UCHAR uchScancodeBreak | ||
USHORT idHotKey | |||
==== C Declaration Method ==== | ==== C Declaration Method ==== | ||
typedef struct | typedef struct | ||
=== Fields === | === 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. | |||
[[Category:Data type]] | |||
[[Category: |
Revision as of 21:47, 5 November 2016
HOTKEY
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.