What does HRESULT 0x802A0002 (UI_E_SHUTDOWN_CALLED) mean?

 
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

Windows Animation is a stateful COM subsystem., animation variables, transitions and storyboards are created under a manager, scheduled against a monotonic animation time, updated before drawing, and eventually sealed or released. During a this result investigation, a visible glitch can therefore be downstream of a lifecycle, ownership, timeline, callback, or numeric contract failure.

When it is returned, shutdown ends the manager generation and releases its variables and storyboards. During a this result investigation, calls arriving from timers, render loops, or callbacks after that boundary are stale work, not a request to reactivate the same object graph.

The first owner to inspect is the animation manager, storyboard, transition, timer, or callback that returned the HRESULT.

Smallest faithful test

During a this result investigation, reduce the case while preserving the condition described by the HRESULT.

  1. First: Serialize shutdown with the render/update loop.
  2. Next: Detach timer and event callbacks before releasing the manager.
  3. Then: Reject work tagged with an older manager generation.
  4. Finally: Create a new manager instead of reusing the shut-down instance.

Diagnostic matrix

  • Manager generation identifier. for it, this places the event on the lifecycle or transaction timeline within the Windows Animation Manager boundary.
  • Time and thread of Shutdown. for it, this separates caller input from environment and service state within the Windows Animation Manager boundary.
  • Late callback or render-loop source. for it, this creates a stable comparison across retries or another machine within the Windows Animation Manager boundary.
  • Outstanding storyboard and variable references. for it, this pins the event to an object or resource generation within the Windows Animation Manager boundary.

What each result would imply

  • Fresh storyboard or animation object: for it, a changed result separates retained object, connection, path, host, or device state from the original input. Hold constant: for it, 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: for it, 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: for it, keep the original it 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

The references below define the API family or storage/protocol behavior used to interpret it.


Looking for a different code? Search another status or error code.