Share via


IAMTimelineGroup::GetTimeline

 
Microsoft DirectShow 9.0

IAMTimelineGroup::GetTimeline

The GetTimeline method retrieves the timeline to which this group belongs.

Syntax

  HRESULT GetTimeline(
    IAMTimeline **ppTimeline
);

Parameters

ppTimeline

[out] Address of a pointer that receives the timeline's IAMTimeline interface. If the group is not part of a timeline, the value is set to NULL.

Return Value

Returns S_OK if successful, or E_POINTER otherwise.

Remarks

If the value returned in ppTimeline is not 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