| Previous | Next |
| D2DERR_INVALID_CALL | D2DERR_RECREATE_TARGET |
D2DERR_NO_HARDWARE_DEVICE
D2DERR_NO_HARDWARE_DEVICE means that the requested operation requires a hardware rendering device but Direct2D could not use one. This may occur on systems without a suitable adapter, in restricted environments, or after a graphics-device failure.
What to check
- Confirm that the active adapter and driver support the required Direct2D and Direct3D features.
- Check whether the process runs in a remote, service, virtualized, or headless environment with limited graphics support.
- Provide a compatible software or reduced-feature fallback when the application can operate without the hardware path.
Do not assume that successful factory creation guarantees availability of every hardware-backed target type.
Microsoft: Direct2D error codes
Looking for a different code? Search another status or error code.