Jo Shields 3c1f479b9d Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
2015-04-07 09:35:12 +01:00

40 lines
1.2 KiB
C#

//------------------------------------------------------------------------------
// <copyright file="PowerModes.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
/*
*/
namespace Microsoft.Win32 {
using System.Diagnostics;
using System;
/// <devdoc>
/// <para> Specifies how the system
/// power mode changes.</para>
/// </devdoc>
public enum PowerModes {
/// <devdoc>
/// <para> The system is about to resume.</para>
/// </devdoc>
Resume = 1,
/// <devdoc>
/// The power mode status has changed. This may
/// indicate a weak or charging battery, a transition
/// from AC power from battery, or other change in the
/// status of the system power supply.
/// </devdoc>
StatusChange = 2,
/// <devdoc>
/// The system is about to be suspended.
/// </devdoc>
Suspend = 3,
}
}