PostCharEvent
function · core · orchestration
- Address
0x423bb0· 43 bytes, up to0x423bda- Signature
void __fastcall (EvtContext *context, uint32_t ch, uint32_t repeat)- Meaning
- Dispatches category 1 with the character, the modifiers and the repeat count
- Confidence
- verified, proof two
- Finding
- core/input#kinds-to-categories
Finding: Kinds to categories in core: window input
0x4239a0 switches on the kind. Most kinds dispatch one category to the context's handlers; kinds 0
and 2 can dispatch several, kinds 6 and 0xd also dispatch 0xf when they end the mouse mode (Buttons and capture), and 5 and 0xe dispatch none.
| kind | handler | category |
|---|---|---|
| 0 | 0x423b70 | 0xe for each held button, lowest bit first, marked synthetic |
| 1 / 2 | 0x423bb0 / 0x423be0 | 1, once per character of a run |
| 3 / 4 | 0x423c30 / 0x423c70 | 0x1b with the code page / 0x1c |
| 5 / 0xe | 0x423b50 | none: on the confirm-close query's consent, quit (Close and quit) |
| 6 | 0x423cb0 | 2, after clearing the modifier and button masks |
| 7 / 8 | 0x423d00 / 0x423d50 | 8 / 9, keeping modifier bits for keys 0 to 2 |
| 9 / 0xd | 0x423db0 / 0x4240b0 | 0xb / 0xe, keeping the button mask |
| 0xa / 0xc | 0x423fe0 / 0x424050 | 0xc / 0xd |
| 0xb | 0x424130 | 0x10 |
The derivation is in the doc.
Callers 1
- DispatchWindowRecord core
Callees 1
- IEvtQueueDispatch core
Calls and jumps by a bare address, from tables/calls.tsv.