Sets the description of thread state.
HRESULT SetStateString( LPCOLESTR pstrState );
[in] The description of the thread state.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
The method succeeded.
This method sets the description of the thread state.