IUIAnimationTimerEventHandler::OnPreUpdate 메서드(uianimation.h)

애니메이션 업데이트가 시작되기 전에 발생하는 이벤트를 처리합니다.

구문

HRESULT OnPreUpdate();

반환 값

메서드가 성공하면 S_OK가 반환되고, 그러지 않으면 HRESULT 오류 코드를 반환합니다. 오류 코드 목록은 UIAnimation 오류 코드를 참조하세요.

설명

각 틱에 대해 타이머는 다음 메서드 시퀀스를 호출합니다.

OnPreUpdateOnPostUpdateIUIAnimationTimerEventHandlerIUIAnimationTimer::SetTimerEventHandler 메서드에 등록된 IUIAnimationTimerEventHandler 에서 호출됩니다. OnUpdateIUIAnimationTimer::SetTimerUpdateHandler 메서드에 등록된 IUIAnimationTimerUpdateHandler에서 호출됩니다.

요구 사항

요구 사항
지원되는 최소 클라이언트 Windows Vista용 Windows 7, Windows Vista 및 플랫폼 업데이트 [데스크톱 앱 | UWP 앱]
지원되는 최소 서버 지원되는 버전 없음
대상 플랫폼 Windows
헤더 uianimation.h
DLL UIAnimation.dll

추가 정보

IUIAnimationTimerEventHandler

SetTimerEventHandler