IAMErrorLog Interface
Microsoft DirectShow 9.0 |
IAMErrorLog Interface
The IAMErrorLog interface provides a callback method for error logging in DirectShow Editing Services (DES).
DES does not implement this interface. To perform error logging, implement this interface in your application and call IAMSetErrorLog::put_ErrorLog on the timeline. If an error occurs when you render the project, DES will call the IAMErrorLog::LogError method implemented by your application.
DES logs errors only when you render a project using the IRenderEngine interface. For example, if you save a project as a DirectShow filter graph (.grf format) and play the graph file, there is no error logging. For more information on using this interface, see Logging Errors.
In addition to the methods inherited from IUnknown, the IAMErrorLog interface exposes the following methods.
Method | Description |
LogError | Logs an error. |
Requirements
Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.
Library: Use strmiids.lib.