GetMouseMessageButton
function · core · primitive
- Address
0x42dc00· 189 bytes, up to0x42dcbc- Meaning
- Writes the button bit of a mouse button message; returns 0 for other messages
- Confidence
- verified, proof two
- Finding
- core/input#window-messages
Finding: Window messages in core: window input
The window procedure queues these records. A key record carries the translated key and the
repeat count, a character the converted character, a mouse record the button or wheel delta and
a client position from GetCursorPos, not from lParam.
| message | kind |
|---|---|
WM_CAPTURECHANGED (0x215), unless the client released capture itself | 0 |
WM_CHAR (0x102), characters from 0x20 | 1 |
| IME: 0x51, 0x10d to 0x10f, 0x281, 0x282 | 3 |
WM_SIZE, WM_DISPLAYCHANGE: a pending size check, made by the pump | 4 |
WM_CLOSE (0x10), WM_SYSCOMMAND with SC_CLOSE | 5 |
WM_ACTIVATE (6): whether the low word of wParam is nonzero | 6 |
WM_KEYDOWN, WM_SYSKEYDOWN / WM_KEYUP, WM_SYSKEYUP | 7 / 8 |
button down / up, with the button's bit (Buttons and capture) | 9 / 0xd |
WM_MOUSEMOVE in absolute mode: the position | 0xa |
WM_MOUSEWHEEL (0x20a): the signed delta | 0xb |
WM_MOUSEMOVE in relative mode: the offset from the held point | 0xc |
GetMessageA returning 0 (WM_QUIT), made by the pump | 0xe |
The derivation is in the doc.
Callers 2
- OnMouseButtonDown core
- OnMouseButtonUp core
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.