TwclPowerState Enumeration

The enumeration defines the system power states.

Namespace: wclPowerEvents
type
 TwclPowerState = (
 psResumeAutomatic,
 psResume,
 psSuspend,
 psUnknown
 );

The TwclPowerState type exposes the following members.

Show:
 NameDescription
psResume

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.

psResumeAutomatic

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.

psSuspend

Indicates that the computer is about to enter a suspended state.

psUnknown

Unknown power state.

Top