Serial Framework C++ Edition

◆ wclPowerState

The enumeration defines the system power states.

Enumerator
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.

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.

psSuspend 

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

psUnknown 

Unknown power state.