EventSetConfirmCloseCallback
function · core · orchestration
- Address
0x41fe40· 5 bytes, up to0x41fe44- Signature
void __fastcall (void *callback, void *argument)- Meaning
- Jumps to 0x424250, which installs the confirm-close callback
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- core/input#close-and-quit
Finding: Close and quit in core: window input
A close request (WM_CLOSE or SC_CLOSE) and WM_QUIT ask the confirm-close callback first, and
quit only on a nonzero answer. With no callback the answer is 1. The client installs one in its
context start handler and removes it in its stop handler: it closes the current context and
answers 0, so closing the window tears the context down at the end of that tick, dispatching
categories 3 and 4, before the loop ends.
The derivation is in the doc.
Callers 2
- ConsoleScreenInitialize console
- ConsoleScreenShutdown console
Callees 1
Calls and jumps by a bare address, from tables/calls.tsv.