Share via


IDebugThreadDestroyEvent2::GetExitCode

Gets the exit code for a thread.

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

Parameters

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

Return Value

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

See Also

Reference

IDebugThreadDestroyEvent2