win32api.SetErrorMode

int = SetErrorMode(errorMode)

Controls whether the system will handle the specified types of serious errors, or whether the process will handle them.

Parameters

errorMode : int

A set of bit flags that specify the process error mode

Win32 API References

Search for SetErrorMode at msdn, google or google groups.

Return Value

The result is an integer containing the old error flags.