OsGetModifierDown
function · unassigned
- Address
0x436010· 86 bytes, up to0x436065- Meaning
- Returns 1 when the Control (0), Shift (1) or Alt (2) key is down by GetKeyState, else 0
- Confidence
- verified, proof one
- Finding
- core/input#key-messages-and-alt-f4
Finding: Key messages and Alt F4 in core: window input
A translated key queues kind 7 for WM_KEYDOWN and WM_SYSKEYDOWN and kind 8 for the releases, its
second value the low word of lParam, the repeat count. After queuing key code 0x303 (F4) the
procedure asks 0x436010(2), whether the Alt key is down. When it is, the message goes on to the
window hook or DefWindowProcA, so Alt+F4 reaches the system close command, which queues kind 5
(Window messages); otherwise the procedure returns 0. 0x436010 takes 0 for Control, 1 for Shift
and 2 for Alt and returns 1 when the high nibble of GetKeyState is nonzero.
The derivation is in the doc.
Callers 4
- OsWindowProc core
- 0x430160 unassigned
- 0x433330 unassigned
- 0x434660 unassigned
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.