Determines if this thread is the currently running thread.
HRESULT QueryIsCurrentThread();
This method takes no parameters.
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 and this is the currently running thread. |
S_FALSE | This is not the currently running thread. |
This method determines if this thread is the currently running thread.