mirror of
https://github.com/reactos/reactos.git
synced 2025-01-13 01:22:03 +00:00
Offer an explanation why AllocConsole() might have failed
svn path=/trunk/; revision=19920
This commit is contained in:
parent
397f6fa231
commit
01b9db35b7
1 changed files with 3 additions and 1 deletions
|
@ -3679,7 +3679,9 @@ NtProcessStartup(PPEB Peb)
|
|||
Status = AllocConsole();
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
PrintString("AllocConsole() failed (Status = 0x%08lx)\n", Status);
|
||||
PrintString("Unable to open the console (Status = 0x%08lx)\n\n", Status);
|
||||
PrintString("The most common cause of this is using an USB keyboard\n");
|
||||
PrintString("USB keyboards are not fully supported yet\n");
|
||||
|
||||
/* Raise a hard error (crash the system/BSOD) */
|
||||
NtRaiseHardError(STATUS_SYSTEM_PROCESS_TERMINATED,
|
||||
|
|
Loading…
Reference in a new issue