...suspend the PC?

Author: Simon Grossenbacher
Homepage: http://www.swissdelphicenter.ch

Category: System

SetSystemPowerState(False, True);  //Forces the system down
SetSystemPowerState(True, False); //Makes a "soft" off

 

printed from
www.swissdelphicenter.ch
developers knowledge base