Returns the thread associated with the currently running thread.
HRESULT GetCurrentThread( IDebugApplicationThread** pat );
- pat
[out] The thread associated with the currently running thread.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Value | Description |
---|---|
S_OK | The method succeeded. |
This method returns the thread associated with the currently running thread.