Share via


CInterpolatorBase::GetDuration

Gets the interpolator's duration.

IFACEMETHOD(
   GetDuration
)(__out UI_ANIMATION_SECONDS *duration);

Parameters

  • duration
    Output. The duration of the transition, in seconds.

Return Value

If the method succeeds, it returns S_OK. It returns E_FAIL if CCustomInterpolator is not set, or custom implementation returns FALSE from the GetDuration method.

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CInterpolatorBase Class