| Microsoft DirectX 8.1 (C++) | 
The SetTimelineObject method sets the timeline for the render engine to use.
Syntax
HRESULT SetTimelineObject(
    IAMTimeline *pTimeline
);
Parameters
pTimeline
Pointer to the timeline object's IAMTimeline interface.
Return Value
Returns one of the following HRESULT values:
| Value | Description | 
| S_OK | Success. | 
| E_MUST_INIT_RENDERER | Render engine failed to initialize. | 
| E_OUTOFMEMORY | Insufficient memory. | 
| E_POINTER | Invalid pointer. | 
See Also