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