using System; namespace SWRIS.Enums { [Flags] public enum ExecutionState : uint { /// /// Forces the system to be in the working state by resetting the system idle timer. /// SystemRequired = 0x01, /// /// Forces the display to be on by resetting the display idle timer. /// DisplayRequired = 0x02, /// /// This value is not supported. If is combined with other esFlags values, the call will fail and none of the specified states will be set. /// [Obsolete("This value is not supported.")] UserPresent = 0x04, /// /// Enables away mode. This value must be specified with . /// /// Away mode should be used only by media-recording and media-distribution applications that must perform critical background processing on desktop computers while the computer appears to be sleeping. /// AwaymodeRequired = 0x40, /// /// Informs the system that the state being set should remain in effect until the next call that uses and one of the other state flags is cleared. /// Continuous = 0x80000000, } }