IErrorInfo::GetDescription

This method returns a textual description of the error.

At a Glance

Header file: Oaidl.h
Windows CE versions: 2.0 and later

Syntax

HRESULT GetDescription( BSTR *pBstrDescription );

Parameters

pBstrDescription

Pointer to a Unicode string that describes the error.

Return Values

S_OK indicates 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.