What does HRESULT 0x8898008E (MILERR_NEED_RECREATE_AND_PRESENT) mean?

 
Previous Next
MILERR_NO_HARDWARE_DEVICE MILERR_ALREADY_INITIALIZED

MILERR_NEED_RECREATE_AND_PRESENT

MILERR_NEED_RECREATE_AND_PRESENT is a Windows Media Integration Layer (MIL) HRESULT. It indicates a potentially recoverable presentation failure that requires recreating resources, rerendering, and presenting again.

Diagnostic discriminator: Treat this as an explicit recovery transition: recreate device- or display-dependent resources, rerender the current scene, and present once. If the same content succeeds after recreation, preserve the preceding device or display reset as the cause.

What to check for MILERR_NEED_RECREATE_AND_PRESENT

  • Release and recreate the affected render target, swap chain, or composition resources using the documented recovery path.
  • Render the current scene again only after the replacement resources are fully initialized.
  • Check for device removal, display changes, and driver resets that caused the failed presentation.

Microsoft documentation about WPF hardware-accelerated rendering


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