UI_ANIMATION_SCHEDULING_RESULT enumeration (uianimation.h)

Defines results for storyboard scheduling.

Syntax

typedef enum __MIDL___MIDL_itf_UIAnimation_0000_0002_0002 {
  UI_ANIMATION_SCHEDULING_UNEXPECTED_FAILURE,
  UI_ANIMATION_SCHEDULING_INSUFFICIENT_PRIORITY,
  UI_ANIMATION_SCHEDULING_ALREADY_SCHEDULED,
  UI_ANIMATION_SCHEDULING_SUCCEEDED,
  UI_ANIMATION_SCHEDULING_DEFERRED
} UI_ANIMATION_SCHEDULING_RESULT;

Constants

Name Description
UI_ANIMATION_SCHEDULING_UNEXPECTED_FAILURE Scheduling failed for an unexpected reason.
UI_ANIMATION_SCHEDULING_INSUFFICIENT_PRIORITY Scheduling failed because
a scheduling conflict occurred and the currently scheduled storyboard has higher priority.

For more information, see IUIAnimationPriorityComparison::HasPriority.
UI_ANIMATION_SCHEDULING_ALREADY_SCHEDULED Scheduling failed because
the storyboard is already scheduled.
UI_ANIMATION_SCHEDULING_SUCCEEDED Scheduling succeeded.
UI_ANIMATION_SCHEDULING_DEFERRED Scheduling is deferred and will be attempted when the current callback completes.

Remarks

IUIAnimationStoryboard::Schedule returns UI_ANIMATION_SCHEDULING_DEFERRED only if the application attempts to schedule a storyboard during a callback to IUIAnimationStoryboardEventHandler::OnStoryboardStatusChanged.

Requirements

   
Minimum supported client Windows 7, Windows Vista and Platform Update for Windows Vista [desktop apps | UWP apps]
Minimum supported server None supported
Header uianimation.h

See also

IUIAnimationStoryboard::Schedule