| Предыдущий | Следующий |
| UI_E_VALUE_NOT_DETERMINED | UI_E_BOOLEAN_EXPECTED |
UI_E_INVALID_OUTPUT
Где возник отказ
UI_E_INVALID_OUTPUT () относится к Windows Animation Manager storyboard/transition lifecycle. Для расследования рабочее условие — некорректный / выход. Сохраняйте первый native return и состояние объекта до автоматического retry или cleanup.
Windows Animation Manager использует manager time, storyboard status, transitions и callbacks как единую lifecycle model; текущая картинка на экране не является достоверным status object.
Конкретные признаки из исходного EN-описания
During the investigation, UI_E_BOOLEAN_EXPECTED is specifically an invalid success HRESULT used as a Boolean; INVALID_OUTPUT concerns returned data.
Within Windows Animation Manager , the result reports that a callback reported output that violated its interface contract.
Custom interpolation or priority callbacks participate in animation decisions through out parameters., S_OK is not enough when the returned values are invalid, nonfinite, outside the documented domain, or inconsistent with the accompanying result.
First: Initialize every out parameter on all branches.
Диагностический снимок
- animation manager/storyboard/transition identity и lifecycle generation.
- manager update time, schedule/status и callback ordering.
- точный IUIAnimation* method и первый HRESULT.
Storyboard или transition могут оставаться scheduled/sealed/used после визуального завершения, поэтому reuse должен опираться на API status, а не на предположение caller.
Как отделить соседний код
Сопоставьте producer с «некорректный / выход». Если method, identity объекта или generation отличаются, это уже другой эксперимент, даже когда верхний слой показывает тот же общий текст.
Для «некорректный / выход» сопоставьте storyboard/transition status и manager update time. Визуальное положение объекта не заменяет lifecycle-state, который Windows Animation Manager считает активным.
Критерий восстановления
Приведите storyboard/transition к состоянию, разрешающему операцию «некорректный / выход», либо создайте новый объект для overlapping work; затем подтвердите поведение на том же animation timeline.
Технические ссылки
- Microsoft: Windows Animation error codes.
- Microsoft: Windows Animation overview.
- Microsoft: Schedule a storyboard.
- Microsoft: IUIAnimationManager interface.
Нужно найти другой код? Найти другой код состояния или ошибки.
