Microsoft DirectX 9.0

IAMTimeline::AddGroup

The AddGroup method adds a group to the timeline.

Syntax

HRESULT AddGroup(
    IAMTimelineObj *pGroup
);

Parameters

pGroup

Pointer to the IAMTimelineObj interface of the group.

Return Value

Returns one of the following HRESULT values:

Return code Description
S_OK Success.
E_INVALIDARG Maximum number of groups exceeded.
E_NOINTERFACE The object is not a group.

Remarks

Currently, timelines support a maximum of 32 groups.

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