Microsoft DirectX 8.0

IAMSetErrorLog Interface

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 methodsDescription
QueryInterfaceRetrieves pointers to supported interfaces.
AddRefIncrements the reference count.
ReleaseDecrements the reference count.
IAMSetErrorLog MethodsDescription
get_ErrorLogRetrieves the error log set on this object.
put_ErrorLogSpecifies an error log for the object.

IAMSetErrorLog::get_ErrorLog

IAMSetErrorLog Interface

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.

IAMSetErrorLog::put_ErrorLog

IAMSetErrorLog Interface

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.