dcsimg
Shutdown Windows 2000 With Code
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   oscar_labrador
Posted On:   Thursday, October 18, 2001 08:42 AM

How can I shutdown Windows 2000 from an application?

I actually call C++ exe with RunTime class, but I would like to know if there is any other way to do this without using C++.

Thank you

Re: Shutdown Windows 2000 With Code

Posted By:   Jens_Dibbern  
Posted On:   Thursday, October 18, 2001 09:42 AM

AFAIK there is no easy way with rundll32... as in Win9X because you need to acquire the SE_SHUTDOWN_NAME privilege first before calling ExitWindowsEx in the same process.
About | Sitemap | Contact