Partager via


Error-Handling Interfaces

Objects that are invoked through virtual function table (VTBL) binding need to use the Automation error handling interfaces and functions to define and return error information.

In this section

Topic Description
Returning Error Information
Describes how to return error information.
Retrieving Error Information
Describes how to retrieve error information.
ICreateErrorInfo
Returns error information.
IErrorInfo
Provides detailed contextual error information.
ISupportErrorInfo
Ensures that error information can be propagated up the call chain correctly. Automation objects that use the error handling interfaces must implement ISupportErrorInfo.

Error-Handling Functions

Returning Error Information

Retrieving Error Information