Funktionreferenz


_WinAPI_SetThreadErrorMode


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 )

Parameter

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

Rückgabewert

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

Bemerkungen

This function requires Windows 7 or later.

Siehe auch

Suche nach SetThreadErrorMode in der MSDN Bibliothek.