benilla-re systems structs docs

GetMouseMessageButton

function · core · primitive

Address
0x42dc00 · 189 bytes, up to 0x42dcbc
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.

messagekind
WM_CAPTURECHANGED (0x215), unless the client released capture itself0
WM_CHAR (0x102), characters from 0x201
IME: 0x51, 0x10d to 0x10f, 0x281, 0x2823
WM_SIZE, WM_DISPLAYCHANGE: a pending size check, made by the pump4
WM_CLOSE (0x10), WM_SYSCOMMAND with SC_CLOSE5
WM_ACTIVATE (6): whether the low word of wParam is nonzero6
WM_KEYDOWN, WM_SYSKEYDOWN / WM_KEYUP, WM_SYSKEYUP7 / 8
button down / up, with the button's bit (Buttons and capture)9 / 0xd
WM_MOUSEMOVE in absolute mode: the position0xa
WM_MOUSEWHEEL (0x20a): the signed delta0xb
WM_MOUSEMOVE in relative mode: the offset from the held point0xc
GetMessageA returning 0 (WM_QUIT), made by the pump0xe

The derivation is in the doc.

Callers 2

Callees 0

None by a direct call or jump.

Calls and jumps by a bare address, from tables/calls.tsv.