Function Reference


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

#include <WinAPIProc.au3>
_WinAPI_SetThreadErrorMode ( $iMode )


$iMode The thread error mode. This parameter can be one or more of the following values.

Return Value

Success: The thread's previous error mode ($SEM_*).
Failure: Sets the @error flag to non-zero.


This function requires Windows 7 or later.

See Also

Search SetThreadErrorMode in MSDN Library.