pub const SEM_FAILCRITICALERRORS: THREAD_ERROR_MODE = 1u32;