|
-
August 4th, 1999, 12:20 AM
#1
Shut Down windows
I am using ExitWindowsEx API.But it shuts down windows.How do I RESTART Windows?
Thanks
-
August 4th, 1999, 03:25 AM
#2
Re: Shut Down windows
ExitWindowsEx (EWX_REBOOT)
That should do the trick.
-
August 4th, 1999, 04:04 AM
#3
Re: Shut Down windows
MSDN:
EWX_REBOOT = 2.
On NT you should have SE_SHUTDOWN_NAME previlage
you are supposed yo use AdjustTokenPrevileges fn to enable this
Life is a comedy for those who think and a tragedy for those who feel
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|