#ifndef _NTRTL_H
NTSYSAPI
ULONG
NTAPI
RtlGetThreadErrorMode(
VOID
);
View code on GitHub
Returns the error mode for the current thread. The value controls how the system should handle serious errors.
This function reads the HardErrorMode
field from TEB
.