SetThreadErrorMode function kernel32
Controls whether the system will handle the specified types of serious errors or whether the calling thread will handle them.
BOOL SetThreadErrorMode(
DWORD dwNewMode,
LPDWORD lpOldMode
);
Implementation
int SetThreadErrorMode(int dwNewMode, Pointer<Uint32> lpOldMode) =>
_SetThreadErrorMode(dwNewMode, lpOldMode);