DrainWindowInput
function · core · orchestration
- Address
0x423920· 117 bytes, up to0x423994- Signature
uint32_t __fastcall (EvtContext *context, uint32_t *quit)- Meaning
- Passes every record the pump yields to 0x4239a0; returns 1 when there was one
- Confidence
- verified, proof two
- Finding
- core/input#the-pump
Finding: The pump in core: window input
Each call of 0x42c9f0 yields one record or none. A pending size check comes first: when the
window is not minimized and its client size has changed, it yields kind 4 with the width and
height. Otherwise it takes the oldest ring record; with the ring empty, it gets and dispatches
Windows messages until one queues a record. With none waiting it returns nothing, after a sleep
when the window is inactive and 0x429d60 returns nonzero.
The derivation is in the doc.
Callers 3
- EventPumpInput core
- SchedulerThreadProc core
- SchedulerWorkerLoop core
Callees 3
- DispatchWindowRecord core
- OsInputGetEvent core
- SErrSetLastError storm
Calls and jumps by a bare address, from tables/calls.tsv.