/// <summary> /// The SetErrorMode function controls whether the system will handle the /// specified types of serious errors, or whether the process will handle them /// </summary> /// <param name="uMode">Process error mode. This parameter can be one or more of /// the SetErrorModeFlags values</param> /// <returns>The return value is the previous state of the error-mode bit flags</returns> public static int SetErrorMode(SetErrorModeFlags uMode) { return(NativeMethods.InternalSetErrorMode((int)uMode)); }
/// <summary> /// The SetErrorMode function controls whether the system will handle the /// specified types of serious errors, or whether the process will handle them /// </summary> /// <param name="uMode">Process error mode. This parameter can be one or more of /// the SetErrorModeFlags values</param> /// <returns>The return value is the previous state of the error-mode bit flags</returns> public static int SetErrorMode(SetErrorModeFlags uMode) { return NativeMethods.InternalSetErrorMode((int)uMode); }