| Previous | Next |
| DXGI_ERROR_SDK_COMPONENT_MISSING | DXGI_ERROR_HW_PROTECTION_OUTOFMEMORY |
DXGI_ERROR_NOT_CURRENT
DXGI_ERROR_NOT_CURRENT means that DXGI objects created by the application are no longer current for the requested operation. This usually follows a change in display or adapter topology that invalidates the assumptions under which the factory, adapter, output, or swap-chain state was created.
Recover from the topology change
- Check the current factory state and re-enumerate adapters and outputs before selecting a target again.
- Recreate objects whose configuration depends on the old display topology rather than retaining cached output references.
- Log the display-change event and old selection so the application can distinguish a normal transition from a repeated configuration bug.
Do not use object age as a validity test
An object can still have a valid pointer while no longer representing the current graphics environment. The application needs a refresh path whenever it depends on monitor or adapter configuration.
Microsoft: DXGI error codes · Microsoft: IDXGIFactory1::IsCurrent
Looking for a different code? Search another status or error code.