mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 02:25:17 +00:00
[NTOS][USERSRV]: Both hard-error message box options "OptionOkNoWait" and "OptionCancelTryContinue" are valid!
svn path=/trunk/; revision=71338
This commit is contained in:
parent
497e74bc43
commit
ad5dceff98
2 changed files with 15 additions and 0 deletions
|
@ -552,6 +552,8 @@ NtRaiseHardError(IN NTSTATUS ErrorStatus,
|
|||
case OptionYesNo:
|
||||
case OptionYesNoCancel:
|
||||
case OptionShutdownSystem:
|
||||
case OptionOkNoWait:
|
||||
case OptionCancelTryContinue:
|
||||
break;
|
||||
|
||||
/* Anything else is invalid */
|
||||
|
|
|
@ -473,10 +473,23 @@ UserpMessageBox(
|
|||
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 */
|
||||
|
|
Loading…
Reference in a new issue