Windows Animation Error Codes

Header: winerror.h

If an error occurs, Windows Animation returns a code as an HRESULT value. This section provides a list of error codes specific to Windows Animation. For a list of general COM error codes, see COM Error Codes.

SymbolicCodeDescription
UI_E_CREATE_FAILED0x802A0001The object could not be created.
UI_E_SHUTDOWN_CALLED0x802A0002The [**Shutdown**](/windows/desktop/api/UIAnimation/nf-uianimation-iuianimationmanager-shutdown) method has been called on the animation manager, causing the animation manager to shut down and all the animation variables and storyboards it created to be released. > [!Note] > No methods can be called on any animation object after [**Shutdown**](/windows/desktop/api/UIAnimation/nf-uianimation-iuianimationmanager-shutdown).
UI_E_ILLEGAL_REENTRANCY0x802A0003This method cannot be called during this type of callback.
UI_E_OBJECT_SEALED0x802A0004This object has been sealed, so this change is no longer allowed.
UI_E_VALUE_NOT_SET0x802A0005The requested value has never been set, and therefore cannot be retrieved.
UI_E_VALUE_NOT_DETERMINED0x802A0006The requested value cannot be determined.
UI_E_INVALID_OUTPUT0x802A0007A callback returned an invalid output parameter.
UI_E_BOOLEAN_EXPECTED0x802A0008A callback returned a success code other than S_OK or S_FALSE.
UI_E_DIFFERENT_OWNER0x802A0009A parameter that should be owned by this object is owned by a different object.
UI_E_AMBIGUOUS_MATCH0x802A000AMore than one item matched the search criteria.
UI_E_FP_OVERFLOW0x802A000BA floating-point overflow occurred.
UI_E_WRONG_THREAD0x802A000CThis method can only be called from the thread that created the object.
UI_E_STORYBOARD_ACTIVE0x802A0101The storyboard is currently in the schedule.
UI_E_STORYBOARD_NOT_PLAYING0x802A0102The storyboard is not playing.
UI_E_START_KEYFRAME_AFTER_END0x802A0103The start keyframe might occur after the end keyframe.
UI_E_END_KEYFRAME_NOT_DETERMINED0x802A0104It might not be possible to determine the end keyframe time when the start keyframe is reached.
UI_E_LOOPS_OVERLAP0x802A0105Two repeated portions of a storyboard might overlap.
UI_E_TRANSITION_ALREADY_USED0x802A0106The transition has already been added to a different storyboard or has been added to a storyboard that has finished playing and been released.
UI_E_TRANSITION_NOT_IN_STORYBOARD0x802A0107The transition has not been added to any storyboard.
UI_E_TRANSITION_ECLIPSED0x802A0108The transition might eclipse the beginning of another transition in the storyboard.
UI_E_TIME_BEFORE_LAST_UPDATE0x802A0109The specified time is earlier than the time passed to the last update.
UI_E_TIMER_CLIENT_ALREADY_CONNECTED0x802A010AThis client is already connected to a timer.
22 entries

Article text from the Win32 documentation (opens in a new tab), by Microsoft, under the CC BY 4.0 (opens in a new tab) licence.