Partager via


IErrorInfo::GetDescription

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

IErrorInfo
IDispatch::Invoke