Sets the description of this thread.
Syntax
HRESULT SetDescription(
LPCOLESTR pstrDescription
);
Parameters
pstrDescription
[in] The description of this thread.
Return Value
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. |
Remarks
This method sets the description of this thread.