diff --git a/src/ComputeSharp/Graphics/DeviceLostReason.cs b/src/ComputeSharp/Graphics/DeviceLostReason.cs
new file mode 100644
index 00000000..3161ec7e
--- /dev/null
+++ b/src/ComputeSharp/Graphics/DeviceLostReason.cs
@@ -0,0 +1,41 @@
+namespace ComputeSharp;
+
+///
+/// Indicates a reason a instance was lost.
+///
+public enum DeviceLostReason
+{
+ ///
+ /// The application's device failed due to badly formed commands sent by the application.
+ /// This is an design-time issue that should be investigated and fixed.
+ ///
+ DeviceHung = unchecked((int)0x887A0006),
+
+ ///
+ /// The video card has been physically removed from the system, or a driver upgrade for
+ /// the video card has occurred. The application should destroy and recreate the device.
+ ///
+ DeviceRemoved = unchecked((int)0x887A0005),
+
+ ///
+ /// The device failed due to a badly formed command. This is a run-time issue.
+ /// The application should destroy and recreate the device.
+ ///
+ DeviceReset = unchecked((int)0x887A0007),
+
+ ///
+ /// The driver encountered a problem and was put into the device removed state.
+ ///
+ DriverInternalError = unchecked((int)0x887A0020),
+
+ ///
+ /// The application provided invalid parameter data.
+ /// This must be debugged and fixed before the application is released.
+ ///
+ InvalidCall = unchecked((int)0x887A0001),
+
+ ///
+ /// The device was lost for an unspecified reason.
+ ///
+ UnspecifiedError = unchecked((int)0x80004005)
+}