Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This interface provides detailed contextual error information for applications that receive rich information.

Methods

The following table shows the methods for this interface in the order that the compiler calls the methods. Like all COM interfaces, this interface inherits the methods for the IUnknowninterface.

Method Description

IErrorInfo::GetGUID

This method returns the globally unique identifier (GUID) of the interface that defined the error.

IErrorInfo::GetSource

This method returns the language-dependent programmatic identifier for the class or application that raised the error.

IErrorInfo::GetDescription

This method returns a textual description of the error.

IErrorInfo::GetHelpFile

This method returns the path of the Help file that describes the error.

IErrorInfo::GetHelpContext

This method returns the Help context identifier for 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