Announcement

Collapse
No announcement yet.

Shutdown Windows/Standby

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Shutdown Windows/Standby

    I have a nice little app that has saved my PC from the old power off many times (I like to play that memory leaking game called Team Fortress online)...

    anyway, tonight I was playing and did a shutdown and accidentally clicked "Standbye", which led me to think, can you put the PC in standbye using the same api call as to shut down windows??

    Here's what I do now:

    Result = ExitWindowsEx(uFLags,dwReserved)

    Thanks

    Scott


    -------------
    Scott
    mailto:[email protected][email protected]</A>
    Scott Turchin
    MCSE, MCP+I
    http://www.tngbbs.com
    ----------------------
    True Karate-do is this: that in daily life, one's mind and body be trained and developed in a spirit of humility; and that in critical times, one be devoted utterly to the cause of justice. -Gichin Funakoshi

  • #2
    Posting again, or replying actually...

    My shutdown utilitiy is done with the exception of Windows 98 "Standbye" mode, does anyone know how to get the PC there using API???

    Thanks

    Scott

    ------------------
    Scott
    mailto:[email protected][email protected]</A>
    Scott Turchin
    MCSE, MCP+I
    http://www.tngbbs.com
    ----------------------
    True Karate-do is this: that in daily life, one's mind and body be trained and developed in a spirit of humility; and that in critical times, one be devoted utterly to the cause of justice. -Gichin Funakoshi

    Comment


    • #3
      SetSystemPowerState %False, %True

      ------------------

      Comment

      Working...
      X