| Previous | Next |
| UI_E_CREATE_FAILED | UI_E_ILLEGAL_REENTRANCY |
UI_E_SHUTDOWN_CALLED
UI_E_SHUTDOWN_CALLED belongs to Windows Animation Manager. It marks an operation targeted an animation manager generation after Shutdown. The useful starting point is the exact API, object and state transition that returned 0x802A0002, because a shell or application message can hide that boundary.
First rejecting layer
Shutdown ends the manager generation and releases its variables and storyboards. Calls arriving from timers, render loops, or callbacks after that boundary are stale work, not a request to reactivate the same object graph.
Smallest faithful test
- First: Serialize shutdown with the render/update loop.
- Next: Detach timer and event callbacks before releasing the manager.
- Then: Reject work tagged with an older manager generation.
- Finally: Create a new manager instead of reusing the shut-down instance.
Diagnostic matrix
- Manager generation identifier.
- Time and thread of Shutdown.
- Late callback or render-loop source.
- Outstanding storyboard and variable references.
What each result would imply
- Fresh storyboard or animation object: a changed result separates retained object, connection, path, host, or device state from the original input. Hold constant: keep the timeline, transitions, and manager version fixed.
- Reduced failing operation: If this result follows the reduced step, the rejecting transition is localized. Hold constant: retain manager generation identifier and remove only unrelated work.
- Targeted corrective control: Use this as a diagnostic branch rather than a blanket workaround: serialize shutdown with the render/update loop. Hold constant: keep the original sample available for the final regression test.
Limits of the HRESULT
UI_E_WINDOW_CLOSED concerns a closing window; this code is specifically the animation manager lifecycle.
Do not retry methods on the same shut-down manager or hide the race with sleeps.
Prove the repair
Treat it as corrected only when no callback touches the retired generation, and a newly created manager performs the same animation normally; retain the original negative case so fallback cannot be mistaken for repair.
Technical references
Looking for a different code? Search another status or error code.
