Windows apps
Collapse the table of content
Expand the table of content

IErrorInfo::GetDescription Function

  Returns a textual description of the error.

HRESULT GetDescription( 
  BSTR  *pBstrDescription  
);

pBstrDescription

Pointer to a brief string that describes the error.

The return value obtained from the returned HRESULT is:

Return value

Meaning

S_OK

Success.

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.

Show:
© 2017 Microsoft