IDebugClient::GetExitCode method (dbgeng.h)
The GetExitCode method returns the exit code of the current process if that process has already run through to completion.
Syntax
HRESULT GetExitCode(
[out] PULONG Code
);
Parameters
[out] Code
Receives the exit code of the process. If the process is still running, Code will be set to STILL_ACTIVE.
Return value
This method may also return error values. See Return Values for more details.
Return code | Description |
---|---|
|
The method was successful. |
|
The process is still running. |
Remarks
This method is available only for live user-mode debugging.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | dbgeng.h (include Dbgeng.h) |