Author: hbelusca
Date: Sun May 15 22:32:17 2016
New Revision: 71338
URL:
http://svn.reactos.org/svn/reactos?rev=71338&view=rev
Log:
[NTOS][USERSRV]: Both hard-error message box options "OptionOkNoWait" and
"OptionCancelTryContinue" are valid!
Modified:
trunk/reactos/ntoskrnl/ex/harderr.c
trunk/reactos/win32ss/user/winsrv/usersrv/harderror.c
Modified: trunk/reactos/ntoskrnl/ex/harderr.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ex/harderr.c?rev=…
==============================================================================
--- trunk/reactos/ntoskrnl/ex/harderr.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ex/harderr.c [iso-8859-1] Sun May 15 22:32:17 2016
@@ -552,6 +552,8 @@
case OptionYesNo:
case OptionYesNoCancel:
case OptionShutdownSystem:
+ case OptionOkNoWait:
+ case OptionCancelTryContinue:
break;
/* Anything else is invalid */
Modified: trunk/reactos/win32ss/user/winsrv/usersrv/harderror.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/winsrv/usersr…
==============================================================================
--- trunk/reactos/win32ss/user/winsrv/usersrv/harderror.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/winsrv/usersrv/harderror.c [iso-8859-1] Sun May 15 22:32:17
2016
@@ -473,10 +473,23 @@
case OptionShutdownSystem:
Type = MB_RETRYCANCEL; // FIXME???
break;
+ case OptionOkNoWait:
+ /*
+ * This gives a balloon notification.
+ * See rostests/kmtests/ntos_ex/ExHardError.c
+ */
+ Type = MB_YESNO; // FIXME!
+ break;
+ case OptionCancelTryContinue:
+ Type = MB_CANCELTRYCONTINUE;
+ break;
/* Anything else is invalid */
default:
+ {
+ DPRINT1("Unknown ValidResponseOptions = %d\n",
ValidResponseOptions);
return ResponseNotHandled;
+ }
}
/* Set severity */