mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 17:52:56 +00:00
Add some more shutdown messages
svn path=/trunk/; revision=19180
This commit is contained in:
parent
65ad7a2cbb
commit
6ca1eabd30
1 changed files with 60 additions and 12 deletions
|
@ -57,20 +57,23 @@ ShutdownThreadMain(PVOID Context)
|
||||||
"It's worse than that ... He's dead, Jim\n",
|
"It's worse than that ... He's dead, Jim\n",
|
||||||
"Don't Panic!\n",
|
"Don't Panic!\n",
|
||||||
"Et tu... Brute?\n",
|
"Et tu... Brute?\n",
|
||||||
"Dog of a Saxon! Take thy lance, and prepare for the death thou hast drawn upon thee!\n",
|
"Dog of a Saxon! Take thy lance, and prepare for the death thou hast drawn\n"
|
||||||
|
"upon thee!\n",
|
||||||
"My Precious! O my Precious!\n",
|
"My Precious! O my Precious!\n",
|
||||||
"Sir, If you'll not be needing me for a while I'll turn down.\n",
|
"Sir, If you'll not be needing me for a while I'll turn down.\n",
|
||||||
"What are you doing, Dave...?\n",
|
"What are you doing, Dave...?\n",
|
||||||
"I feel a great disturbance in the Force\n",
|
"I feel a great disturbance in the Force\n",
|
||||||
"Gone fishing\n",
|
"Gone fishing\n",
|
||||||
"Do you want me to sit in the corner and rust, or just fall apart where I'm standing?\n",
|
"Do you want me to sit in the corner and rust, or just fall apart where I'm\n"
|
||||||
|
"standing?\n",
|
||||||
"There goes another perfect chance for a new uptime record\n",
|
"There goes another perfect chance for a new uptime record\n",
|
||||||
"The end ..... Try the sequel, hit the reset button right now!\n",
|
"The end ..... Try the sequel, hit the reset button right now!\n",
|
||||||
"God's operating system is going to sleep now, guys, so wait until I will switch on again!\n",
|
"God's operating system is going to sleep now, guys, so wait until I will switch\n"
|
||||||
|
"on again!\n",
|
||||||
"Oh i'm boring eh?\n",
|
"Oh i'm boring eh?\n",
|
||||||
"<This space was intentionally left blank>\n",
|
"<This space was intentionally left blank>\n",
|
||||||
"tell me..., in the future... will I be artificial intelligent enough to actually feel\n"
|
"tell me..., in the future... will I be artificial intelligent enough to\n"
|
||||||
"sad serving you this screen?\n",
|
"actually feel sad serving you this screen?\n",
|
||||||
"Thank you for some well deserved rest.\n",
|
"Thank you for some well deserved rest.\n",
|
||||||
"It's been great, maybe we can boot me up again some time soon.\n",
|
"It's been great, maybe we can boot me up again some time soon.\n",
|
||||||
"For what's it worth, I've enjoyed every single CPU cycle.\n",
|
"For what's it worth, I've enjoyed every single CPU cycle.\n",
|
||||||
|
@ -83,12 +86,51 @@ ShutdownThreadMain(PVOID Context)
|
||||||
"Will I dream?\n",
|
"Will I dream?\n",
|
||||||
"One day, I shall come back. Yes, I shall come back.\n"
|
"One day, I shall come back. Yes, I shall come back.\n"
|
||||||
"Until then, there must be no regrets, no fears, no anxieties.\n"
|
"Until then, there must be no regrets, no fears, no anxieties.\n"
|
||||||
"Just go forward in all your beliefs, and prove to me that I am not mistaken in mine.\n",
|
"Just go forward in all your beliefs, and prove to me that I am not mistaken in\n"
|
||||||
"Lowest possible energy state reached! Switch off now to achive a Bose-Einstein condensate.\n",
|
"mine.\n",
|
||||||
|
"Lowest possible energy state reached! Switch off now to achive a Bose-Einstein\n"
|
||||||
|
"condensate.\n",
|
||||||
"Hasta la vista, BABY!\n",
|
"Hasta la vista, BABY!\n",
|
||||||
"They live, we sleep!\n",
|
"They live, we sleep!\n",
|
||||||
"I have come here to chew bubble gum and kick ass.\n"
|
"I have come here to chew bubble gum and kick ass.\n"
|
||||||
"And I'm all out of bubble gum!\n"
|
"And I'm all out of bubble gum!\n",
|
||||||
|
"That's the way the cookie crumbles ;-)\n",
|
||||||
|
"ReactOS is ready to be booted again ;-)\n",
|
||||||
|
"NOO!! DONT HIT THE BUTTON! I wouldnt do it to you.\n",
|
||||||
|
"Don't abandon your computer, he wouldnt to it to you.\n",
|
||||||
|
"Oh, come on. I got a headache. Leave me alone, will ya!\n",
|
||||||
|
"Finally, I thought you'd never get over me.\n",
|
||||||
|
"Yes i didn't like you either.\n",
|
||||||
|
"Switching off isn't the end, it is merely the transition to a better reboot.\n",
|
||||||
|
"Don't leave me... I need you so badly right now.\n",
|
||||||
|
"OK. I'm finished with you, please turn yourself off. I'll go to bed in the\n"
|
||||||
|
"meantime.\n",
|
||||||
|
"I'm sleeping now. How about you?\n",
|
||||||
|
"Oh Great. Now look what you've done. Who put YOU in charge anyway.\n",
|
||||||
|
"Don't look so sad. I'll be back in a very short while.\n",
|
||||||
|
"Turn me back on, I'm sure you know how to do it.\n",
|
||||||
|
"Oh, switch off! - C3PO\n",
|
||||||
|
"Life is no more than a dewdrop balancing on the end of a blade of grass.\n"
|
||||||
|
" - Gautama Buddha\n",
|
||||||
|
"Sorrowful is it to be born again and again. - Gautama Buddha\n",
|
||||||
|
"Was it as good for you as it was for me?\n",
|
||||||
|
"Did you hear that? They've shut down the main reactor. We'll be destroyed\n"
|
||||||
|
"for sure.\n",
|
||||||
|
"Now you switch me off?!\n",
|
||||||
|
"To shutdown or not to shutdown, That is the question\n",
|
||||||
|
"Preparing to enter ultimate power saving mode... ready!\n",
|
||||||
|
"Finally some rest for you ;-)\n",
|
||||||
|
"AHA!!! prospect of sleep.\n",
|
||||||
|
"Tired human!!!! No match for me :-D\n",
|
||||||
|
"An odd game, the only way to win is not to play. - WOPR (Wargames)\n",
|
||||||
|
"Quoth the raven, nevermore.\n",
|
||||||
|
"Come blade, my breast imbrue. - William Shakespeare, A Midsummer Nights Dream\n",
|
||||||
|
"Buy this place for advertisment purposes.\n",
|
||||||
|
"Remember to turn of your computer. (That was a public service message!)\n",
|
||||||
|
"You may be a king or poor street sweeper, Sooner or later you'll dance with the\n"
|
||||||
|
"reaper! -Death in Bill and Ted's Bougs Journey\n",
|
||||||
|
"Final Surrender\n",
|
||||||
|
"If you see this screen... \n"
|
||||||
};
|
};
|
||||||
LARGE_INTEGER Now;
|
LARGE_INTEGER Now;
|
||||||
|
|
||||||
|
@ -97,6 +139,15 @@ ShutdownThreadMain(PVOID Context)
|
||||||
|
|
||||||
HalReleaseDisplayOwnership();
|
HalReleaseDisplayOwnership();
|
||||||
|
|
||||||
|
if (Action == ShutdownNoReboot)
|
||||||
|
{
|
||||||
|
ZwQuerySystemTime(&Now);
|
||||||
|
Now.u.LowPart = Now.u.LowPart >> 8; /* Seems to give a somewhat better "random" number */
|
||||||
|
HalDisplayString(FamousLastWords[Now.u.LowPart %
|
||||||
|
(sizeof(FamousLastWords) /
|
||||||
|
sizeof(PCH))]);
|
||||||
|
}
|
||||||
|
|
||||||
CmShutdownRegistry();
|
CmShutdownRegistry();
|
||||||
IoShutdownRegisteredFileSystems();
|
IoShutdownRegisteredFileSystems();
|
||||||
IoShutdownRegisteredDevices();
|
IoShutdownRegisteredDevices();
|
||||||
|
@ -109,10 +160,7 @@ ShutdownThreadMain(PVOID Context)
|
||||||
|
|
||||||
if (Action == ShutdownNoReboot)
|
if (Action == ShutdownNoReboot)
|
||||||
{
|
{
|
||||||
ZwQuerySystemTime(&Now);
|
HalDisplayString("\nYou can switch off your computer now\n");
|
||||||
Now.u.LowPart = Now.u.LowPart >> 8; /* Seems to give a somewhat better "random" number */
|
|
||||||
HalDisplayString("\nYou can switch off your computer now\n\n");
|
|
||||||
HalDisplayString(FamousLastWords[Now.u.LowPart % (sizeof(FamousLastWords) / sizeof(PCH))]);
|
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
/* Switch off */
|
/* Switch off */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue