Debug Notification -10 - Thread Termination Notification
This notification returns:
Cmd
A debuggee thread is about to terminate.
DosExitList processing has not yet been started.
The debugger is still allowed to examine the debuggee thread' signal register contents at this time. When the debugger has completed this examination, it should finish terminating the debuggee thread with a final DBG_C_Go or DBG_C_SStep command.
Value contains the return code from the thread. This is only a proposed return code passed from DosExit. Only when the process actually terminates is the return code that is passed to DosWaitChild finally known.