Microsoft DirectX 8.0 |
Sets or retrieves an error log in Microsoft® DirectShow® Editing Services (DES). The timeline object implements this interface. Applications can use this interface to log rendering errors at run time. Implement the IAMErrorLog interface in your application, and then call the IAMSetErrorLog::put_ErrorLog method on the timeline.
For more information on using this interface, see Logging Errors.
Requirements
Requires Qedit.h.
Methods in Vtable Order
IUnknown methods Description QueryInterface Retrieves pointers to supported interfaces. AddRef Increments the reference count. Release Decrements the reference count. IAMSetErrorLog Methods Description get_ErrorLog Retrieves the error log set on this object. put_ErrorLog Specifies an error log for the object.
Retrieves the error log set on this object.
Syntax
HRESULT get_ErrorLog( IAMErrorLog **pVal );
Parameters
- pVal
- [out, retval] Address of a pointer that receives the error log's IAMErrorLog interface. If the timeline does not have an error log, the value is set to NULL.
Return Value
Returns S_OK if successful, or E_POINTER otherwise.
Remarks
If the value returned in pVal is not NULL, the IAMErrorLog interface has an outstanding reference count. Be sure to release the interface when you are done using it.
Specifies an error log for the object.
Syntax
HRESULT put_ErrorLog( IAMErrorLog *newVal );
Parameters
- newVal
- [in] Pointer to the error log's IAMErrorLog interface.
Return Value
Returns S_OK.