This documentation is archived and is not being maintained.

PowerModes Enumeration

Specifies how the operating system power mode changes.

[Visual Basic]
Public Enum PowerModes
public enum PowerModes
__value public enum PowerModes
enum PowerModes


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.


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