Hi
How To ShutDown Windows Through Program..
Polpal
Printable View
Hi
How To ShutDown Windows Through Program..
Polpal
Hi,
use ExitWindowsEx(EWX_SHUTDOWN,0);
good luck
Raphael
Hi,
you can shellexecute the following:
rundll32 user.exe,exitwindows
this will windows shutdown at anytime, I discovered that the ExitWindowsEx function doesn't work in all cases...
grtz,
Ruben
i tried but i was unsuccessful can you send me a sample program......
regards
murthy
use the search function to search for "Shutdown"- I posted sample code a few hours ago that takes care of setting privileges for ExitWindowsEx on Nt.