SetThreadErrorMode(3w)

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".

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.