|
-
Dec 30th, 2001, 02:18 AM
#1
Thread Starter
Addicted Member
Turn off comp using windows xp
Anyone know how to turn off the computer under windows xp?
I did it using windows 98 or under.
I am making a program and i need to turn off the computer after certain number of minutes.
-
Dec 31st, 2001, 04:00 AM
#2
Thread Starter
Addicted Member
If you want to know how to
first.....visit this page....
===Absolute Windows Shut Down ===
http://www.planet-source-code.com/xq...s/ShowCode.htm
read it .... it is almost completed.....
if you want to turn off insert this code
===> (general) (declarations)
Private Const EWX_POWEROFF = 8
===> to turn off write
ExitWindowsEx (EWX_POWEROFF), &HFFFF
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
|