typedef struct _EXIT_THREAD_DEBUG_INFO { /* etdi */
DWORD dwExitCode;
} EXIT_THREAD_DEBUG_INFO, *LPEXIT_THREAD_DEBUG_INFO;
The EXIT_THREAD_DEBUG_INFO structure contains an exiting thread's exit code.
dwExitCode
Specifies the exit code for the thread.
DEBUG_EVENT