SetThreadErrorMode function kernel32

int SetThreadErrorMode(
  1. int dwNewMode,
  2. Pointer<Uint32> lpOldMode
)

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);