IDebugApplication::GetCurrentThread

Returns the thread associated with the currently running thread.

Syntax

HRESULT GetCurrentThread(  
   IDebugApplicationThread**  pat  
);  

Parameters

pat
[out] The thread associated with the currently running thread.

Return Value

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.

Remarks

This method returns the thread associated with the currently running thread.

See also

IDebugApplication Interface