IDirect3DRMAnimationArray
The IDirect3DRMAnimationArray interface enables you to retrieve the number of animations in the array and request the interface for an animation.
This interface supports the GetElement and GetSize methods.
The IDirect3DRMAnimationArray interface, like all Component Object Model (COM) interfaces, inherits the IUnknown interface methods. This interface supports the following three methods.
AddRef QueryInterface Release IDirect3DRMAnimationArray::GetElement
IDirect3DRMAnimationArrayRetrieves an interface for the requested animation.
Syntax
DWORD GetElement( DWORD dwIndex, LPDIRECT3DRMANIMATION2 &lplpDirect3DRMAnimation);Parameters
- dwIndex
- Index in the array of the animation to be retrieved.
- lplpDirect3DRMAnimation
- Pointer to the Direct3DRMAnimation object.
Return Value
Returns one of the following values:
DDERR_INVALIDPARAMS DD_OK Remarks
This method was introduced with DirectX version 6.0.
IDirect3DRMAnimationArray::GetSize
IDirect3DRMAnimationArrayRetrieves the number of animations in the array.
Syntax
DWORD GetSize();Return Value
Number of animations.
Remarks
This method was introduced with DirectX version 6.0.
Top of Page
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.