Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IUIAnimationLoopIterationChangeHandler2::OnLoopIterationChanged method

Handles loop iteration change events, which occur when a loop within a storyboard begins a new iteration.

Syntax


HRESULT OnLoopIterationChanged(
  [in] IUIAnimationStoryboard2 storyboard,
  [in] UINT_PTR                id,
  [in] UINT32                  newIterationCount,
  [in] UINT32                  oldIterationCount
);

Parameters

storyboard [in]

The storyboard to which the loop belongs.

id [in]

The loop ID.

newIterationCount [in]

The iteration count for the latest IUIAnimationManager2::Update.

oldIterationCount [in]

The iteration count for the previous IUIAnimationManager2::Update.

Return value

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

Requirements

Minimum supported client

Windows 8, Windows 7 and Platform Update for Windows 7 [desktop apps only]

Minimum supported server

None supported

Header

UIAnimation.h

IDL

UIAnimation.idl

DLL

UIAnimation.dll

IID

IID_IUIAnimationLoopIterationChangeHandler2 is defined as 2D3B15A4-4762-47AB-A030-B23221DF3AE0

See also

IUIAnimationLoopIterationChangeHandler2

 

 

Show:
© 2016 Microsoft