IUIAnimationTimerEventHandler::OnRenderingTooSlow method (uianimation.h)

Handles events that occur when the rendering frame rate for an animation falls below a minimum desirable frame rate.

Syntax

HRESULT OnRenderingTooSlow(
  [in] UINT32 framesPerSecond
);

Parameters

[in] framesPerSecond

The current frame rate, in frames per second.

Return value

If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. See UIAnimation Error Codes for a list of error codes.

Remarks

The minimum desirable frame rate is specified using the IUIAnimationTimer::SetFrameRateThreshold method.

Requirements

Requirement Value
Minimum supported client Windows 7, Windows Vista and Platform Update for Windows Vista [desktop apps | UWP apps]
Minimum supported server None supported
Target Platform Windows
Header uianimation.h
DLL UIAnimation.dll

See also

IUIAnimationTimer::SetFrameRateThreshold

IUIAnimationTimer::SetTimerEventHandler

IUIAnimationTimerEventHandler