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 returns error information for applications that return rich error 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

ICreateErrorInfo::SetGUID

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

ICreateErrorInfo::SetSource

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

ICreateErrorInfo::SetDescription

This method sets a textual description of the error.

ICreateErrorInfo::SetHelpFile

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

ICreateErrorInfo::SetHelpContext

This method sets 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