SEM_FAILCRITICALERRORS top-level constant
int
const SEM_FAILCRITICALERRORS
The system does not display the critical-error-handler message box. Instead, the system sends the error to the calling thread.
Best practice is that all applications call the process-wide SetErrorMode function with a parameter of SEM_FAILCRITICALERRORS at startup. This is to prevent error mode dialogs from hanging the application.
Implementation
const SEM_FAILCRITICALERRORS = 0x0001;