Microsoft DirectX 9.0 |
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.
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