Sets state information for a thread.
Syntax
HRESULT SetStateString( LPCOLESTR pstrState );
Parameters
- pstrState
- [in] Address of a string that contains state information for a thread.
Return Value
Returns S_OK if successful, or an error code otherwise.