Retrieves the description and state of the thread.
Syntax
HRESULT GetDescription(
BSTR *pbstrDescription,
BSTR *pbstrState
);
Parameters
- pbstrDescription
- [out] Address of a string that describes the thread.
- pbstrState
- [out] Address of a string that describes the state of the thread.
Return Value
Returns S_OK if successful, or an error code otherwise.