SEM_FAILCRITICALERRORS top-level constant

  1. @Deprecated('Use THREAD_ERROR_MODE.SEM_FAILCRITICALERRORS instead')
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

@Deprecated('Use THREAD_ERROR_MODE.SEM_FAILCRITICALERRORS instead')
const SEM_FAILCRITICALERRORS = 0x0001;