Results 1 to 2 of 2

Thread: Turn off comp using windows xp

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Dec 2001
    Posts
    134

    Unhappy 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.

  2. #2

    Thread Starter
    Addicted Member
    Join Date
    Dec 2001
    Posts
    134

    Talking 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
  •  



Click Here to Expand Forum to Full Width