e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
40 lines
1.2 KiB
C#
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,
|
|
|
|
}
|
|
}
|
|
|