Mega Code Archive
Categories
/
Delphi
/
Examples
Suspend the PC
Title: suspend the PC? SetSystemPowerState(False, True); //Forces the system down SetSystemPowerState(True, False); //Makes a "soft" off