SetThreadErrorMode3w
Usage
BOOL SetThreadErrorMode
(
DWORD mode,
LPDWORD oldmode
)
Overview
Set the thread local error mode.
Params
mode [In] The new error mode, a bitwise or of SEM_FAILCRITICALERRORS, SEM_NOGPFAULTERRORBOX and SEM_NOOPENFILEERRORBOX.
oldmode [Out] Destination of the old error mode (may be NULL).
Returns
Success: TRUE
Failure: FALSE, check GetLastError
Implementation
Declared in "winbase.h".
Implemented in "dlls/kernel32/thread.c".
Debug channel "thread".