What does HRESULT 0x887A0022 (DXGI_ERROR_NOT_CURRENTLY_AVAILABLE) mean?

 
Previous Next
DXGI_ERROR_NONEXCLUSIVE DXGI_ERROR_REMOTE_CLIENT_DISCONNECTED

DXGI_ERROR_NOT_CURRENTLY_AVAILABLE

DXGI_ERROR_NOT_CURRENTLY_AVAILABLE means that the requested DXGI resource is temporarily unavailable but can become available later. The correct response depends on the API that returned it; the HRESULT alone does not identify the limiting condition.

Desktop duplication is a common concrete case

Microsoft documents this result from DuplicateOutput when the session has reached the default limit of four concurrent desktop-duplication applications. A process can also hold only one duplication interface for a particular desktop output.

How to diagnose it

  • Log the failed API, output identity, session, and the number of capture components the application owns.
  • Release unused duplication interfaces deterministically instead of relying on process shutdown.
  • Use backoff or an explicit wait for availability, rather than repeatedly attempting creation at frame rate.

Microsoft: IDXGIOutput1::DuplicateOutput · Microsoft: DXGI error codes


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