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 = 0,
UI_ANIMATION_SCHEDULING_INSUFFICIENT_PRIORITY = 1,
UI_ANIMATION_SCHEDULING_ALREADY_SCHEDULED = 2,
UI_ANIMATION_SCHEDULING_SUCCEEDED = 3,
UI_ANIMATION_SCHEDULING_DEFERRED = 4
} UI_ANIMATION_SCHEDULING_RESULT;
Constants
UI_ANIMATION_SCHEDULING_UNEXPECTED_FAILURE Value: 0 Scheduling failed for an unexpected reason. |
UI_ANIMATION_SCHEDULING_INSUFFICIENT_PRIORITY Value: 1 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 Value: 2 Scheduling failed because the storyboard is already scheduled. |
UI_ANIMATION_SCHEDULING_SUCCEEDED Value: 3 Scheduling succeeded. |
UI_ANIMATION_SCHEDULING_DEFERRED Value: 4 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
Requirement | Value |
---|---|
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 |