Partager via


IDebugProgramDestroyEvent2::GetExitCode

Gets the program's exit code.

HRESULT GetExitCode( 
   DWORD* pdwExit
);
int GetExitCode( 
   out uint pdwExit
);

Parameters

  • pdwExit
    [out] Returns the program's exit code.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

See Also

Reference

IDebugProgramDestroyEvent2