You've already forked linux-packaging-mono
Imported Upstream version 4.6.0.125
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
This commit is contained in:
parent
a569aebcfd
commit
e79aa3c0ed
@ -0,0 +1,65 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <copyright file="SessionSwitchReason.cs" company="Microsoft">
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// </copyright>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
/*
|
||||
*/
|
||||
namespace Microsoft.Win32 {
|
||||
using System.Diagnostics;
|
||||
using System;
|
||||
|
||||
/// <devdoc>
|
||||
/// <para> Specifies the reason for the session switch</para>
|
||||
/// </devdoc>
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1008:EnumsShouldHaveZeroValue")]
|
||||
public enum SessionSwitchReason {
|
||||
|
||||
/// <devdoc>
|
||||
/// A session was connected to the console session.
|
||||
/// </devdoc>
|
||||
ConsoleConnect = NativeMethods.WTS_CONSOLE_CONNECT,
|
||||
|
||||
/// <devdoc>
|
||||
/// A session was disconnected from the console session.
|
||||
/// </devdoc>
|
||||
ConsoleDisconnect = NativeMethods.WTS_CONSOLE_DISCONNECT,
|
||||
|
||||
/// <devdoc>
|
||||
/// A session was connected to the remote session.
|
||||
/// </devdoc>
|
||||
RemoteConnect = NativeMethods.WTS_REMOTE_CONNECT,
|
||||
|
||||
/// <devdoc>
|
||||
/// A session was disconnected from the remote session.
|
||||
/// </devdoc>
|
||||
RemoteDisconnect = NativeMethods.WTS_REMOTE_DISCONNECT,
|
||||
|
||||
/// <devdoc>
|
||||
/// A user has logged on to the session.
|
||||
/// </devdoc>
|
||||
SessionLogon = NativeMethods.WTS_SESSION_LOGON,
|
||||
|
||||
/// <devdoc>
|
||||
/// A user has logged off the session.
|
||||
/// </devdoc>
|
||||
SessionLogoff = NativeMethods.WTS_SESSION_LOGOFF,
|
||||
|
||||
/// <devdoc>
|
||||
/// A session has been locked.
|
||||
/// </devdoc>
|
||||
SessionLock = NativeMethods.WTS_SESSION_LOCK,
|
||||
|
||||
/// <devdoc>
|
||||
/// A session has been unlocked.
|
||||
/// </devdoc>
|
||||
SessionUnlock = NativeMethods.WTS_SESSION_UNLOCK,
|
||||
|
||||
/// <devdoc>
|
||||
/// A session has changed its remote controlled status.
|
||||
/// </devdoc>
|
||||
SessionRemoteControl = NativeMethods.WTS_SESSION_REMOTE_CONTROL
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user