Error Handling Interfaces [Automation]
Objects that are invoked through virtual function table (VTBL) binding need to use the Automation error handling interfaces and API functions to define and return error information. In addition to the API functions, the interfaces include the following:
IErrorInfo Interface — Returns information from an error object.
ICreateErrorInfo Interface — Sets error information.
ISupportErrorInfo Interface — Identifies this object as supporting the IErrorInfo interface.
For information on returning error information, see Returning Error Information.
For information on retrieving error information, see Retrieving Error Information.