IErrorInfo Interface

The IErrorInfointerface provides detailed contextual error information.

Implemented by

Used by

Header filename

Import library name

Oleaut32.dll (32-bit systems)

Ole2disp.dll (16-bit systems)

Applications that receive rich information.

Oleauto.h

Dispatch.h

Oleaut32.lib

Oledisp.lib

IUnknown Methods

Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

IErrorInfo Methods

Description

GetDescription

Returns a textual description of the error.

GetGUID

Returns the globally unique identifier (GUID) for the interface that defined the error.

GetHelpContext

Returns the Help context identifier (ID) for the error.

GetHelpFile

Returns the path of the Help file that describes the error.

GetSource

Returns the programmatic identifier (ProgID) for the class or application that returned the error.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft