> You might also want to try it the only "right" way (by using
> Delphi itself, that is ;-) by using the WTSShutdownSystem-API
> command...
> 
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/termserv/termserv/WTSShutdownSystem.asp
> 

The doc on this API call indicates it is for Windows Terminal Server. I think
Nick found the right one:
-------------------------
You can also use the api function 'InitiateSystemShutdown(Ex)': 
http://msdn.microsoft.com/library/en-us/sysinfo/base/initiatesystemshutdown.asp

Glenn Lawler



-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to