IErrorInfo::GetDescription

HRESULT GetDescription(
  BSTR  *pBstrDescription  
);
 

Returns a textual description of the error.

Parameter

pBstrDescription
Pointer to a brief string that describes the error.

Return Value

The return value obtained from the returned HRESULT is:

Return value Meaning
S_OK Success.

Comments

The text is returned in the language specified by the locale identifier (LCID) that was passed to IDispatch::Invoke for the method that encountered the error.