What does HRESULT 0x887A0026 (DXGI_ERROR_ACCESS_LOST) mean?

 
Previous Next
DXGI_ERROR_MODE_CHANGE_IN_PROGRESS DXGI_ERROR_WAIT_TIMEOUT

DXGI_ERROR_ACCESS_LOST

DXGI_ERROR_ACCESS_LOST means that a desktop-duplication interface is no longer valid. Microsoft lists desktop switches, display-mode changes, and transitions involving the desktop compositor or a fullscreen application as examples that invalidate the interface.

Required recovery

  • Release the current IDXGIOutputDuplication interface and create a new one for the current desktop content.
  • Discard frame data and metadata obtained from the invalid interface; do not continue mapping or processing it.
  • Refresh output selection if monitors, desktop topology, or the active session could have changed.

Not a generic permission problem

The name can be misleading. In this context it usually describes loss of a particular duplication session, not an access-control failure. Recreating the duplication interface is the documented response.

Microsoft: MapDesktopSurface return values · Microsoft: DuplicateOutput


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