Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2005 Nov : poweroff win2000server programmatically

www.cryer.info
Managed Newsgroup Archive

poweroff win2000server programmatically

Subject:poweroff win2000server programmatically
Posted by:"Jack Zhong" (inval..@email.com)
Date:Thu, 10 Nov 2005 11:32:25 +0800

I would like to power off my computer, which runs under windows 2000 server,
at any specified time. The InitiateSystemShutdown function may terminate all
the running applications and shut down the computer, but it need to press
the power button mannually to turn off the power.

Are there any other functions to turn off the power programmatically? Is
able to terminate the InitiateSystemShutdown with AbortSystemShutdown in
another application?

Glossary

Replies:

www.cryer.info
Managed Newsgroup Archive