Site icon EfmSoft

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

What each result would imply

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.

Exit mobile version