benilla-re systems structs docs

EnqueueMouseButtonRecord

function · core · host

Address
0x42dd00 · 137 bytes, up to 0x42dd88
Meaning
Queues a button record with the cursor's client position, or the saved one in relative mode
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 1

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