IDirect3DRMAnimation::SetFrame

HRESULT SetFrame(LPDIRECT3DRMFRAME lpD3DRMFrame);

Sets the frame for the animation.

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

lpD3DRMFrame

Address of a variable representing the frame to set for the animation.