SYSTEM_POWER_CONTROL Enumeration

Options for control the power of computer.
Fields
 
Name Value Description
SYSTEM_LOCK 3
SYSTEM_LOGOFF 0
SYSTEM_REBOOT 2
SYSTEM_SHUTDOWN 1
public enum SYSTEM_POWER_CONTROL
 {
     SYSTEM_LOGOFF,
     SYSTEM_SHUTDOWN,
     SYSTEM_REBOOT,
     SYSTEM_LOCK
 }
					
This language is not supported or no code example is available.

In this article

Definition