共用方式為


ICreateErrorInfo

A version of this page is also available for

Windows Embedded CE 6.0 R3

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 IUnknown interface.

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

Reference

Automation Interfaces
IUnknown