The EXIT_PROCESS_DEBUG_INFO structure contains an exiting process's exit code.
typedef struct _EXIT_PROCESS_DEBUG_INFO { // epdi
DWORD dwExitCode;
} EXIT_PROCESS_DEBUG_INFO;
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in winbase.h.
Debugging Overview, Debugging Structures, DEBUG_EVENT