コード例 #1
0
 /// <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));
 }
コード例 #2
0
ファイル: NativeMethods.cs プロジェクト: zhuangyy/Motion
 /// <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);
 }