Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Handles update events from the timer.
Syntax
HRESULT OnUpdate(
[in] UI_ANIMATION_SECONDS timeNow,
[out] UI_ANIMATION_UPDATE_RESULT *result
);
Parameters
[in] timeNow
The current timer time, in seconds.
[out] result
Receives a member of the UI_ANIMATION_UPDATE_RESULT enumeration, indicating whether any animation variables changed as a result of the update.
Return value
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. See Windows Animation Error Codes for a list of error codes.
Remarks
This method is used by the UIAnimationTimer object to update the state of the UIAnimationManager object. The UIAnimationTimer object calls UIAnimationTimerEventHandler::OnPostUpdate only when calls to this method return a result of UI_ANIMATION_UPDATE_VARIABLES_CHANGED.
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
IUIAnimationTimerEventHandler::OnPostUpdate