Partager via


IErrorInfo::GetDescription

This method returns a textual description of the error.

HRESULT GetDescription( 
  BSTR* pBstrDescription 
);

Parameters

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

Return Values

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

OS Versions: Windows CE 2.0 and later.
Header: Oaidl.h, Oaidl.idl.
Link Library: Oleaut32.lib, Uuid.lib.

See Also

IErrorInfo | IDispatch::Invoke

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.