IAMTimeline::SetDefaultEffect

 
Microsoft DirectShow 9.0

IAMTimeline::SetDefaultEffect

The SetDefaultEffect method sets the default effect. If the render engine cannot render an effect, it substitutes the default effect.

Syntax

  HRESULT SetDefaultEffect(
    GUID *pGuid
);

Parameters

pGuid

Pointer to a variable that contains the GUID of the default effect.

Return Value

Returns S_OK if successful, or E_POINTER otherwise.

Remarks

If you do not set a default effect, or if the effect that you specify as a default causes an error, DES uses its own default effect.

Requirements

Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.

Library: Use strmiids.lib.

See Also