Gets the description and state of this thread.
Syntax
HRESULT GetDescription(
BSTR* pbstrDescription,
BSTR* pbstrState
);
Parameters
pbstrDescription
[out] The description of this thread.
pbstrState
[out] The description of the thread state.
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 gets the description and state of this thread.