RtlGetThreadErrorMode - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTRTL_H

NTSYSAPI
ULONG
NTAPI
RtlGetThreadErrorMode(
    VOID
    );

#endif

View code on GitHub

Returns the error mode for the current thread. The value controls how the system should handle serious errors.

Implementation details

This function reads the HardErrorMode field from TEB.

Related Win32 API

See also