OsWindowProc
function · core · host
- Address
0x42cfe0· 1503 bytes, up to0x42d5be- Signature
uint32_t __fastcall (void *hwnd, uint32_t message, uint32_t wParam, uint32_t lParam)- Meaning
- Turns window messages into input records and hands the rest to the hook or DefWindowProcA
- 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 0
None by a direct call or jump.
Callees 12
- CenterMouse core
- SaveCursorPoint core
- GetACP core
- EnqueueInputEvent core
- TranslateVirtualKey core
- OnMouseButtonDown core
- OnMouseButtonUp core
- OnFrameMouseMove core
- OnNonClientButtonDown core
- OnNonClientDoubleClick core
- OnNonClientButtonUp core
- OsGetModifierDown unassigned
Calls and jumps by a bare address, from tables/calls.tsv.