Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

PowerModes Enumeration

Specifies how the operating system power mode changes.

[Visual Basic]
<Serializable>
Public Enum PowerModes
[C#]
[Serializable]
public enum PowerModes
[C++]
[Serializable]
__value public enum PowerModes
[JScript]
public
   Serializable
enum PowerModes

Members

Member name Description
Resume The operating system is about to resume.
StatusChange The power mode status of the operating system has changed. This might indicate a weak or charging battery, a transition from AC power from battery, or other change in the status of the system power supply.
Suspend The operating system is about to be suspended.

Requirements

Namespace: Microsoft.Win32

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System (in System.dll)

See Also

Microsoft.Win32 Namespace

Show:
© 2015 Microsoft