Reference

RtlSetThreadErrorMode(3w)

NAME

RtlSetThreadErrorMode (NTDLL.@)

SYNOPSIS

NTSTATUS RtlSetThreadErrorMode
(
DWORD mode,
LPDWORD oldmode
)

DESCRIPTION

Set the thread local error mode.

PARAMS

mode [In] The new error mode.

oldmode [Out] Destination of the old error mode (may be NULL).

RETURNS

Success: STATUS_SUCCESS

Failure: STATUS_INVALID_PARAMETER_1

IMPLEMENTATION

Declared in "winternl.h".

Implemented in "dlls/ntdll/rtl.c".

Debug channel "ntdll".