Function Reference


_WinAPI_SetErrorMode

Controls whether the system will handle the specified types of serious errors or whether the process will handle them

#include <WinAPIDiag.au3>
_WinAPI_SetErrorMode ( $iMode )

Parameters

$iMode The process error mode. This parameter can be one or more of the following values.
$SEM_FAILCRITICALERRORS
$SEM_NOALIGNMENTFAULTEXCEPT
$SEM_NOGPFAULTERRORBOX
$SEM_NOOPENFILEERRORBOX

Return Value

Returns the previous state of the error-mode bit flags ($SEM_*).

See Also

Search SetErrorMode in MSDN Library.