[NTOS][USERSRV]: Both hard-error message box options "OptionOkNoWait" and "OptionCancelTryContinue" are valid!

svn path=/trunk/; revision=71338
This commit is contained in:
Hermès Bélusca-Maïto 2016-05-15 22:32:17 +00:00
parent 497e74bc43
commit ad5dceff98
2 changed files with 15 additions and 0 deletions

View file

@ -552,6 +552,8 @@ NtRaiseHardError(IN NTSTATUS ErrorStatus,
case OptionYesNo:
case OptionYesNoCancel:
case OptionShutdownSystem:
case OptionOkNoWait:
case OptionCancelTryContinue:
break;
/* Anything else is invalid */

View file

@ -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 */