IDirect3DRMAnimationSet::AddAnimation

Adds an animation to the animation set.

HRESULT AddAnimation(
LPDIRECT3DRMANIMATION lpD3DRMAnimation
);

Parameters

lpD3DRMAnimation

Address of the Direct3DRMAnimation object to be added to the animation set.

Return Values

Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.