Share via


IAMTimeline::SetDefaultTransition

 
Microsoft DirectShow 9.0

IAMTimeline::SetDefaultTransition

The SetDefaultTransition method sets the default transition. If the render engine cannot render a transition, it substitutes the default transition.

Syntax

  HRESULT SetDefaultTransition(
    GUID *pGuid
);

Parameters

pGuid

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

Return Value

Returns S_OK if successful, or E_POINTER otherwise.

Remarks

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

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