Sets the description of a thread.
Syntax
HRESULT SetDescription( LPCOLESTR pstrDescription );
Parameters
- pstrDescription
- [in] Address of a string that contains the description to be set.
Return Value
Returns S_OK if successful, or an error code otherwise.