Microsoft DirectX 8.1 (C++)

IRenderEngine::GetTimelineObject

The GetTimelineObject method retrieves the timeline that the render engine is currently using.

Syntax

HRESULT GetTimelineObject(
    IAMTimeline **ppTimeline
);

Parameters

ppTimeline

[out] Address of a pointer to receive the timeline's IAMTimeline interface. It receives the value NULL if there is no timeline.

Return Value

Returns one of the following HRESULT values:

Value Description
S_OK Success.
E_POINTER Invalid pointer.
E_MUST_INIT_RENDERER Render engine failed to initialize.

Remarks

On return, if the value of *ppTimeline is non-NULL, the IAMTimeline interface has an outstanding reference count. Be sure to release the interface when you are finished using it.

See Also