IErrorInfo::GetDescription (Compact 2013)

3/26/2014

This method returns a textual description of the error.

Syntax

HRESULT GetDescription( 
  BSTR* pBstrDescription 
);

Parameters

  • pBstrDescription
    [out] Pointer to a Unicode string that describes the error.

Return Value

If the method succeeds, the return value is S_OK.

Remarks

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.

Requirements

Header

oaidl.h,
oaidl.idl

Library

oleaut32.lib,
uuid.lib

See Also

Reference

IErrorInfo
IDispatch::Invoke