Author: gadamopoulos Date: Thu Sep 29 10:07:15 2011 New Revision: 53889 URL: http://svn.reactos.org/svn/reactos?rev=53889&view=rev Log: [kernel32] - Do not force the hard error dialog to appear. As a result, calling SetErrorMode now really prevents the hard error dialog from appearing.
Modified: trunk/reactos/dll/win32/kernel32/client/except.c Modified: trunk/reactos/dll/win32/kernel32/client/except.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/client/except.c?rev=53889&r1=53888&r2=53889&view=diff ============================================================================== --- trunk/reactos/dll/win32/kernel32/client/except.c [iso-8859-1] (original) +++ trunk/reactos/dll/win32/kernel32/client/except.c [iso-8859-1] Thu Sep 29 10:07:15 2011 @@ -300,7 +300,7 @@ ErrorParameters[3] = ExceptionRecord->ExceptionInformation[1]; /* Raise the harderror */ - ErrCode = NtRaiseHardError(STATUS_UNHANDLED_EXCEPTION | 0x10000000, + ErrCode = NtRaiseHardError(STATUS_UNHANDLED_EXCEPTION, 4, 0, ErrorParameters, OptionOkCancel, &ErrorResponse); if (NT_SUCCESS(ErrCode) && (ErrorResponse == ResponseCancel))