IUIAnimationStoryboardEventHandler2::OnStoryboardStatusChanged method

Handles storyboard status change events.

Syntax


HRESULT OnStoryboardStatusChanged(
  [in]  IUIAnimationStoryboard2 *storyboard,
  [in]  UI_ANIMATION_STORYBOARD_STATUS newStatus,
  [in]  UI_ANIMATION_STORYBOARD_STATUS previousStatus
);

Parameters

storyboard [in]

The storyboard for which the status has changed.

newStatus [in]

The new status.

previousStatus [in]

The previous status.

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.

Remarks

By default, a call made in a callback method to any other animation method results in the call failing and returning UI_E_ILLEGAL_REENTRANCY. However, there are exceptions to this default. The following methods can be successfully called from OnStoryboardStatusChanged:

Requirements

Minimum supported client

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

Minimum supported server

None supported [desktop apps | Windows Store apps]

Header

UIAnimation.h

IDL

UIAnimation.idl

DLL

UIAnimation.dll

IID

IID_IUIAnimationStoryboardEventHandler2 is defined as BAC5F55A-BA7C-414C-B599-FBF850F553C6

See also

IUIAnimationStoryboardEventHandler2
IUIAnimationStoryboard2
IUIAnimationStoryboard2::GetStatus
UI_ANIMATION_STORYBOARD_STATUS

 

 

Community Additions

ADD
Show:
© 2014 Microsoft