Gets the state of this thread.
HRESULT GetState( DWORD* pState );
[out] Combination of the following thread state flags:
Constant Value Description
The thread is running.
The thread is suspended.
The thread is blocked.
The thread is out of content.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
The method succeeded.
This method gets the state of this thread.