Debugging Tools for Windows |
The GetExitCode method returns the exit code of the current process if that process has already run through to completion.
HRESULT
IDebugClient::GetExitCode(
OUT PULONG Code
);
This method may also return error values. See Return Values for more details.
GetExitCode is available in all versions of IDebugClient.
This method is available only for live user-mode debugging.
Headers: Defined in dbgeng.h. Include dbgeng.h. STILL_ACTIVE is defined in winbase.h.