IDirect3DRMAnimationSet::AddAnimation

HRESULT AddAnimation(LPDIRECT3DRMANIMATION lpD3DRMAnimation);

Adds an animation to the animation set.

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

lpD3DRMAnimation

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