Does anyone know any article or source code for doing some ultra fast shutdown/restart like the one available with 'XP smoker'(A commercial windows tweaking software).
Thanks in advance
CrystalClear
Printable View
Does anyone know any article or source code for doing some ultra fast shutdown/restart like the one available with 'XP smoker'(A commercial windows tweaking software).
Thanks in advance
CrystalClear
No reply. I got the answer finally. its done through some api in ntdll
CrystalClear
I know an "ultra fast" way: turn off the AC power. In fact, I don't know of a way to make that any faster.
But, out of interest, what was the answer you found?
Try NtShutdownSystem Api from ntdll.dll with sufficient shutdown privileges and see the difference. Its an undocumented api (i think). This Api has only one parameter 0 for shutdown and 1 for restart.
Warning: Regular usage of this shutdown/Restart may damage your system
CrystalClear