Kernel32SetErrorMode Method

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

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("Kernel32.dll", ExactSpelling = true)]
public static ProcessErrorMode SetErrorMode(
	ProcessErrorMode newMode
)

Parameters

newMode  ProcessErrorMode
The new process error mode.

Return Value

ProcessErrorMode
The previous process error mode.

Remarks

See Also