wclPowerState Enumeration |
The enumeration defines the system power states.
Namespace: wclCommonAssembly: wclCommon (in wclCommon.dll) Version: 7.13.6.0 (7.13.6.0)
Syntaxpublic enum wclPowerState
Public Enumeration wclPowerState
public enum class wclPowerState
Members| Member name | Value | Description |
|---|
| psPowerStatusChanged | 0 | The power status of the computer has been changed. |
| psResumeAutomatic | 1 | Indicates that the system is resuming from sleep or
hibernation. This state is delivered every time the system resumes and
does not indicate whether a user is present. |
| psResume | 2 | Indicates that the system is resuming from a low-power state.
This state appears after psResumeAutomatic if the resume is
triggered by user input, such as pressing a key. |
| psSuspend | 3 | Indicates that the computer is about to enter a suspended
state. |
| psUnknown | 4 | Unknown power state. |
See Also