|Microsoft DirectX 9.0|
The TransAdd method adds a transition to the object. An object can have multiple transitions, but they must not overlap in time. Transitions must fall within the time boundaries of the object.
HRESULT TransAdd( IAMTimelineObj *pTrans );
Address of the IAMTimelineObj interface of the transition to add.
Returns one of the following HRESULT values:
|E_INVALIDARG||Cannot insert the transition.|
|E_NOINTERFACE||pTrans is not a pointer to a transition.|
If the transition overlaps an existing transition, the method returns E_INVALIDARG.
Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.
Library: Use strmiids.lib.