The ThreadDestroyEvent method of the IRemoteProcessCallbackEx2 interface notifies the debugger when a thread is destroyed.
HRESULT ThreadDestroyEvent(IRemoteThread *pThread)
[in] pThread | The thread that generated the event. |
S_OK Leave execution suspended.
S_FALSE Resume execution.