[NTOS][NDK][RTL]: Move the SEM_xxx flags and their corresponding RTL flags around...
[reactos.git] / reactos / sdk / include / ndk / rtltypes.h
index 5a95ab2..c33aee4 100644 (file)
@@ -62,6 +62,19 @@ extern "C" {
 //
 #define EXCEPTION_CHAIN_END                                 ((PEXCEPTION_REGISTRATION_RECORD)-1)
 
+//
+// Thread Error Mode Flags
+//
+/* Also defined in psdk/winbase.h */
+#define SEM_FAILCRITICALERRORS          0x0001
+#define SEM_NOGPFAULTERRORBOX           0x0002
+#define SEM_NOALIGNMENTFAULTEXCEPT      0x0004
+#define SEM_NOOPENFILEERRORBOX          0x8000
+
+#define RTL_SEM_FAILCRITICALERRORS      (SEM_FAILCRITICALERRORS     << 4)
+#define RTL_SEM_NOGPFAULTERRORBOX       (SEM_NOGPFAULTERRORBOX      << 4)
+#define RTL_SEM_NOALIGNMENTFAULTEXCEPT  (SEM_NOALIGNMENTFAULTEXCEPT << 4)
+
 //
 // Range and Range List Flags
 //