You've already forked linux-packaging-mono
Imported Upstream version 5.16.0.100
Former-commit-id: 38faa55fb9669e35e7d8448b15c25dc447f25767
This commit is contained in:
parent
0a9828183b
commit
7d7f676260
50
external/corefx/src/Microsoft.Win32.SystemEvents/Microsoft.Win32.SystemEvents.sln
vendored
Normal file
50
external/corefx/src/Microsoft.Win32.SystemEvents/Microsoft.Win32.SystemEvents.sln
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 14
|
||||
VisualStudioVersion = 14.0.25420.1
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.Win32.SystemEvents.Tests", "tests\Microsoft.Win32.SystemEvents.Tests.csproj", "{8B21F7AD-928E-474C-875A-83D753BB8A28}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{91DD22C6-521E-49F9-84E8-1D65BAB97776} = {91DD22C6-521E-49F9-84E8-1D65BAB97776}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.Win32.SystemEvents", "src\Microsoft.Win32.SystemEvents.csproj", "{91DD22C6-521E-49F9-84E8-1D65BAB97776}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{90BAFB3A-C396-4323-AC4F-5F968230AD22} = {90BAFB3A-C396-4323-AC4F-5F968230AD22}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.Win32.SystemEvents", "ref\Microsoft.Win32.SystemEvents.csproj", "{90BAFB3A-C396-4323-AC4F-5F968230AD22}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{1A2F9F4A-A032-433E-B914-ADD5992BB178}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{E107E9C1-E893-4E87-987E-04EF0DCEAEFD}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ref", "ref", "{2E666815-2EDB-464B-9DF6-380BF4789AD4}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{8B21F7AD-928E-474C-875A-83D753BB8A28}.Debug|Any CPU.ActiveCfg = netcoreapp-Windows_NT-Debug|Any CPU
|
||||
{8B21F7AD-928E-474C-875A-83D753BB8A28}.Debug|Any CPU.Build.0 = netcoreapp-Windows_NT-Debug|Any CPU
|
||||
{8B21F7AD-928E-474C-875A-83D753BB8A28}.Release|Any CPU.ActiveCfg = netcoreapp-Windows_NT-Release|Any CPU
|
||||
{8B21F7AD-928E-474C-875A-83D753BB8A28}.Release|Any CPU.Build.0 = netcoreapp-Windows_NT-Release|Any CPU
|
||||
{91DD22C6-521E-49F9-84E8-1D65BAB97776}.Debug|Any CPU.ActiveCfg = netcoreapp-Windows_NT-Debug|Any CPU
|
||||
{91DD22C6-521E-49F9-84E8-1D65BAB97776}.Debug|Any CPU.Build.0 = netcoreapp-Windows_NT-Debug|Any CPU
|
||||
{91DD22C6-521E-49F9-84E8-1D65BAB97776}.Release|Any CPU.ActiveCfg = netcoreapp-Windows_NT-Release|Any CPU
|
||||
{91DD22C6-521E-49F9-84E8-1D65BAB97776}.Release|Any CPU.Build.0 = netcoreapp-Windows_NT-Release|Any CPU
|
||||
{90BAFB3A-C396-4323-AC4F-5F968230AD22}.Debug|Any CPU.ActiveCfg = netstandard-Debug|Any CPU
|
||||
{90BAFB3A-C396-4323-AC4F-5F968230AD22}.Debug|Any CPU.Build.0 = netstandard-Debug|Any CPU
|
||||
{90BAFB3A-C396-4323-AC4F-5F968230AD22}.Release|Any CPU.ActiveCfg = netstandard-Release|Any CPU
|
||||
{90BAFB3A-C396-4323-AC4F-5F968230AD22}.Release|Any CPU.Build.0 = netstandard-Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(NestedProjects) = preSolution
|
||||
{8B21F7AD-928E-474C-875A-83D753BB8A28} = {1A2F9F4A-A032-433E-B914-ADD5992BB178}
|
||||
{91DD22C6-521E-49F9-84E8-1D65BAB97776} = {E107E9C1-E893-4E87-987E-04EF0DCEAEFD}
|
||||
{90BAFB3A-C396-4323-AC4F-5F968230AD22} = {2E666815-2EDB-464B-9DF6-380BF4789AD4}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
8
external/corefx/src/Microsoft.Win32.SystemEvents/dir.props
vendored
Normal file
8
external/corefx/src/Microsoft.Win32.SystemEvents/dir.props
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="..\dir.props" />
|
||||
<PropertyGroup>
|
||||
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
||||
<AssemblyKey>Open</AssemblyKey>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
11
external/corefx/src/Microsoft.Win32.SystemEvents/pkg/Microsoft.Win32.SystemEvents.pkgproj
vendored
Normal file
11
external/corefx/src/Microsoft.Win32.SystemEvents/pkg/Microsoft.Win32.SystemEvents.pkgproj
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\ref\Microsoft.Win32.SystemEvents.csproj">
|
||||
<SupportedFramework>uap10.0.16299;net461;netcoreapp2.0;$(AllXamarinFrameworks)</SupportedFramework>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\src\Microsoft.Win32.SystemEvents.csproj" />
|
||||
</ItemGroup>
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
|
||||
</Project>
|
||||
9
external/corefx/src/Microsoft.Win32.SystemEvents/ref/Configurations.props
vendored
Normal file
9
external/corefx/src/Microsoft.Win32.SystemEvents/ref/Configurations.props
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<BuildConfigurations>
|
||||
netstandard;
|
||||
netfx;
|
||||
</BuildConfigurations>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
117
external/corefx/src/Microsoft.Win32.SystemEvents/ref/Microsoft.Win32.SystemEvents.cs
vendored
Normal file
117
external/corefx/src/Microsoft.Win32.SystemEvents/ref/Microsoft.Win32.SystemEvents.cs
vendored
Normal file
@@ -0,0 +1,117 @@
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
// ------------------------------------------------------------------------------
|
||||
// Changes to this file must follow the http://aka.ms/api-review process.
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Microsoft.Win32
|
||||
{
|
||||
public partial class PowerModeChangedEventArgs : System.EventArgs
|
||||
{
|
||||
public PowerModeChangedEventArgs(Microsoft.Win32.PowerModes mode) { }
|
||||
public Microsoft.Win32.PowerModes Mode { get { throw null; } }
|
||||
}
|
||||
public delegate void PowerModeChangedEventHandler(object sender, Microsoft.Win32.PowerModeChangedEventArgs e);
|
||||
public enum PowerModes
|
||||
{
|
||||
Resume = 1,
|
||||
StatusChange = 2,
|
||||
Suspend = 3,
|
||||
}
|
||||
public partial class SessionEndedEventArgs : System.EventArgs
|
||||
{
|
||||
public SessionEndedEventArgs(Microsoft.Win32.SessionEndReasons reason) { }
|
||||
public Microsoft.Win32.SessionEndReasons Reason { get { throw null; } }
|
||||
}
|
||||
public delegate void SessionEndedEventHandler(object sender, Microsoft.Win32.SessionEndedEventArgs e);
|
||||
public partial class SessionEndingEventArgs : System.EventArgs
|
||||
{
|
||||
public SessionEndingEventArgs(Microsoft.Win32.SessionEndReasons reason) { }
|
||||
public bool Cancel { get { throw null; } set { } }
|
||||
public Microsoft.Win32.SessionEndReasons Reason { get { throw null; } }
|
||||
}
|
||||
public delegate void SessionEndingEventHandler(object sender, Microsoft.Win32.SessionEndingEventArgs e);
|
||||
public enum SessionEndReasons
|
||||
{
|
||||
Logoff = 1,
|
||||
SystemShutdown = 2,
|
||||
}
|
||||
public partial class SessionSwitchEventArgs : System.EventArgs
|
||||
{
|
||||
public SessionSwitchEventArgs(Microsoft.Win32.SessionSwitchReason reason) { }
|
||||
public Microsoft.Win32.SessionSwitchReason Reason { get { throw null; } }
|
||||
}
|
||||
public delegate void SessionSwitchEventHandler(object sender, Microsoft.Win32.SessionSwitchEventArgs e);
|
||||
public enum SessionSwitchReason
|
||||
{
|
||||
ConsoleConnect = 1,
|
||||
ConsoleDisconnect = 2,
|
||||
RemoteConnect = 3,
|
||||
RemoteDisconnect = 4,
|
||||
SessionLock = 7,
|
||||
SessionLogoff = 6,
|
||||
SessionLogon = 5,
|
||||
SessionRemoteControl = 9,
|
||||
SessionUnlock = 8,
|
||||
}
|
||||
public sealed partial class SystemEvents
|
||||
{
|
||||
internal SystemEvents() { }
|
||||
public static event System.EventHandler DisplaySettingsChanged { add { } remove { } }
|
||||
public static event System.EventHandler DisplaySettingsChanging { add { } remove { } }
|
||||
public static event System.EventHandler EventsThreadShutdown { add { } remove { } }
|
||||
public static event System.EventHandler InstalledFontsChanged { add { } remove { } }
|
||||
[System.ComponentModel.BrowsableAttribute(false)]
|
||||
[System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))]
|
||||
[System.ObsoleteAttribute("This event has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202")]
|
||||
public static event System.EventHandler LowMemory { add { } remove { } }
|
||||
public static event System.EventHandler PaletteChanged { add { } remove { } }
|
||||
public static event Microsoft.Win32.PowerModeChangedEventHandler PowerModeChanged { add { } remove { } }
|
||||
public static event Microsoft.Win32.SessionEndedEventHandler SessionEnded { add { } remove { } }
|
||||
public static event Microsoft.Win32.SessionEndingEventHandler SessionEnding { add { } remove { } }
|
||||
public static event Microsoft.Win32.SessionSwitchEventHandler SessionSwitch { add { } remove { } }
|
||||
public static event System.EventHandler TimeChanged { add { } remove { } }
|
||||
public static event Microsoft.Win32.TimerElapsedEventHandler TimerElapsed { add { } remove { } }
|
||||
public static event Microsoft.Win32.UserPreferenceChangedEventHandler UserPreferenceChanged { add { } remove { } }
|
||||
public static event Microsoft.Win32.UserPreferenceChangingEventHandler UserPreferenceChanging { add { } remove { } }
|
||||
public static System.IntPtr CreateTimer(int interval) { throw null; }
|
||||
public static void InvokeOnEventsThread(System.Delegate method) { }
|
||||
public static void KillTimer(System.IntPtr timerId) { }
|
||||
}
|
||||
public partial class TimerElapsedEventArgs : System.EventArgs
|
||||
{
|
||||
public TimerElapsedEventArgs(System.IntPtr timerId) { }
|
||||
public System.IntPtr TimerId { get { throw null; } }
|
||||
}
|
||||
public delegate void TimerElapsedEventHandler(object sender, Microsoft.Win32.TimerElapsedEventArgs e);
|
||||
public enum UserPreferenceCategory
|
||||
{
|
||||
Accessibility = 1,
|
||||
Color = 2,
|
||||
Desktop = 3,
|
||||
General = 4,
|
||||
Icon = 5,
|
||||
Keyboard = 6,
|
||||
Locale = 13,
|
||||
Menu = 7,
|
||||
Mouse = 8,
|
||||
Policy = 9,
|
||||
Power = 10,
|
||||
Screensaver = 11,
|
||||
VisualStyle = 14,
|
||||
Window = 12,
|
||||
}
|
||||
public partial class UserPreferenceChangedEventArgs : System.EventArgs
|
||||
{
|
||||
public UserPreferenceChangedEventArgs(Microsoft.Win32.UserPreferenceCategory category) { }
|
||||
public Microsoft.Win32.UserPreferenceCategory Category { get { throw null; } }
|
||||
}
|
||||
public delegate void UserPreferenceChangedEventHandler(object sender, Microsoft.Win32.UserPreferenceChangedEventArgs e);
|
||||
public partial class UserPreferenceChangingEventArgs : System.EventArgs
|
||||
{
|
||||
public UserPreferenceChangingEventArgs(Microsoft.Win32.UserPreferenceCategory category) { }
|
||||
public Microsoft.Win32.UserPreferenceCategory Category { get { throw null; } }
|
||||
}
|
||||
public delegate void UserPreferenceChangingEventHandler(object sender, Microsoft.Win32.UserPreferenceChangingEventArgs e);
|
||||
}
|
||||
20
external/corefx/src/Microsoft.Win32.SystemEvents/ref/Microsoft.Win32.SystemEvents.csproj
vendored
Normal file
20
external/corefx/src/Microsoft.Win32.SystemEvents/ref/Microsoft.Win32.SystemEvents.csproj
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
|
||||
<PropertyGroup>
|
||||
<ProjectGuid>{90BAFB3A-C396-4323-AC4F-5F968230AD22}</ProjectGuid>
|
||||
<IsPartialFacadeAssembly Condition="'$(TargetGroup)' == 'netfx'">true</IsPartialFacadeAssembly>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netstandard-Debug|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netstandard-Release|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netfx-Debug|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netfx-Release|AnyCPU'" />
|
||||
<ItemGroup>
|
||||
<Compile Include="Microsoft.Win32.SystemEvents.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition="'$(TargetGroup)' == 'netfx'">
|
||||
<Reference Include="mscorlib" />
|
||||
<Reference Include="System" />
|
||||
</ItemGroup>
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
|
||||
</Project>
|
||||
14
external/corefx/src/Microsoft.Win32.SystemEvents/src/Configurations.props
vendored
Normal file
14
external/corefx/src/Microsoft.Win32.SystemEvents/src/Configurations.props
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<PackageConfigurations>
|
||||
netstandard;
|
||||
netcoreapp2.0-Windows_NT;
|
||||
netfx;
|
||||
</PackageConfigurations>
|
||||
<BuildConfigurations>
|
||||
$(PackageConfigurations);
|
||||
netcoreapp-Windows_NT;
|
||||
</BuildConfigurations>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
178
external/corefx/src/Microsoft.Win32.SystemEvents/src/Microsoft.Win32.SystemEvents.csproj
vendored
Normal file
178
external/corefx/src/Microsoft.Win32.SystemEvents/src/Microsoft.Win32.SystemEvents.csproj
vendored
Normal file
@@ -0,0 +1,178 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
|
||||
<PropertyGroup>
|
||||
<ProjectGuid>{91DD22C6-521E-49F9-84E8-1D65BAB97776}</ProjectGuid>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<IsPartialFacadeAssembly Condition="'$(TargetGroup)' == 'netfx'">true</IsPartialFacadeAssembly>
|
||||
<GeneratePlatformNotSupportedAssemblyMessage Condition="'$(TargetGroup)' == 'netstandard' AND '$(OSGroup)' == 'AnyOS'">SR.PlatformNotSupported_SystemEvents</GeneratePlatformNotSupportedAssemblyMessage>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Windows_NT-Debug|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Windows_NT-Release|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp2.0-Windows_NT-Debug|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp2.0-Windows_NT-Release|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netfx-Debug|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netfx-Release|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netstandard-Debug|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netstandard-Release|AnyCPU'" />
|
||||
<ItemGroup Condition="'$(TargetsWindows)' == 'true' ">
|
||||
<Compile Include="$(CommonPath)\Interop\Windows\Interop.Libraries.cs">
|
||||
<Link>Common\Interop\Windows\Interop.Libraries.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\Windows\Interop.Errors.cs">
|
||||
<Link>Common\Interop\Windows\Interop.Errors.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\Windows\user32\Interop.Constants.cs">
|
||||
<Link>Common\Interop\Windows\user32\Interop.Constants.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\Windows\user32\Interop.CreateWindowEx.cs">
|
||||
<Link>Common\Interop\Windows\user32\Interop.CreateWindowEx.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\Windows\user32\Interop.DefWindowProc.cs">
|
||||
<Link>Common\Interop\Windows\user32\Interop.DefWindowProc.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\Windows\user32\Interop.DestroyWindow.cs">
|
||||
<Link>Common\Interop\Windows\user32\Interop.DestroyWindow.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\Windows\user32\Interop.DispatchMessage.cs">
|
||||
<Link>Common\Interop\Windows\user32\Interop.DispatchMessage.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\Windows\user32\Interop.GetClassInfo.cs">
|
||||
<Link>Common\Interop\Windows\user32\Interop.GetClassInfo.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\Windows\user32\Interop.GetProcessWindowStation.cs">
|
||||
<Link>Common\Interop\Windows\user32\Interop.GetProcessWindowStation.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\Windows\user32\Interop.GetUserObjectInformation.cs">
|
||||
<Link>Common\Interop\Windows\user32\Interop.GetUserObjectInformation.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\Windows\user32\Interop.GetWindowThreadProcessId.cs">
|
||||
<Link>Common\Interop\Windows\user32\Interop.GetWindowThreadProcessId.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\Windows\user32\Interop.IsWindow.cs">
|
||||
<Link>Common\Interop\Windows\user32\Interop.IsWindow.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\Windows\user32\Interop.KillTimer.cs">
|
||||
<Link>Common\Interop\Windows\user32\Interop.KillTimer.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\Windows\user32\Interop.MSG.cs">
|
||||
<Link>Common\Interop\Windows\user32\Interop.MSG.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\Windows\user32\Interop.MsgWaitForMultipleObjectsEx.cs">
|
||||
<Link>Common\Interop\Windows\user32\Interop.MsgWaitForMultipleObjectsEx.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\Windows\user32\Interop.PeekMessage.cs">
|
||||
<Link>Common\Interop\Windows\user32\Interop.PeekMessage.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\Windows\user32\Interop.PostMessage.cs">
|
||||
<Link>Common\Interop\Windows\user32\Interop.PostMessage.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\Windows\user32\Interop.RegisterClass.cs">
|
||||
<Link>Common\Interop\Windows\user32\Interop.RegisterClass.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\Windows\user32\Interop.RegisterWindowMessage.cs">
|
||||
<Link>Common\Interop\Windows\user32\Interop.RegisterWindowMessage.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\Windows\user32\Interop.SendMessage.cs">
|
||||
<Link>Common\Interop\Windows\user32\Interop.SendMessage.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\Windows\user32\Interop.SetClassLong.cs">
|
||||
<Link>Common\Interop\Windows\user32\Interop.SetClassLong.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\Windows\user32\Interop.SetClassLongPtr.cs">
|
||||
<Link>Common\Interop\Windows\user32\Interop.SetClassLongPtr.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\Windows\user32\Interop.SetTimer.cs">
|
||||
<Link>Common\Interop\Windows\user32\Interop.SetTimer.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\Windows\user32\Interop.SetWindowLong.cs">
|
||||
<Link>Common\Interop\Windows\user32\Interop.SetWindowLong.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\Windows\user32\Interop.SetWindowLongPtr.cs">
|
||||
<Link>Common\Interop\Windows\user32\Interop.SetWindowLongPtr.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\Windows\user32\Interop.TranslateMessage.cs">
|
||||
<Link>Common\Interop\Windows\user32\Interop.TranslateMessage.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\Windows\user32\Interop.UnregisterClass.cs">
|
||||
<Link>Common\Interop\Windows\user32\Interop.UnregisterClass.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\Windows\user32\Interop.USEROBJECTFLAGS.cs">
|
||||
<Link>Common\Interop\Windows\user32\Interop.USEROBJECTFLAGS.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\Windows\user32\Interop.WNDCLASS.cs">
|
||||
<Link>Common\Interop\Windows\user32\Interop.WNDCLASS.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\Windows\user32\Interop.WndProc.cs">
|
||||
<Link>Common\Interop\Windows\user32\Interop.WndProc.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\Windows\kernel32\Interop.GetCurrentThreadId.cs">
|
||||
<Link>Common\Interop\Windows\kernel32\Interop.GetCurrentThreadId.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\Windows\kernel32\Interop.GetModuleHandle.cs">
|
||||
<Link>Common\Interop\Windows\kernel32\Interop.GetModuleHandle.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\Windows\kernel32\Interop.GetProcAddress.cs">
|
||||
<Link>Common\Interop\Windows\kernel32\Interop.GetProcAddress.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\Windows\kernel32\Interop.LoadLibrary.cs">
|
||||
<Link>Common\Interop\Windows\kernel32\Interop.LoadLibrary.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\Windows\kernel32\Interop.FreeLibrary.cs">
|
||||
<Link>Common\Interop\Windows\kernel32\Interop.FreeLibrary.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\Windows\kernel32\Interop.SetConsoleCtrlHandler.cs">
|
||||
<Link>Common\Interop\Windows\kernel32\Interop.SetConsoleCtrlHandler.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\Windows\wtsapi32\Interop.Constants.cs">
|
||||
<Link>Common\Interop\Windows\wtsapi32\Interop.Constants.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\Windows\wtsapi32\Interop.WTSRegisterSessionNotification.cs">
|
||||
<Link>Common\Interop\Windows\wtsapi32\Interop.WTSRegisterSessionNotification.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\Windows\wtsapi32\Interop.WTSUnRegisterSessionNotification.cs">
|
||||
<Link>Common\Interop\Windows\wtsapi32\Interop.WTSUnRegisterSessionNotification.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Microsoft\Win32\SafeHandles\SafeLibraryHandle.cs">
|
||||
<Link>Common\Microsoft\Win32\SafeHandles\SafeLibraryHandle.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="Microsoft\Win32\PowerModeChangedEventArgs.cs" />
|
||||
<Compile Include="Microsoft\Win32\PowerModeChangedEventHandler.cs" />
|
||||
<Compile Include="Microsoft\Win32\PowerModes.cs" />
|
||||
<Compile Include="Microsoft\Win32\SessionEndedEventArgs.cs" />
|
||||
<Compile Include="Microsoft\Win32\SessionEndedEventHandler.cs" />
|
||||
<Compile Include="Microsoft\Win32\SessionEndingEventArgs.cs" />
|
||||
<Compile Include="Microsoft\Win32\SessionEndingEventHandler.cs" />
|
||||
<Compile Include="Microsoft\Win32\SessionEndReasons.cs" />
|
||||
<Compile Include="Microsoft\Win32\SessionSwitchEventArgs.cs" />
|
||||
<Compile Include="Microsoft\Win32\SessionSwitchEventHandler.cs" />
|
||||
<Compile Include="Microsoft\Win32\SessionSwitchReason.cs" />
|
||||
<Compile Include="Microsoft\Win32\SystemEvents.cs" />
|
||||
<Compile Include="Microsoft\Win32\TimerElapsedEventArgs.cs" />
|
||||
<Compile Include="Microsoft\Win32\TimerElapsedEventHandler.cs" />
|
||||
<Compile Include="Microsoft\Win32\UserPreferenceCategories.cs" />
|
||||
<Compile Include="Microsoft\Win32\UserPreferenceChangedEventArgs.cs" />
|
||||
<Compile Include="Microsoft\Win32\UserPreferenceChangedEventHandler.cs" />
|
||||
<Compile Include="Microsoft\Win32\UserPreferenceChangingEventArgs.cs" />
|
||||
<Compile Include="Microsoft\Win32\UserPreferenceChangingEventHandler.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition="'$(TargetGroup)' == 'netfx'">
|
||||
<Reference Include="mscorlib" />
|
||||
<Reference Include="System" />
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition="'$(TargetGroup)' == 'netcoreapp' OR '$(TargetGroup)' == 'netcoreapp2.0'">
|
||||
<Reference Include="System.Collections" />
|
||||
<Reference Include="System.ComponentModel.EventBasedAsync" />
|
||||
<Reference Include="System.ComponentModel.Primitives" />
|
||||
<Reference Include="System.ComponentModel.TypeConverter" />
|
||||
<Reference Include="System.Diagnostics.Debug" />
|
||||
<Reference Include="System.Diagnostics.Tools" />
|
||||
<Reference Include="System.Resources.ResourceManager" />
|
||||
<Reference Include="System.Runtime" />
|
||||
<Reference Include="System.Runtime.Extensions" />
|
||||
<Reference Include="System.Runtime.InteropServices" />
|
||||
<Reference Include="System.Threading" />
|
||||
<Reference Include="System.Threading.Thread" />
|
||||
</ItemGroup>
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
|
||||
</Project>
|
||||
@@ -0,0 +1,36 @@
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
using System;
|
||||
|
||||
namespace Microsoft.Win32
|
||||
{
|
||||
/// <devdoc>
|
||||
/// <para>Provides data for the <see cref='Microsoft.Win32.SystemEvents.PowerModeChanged'/> event.</para>
|
||||
/// </devdoc>
|
||||
public class PowerModeChangedEventArgs : EventArgs
|
||||
{
|
||||
private readonly PowerModes _mode;
|
||||
|
||||
/// <devdoc>
|
||||
/// <para>Initializes a new instance of the <see cref='Microsoft.Win32.PowerModeChangedEventArgs'/> class.</para>
|
||||
/// </devdoc>
|
||||
public PowerModeChangedEventArgs(PowerModes mode)
|
||||
{
|
||||
_mode = mode;
|
||||
}
|
||||
|
||||
/// <devdoc>
|
||||
/// <para>Gets the power mode.</para>
|
||||
/// </devdoc>
|
||||
public PowerModes Mode
|
||||
{
|
||||
get
|
||||
{
|
||||
return _mode;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
namespace Microsoft.Win32
|
||||
{
|
||||
/// <devdoc>
|
||||
/// <para>Represents the method that will handle the <see cref='Microsoft.Win32.SystemEvents.PowerModeChanged'/> event.</para>
|
||||
/// </devdoc>
|
||||
public delegate void PowerModeChangedEventHandler(object sender, PowerModeChangedEventArgs e);
|
||||
}
|
||||
|
||||
32
external/corefx/src/Microsoft.Win32.SystemEvents/src/Microsoft/Win32/PowerModes.cs
vendored
Normal file
32
external/corefx/src/Microsoft.Win32.SystemEvents/src/Microsoft/Win32/PowerModes.cs
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
namespace Microsoft.Win32
|
||||
{
|
||||
/// <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,
|
||||
}
|
||||
}
|
||||
|
||||
26
external/corefx/src/Microsoft.Win32.SystemEvents/src/Microsoft/Win32/SessionEndReasons.cs
vendored
Normal file
26
external/corefx/src/Microsoft.Win32.SystemEvents/src/Microsoft/Win32/SessionEndReasons.cs
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
namespace Microsoft.Win32
|
||||
{
|
||||
/// <devdoc>
|
||||
/// <para> Specifies how the current
|
||||
/// logon session is ending.</para>
|
||||
/// </devdoc>
|
||||
public enum SessionEndReasons
|
||||
{
|
||||
/// <devdoc>
|
||||
/// The user is logging off. The system may continue
|
||||
/// running but the user who started this application
|
||||
/// is logging off.
|
||||
/// </devdoc>
|
||||
Logoff = 1,
|
||||
|
||||
/// <devdoc>
|
||||
/// The system is shutting down.
|
||||
/// </devdoc>
|
||||
SystemShutdown = 2,
|
||||
}
|
||||
}
|
||||
|
||||
36
external/corefx/src/Microsoft.Win32.SystemEvents/src/Microsoft/Win32/SessionEndedEventArgs.cs
vendored
Normal file
36
external/corefx/src/Microsoft.Win32.SystemEvents/src/Microsoft/Win32/SessionEndedEventArgs.cs
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
using System;
|
||||
|
||||
namespace Microsoft.Win32
|
||||
{
|
||||
/// <devdoc>
|
||||
/// <para>Provides data for the <see cref='Microsoft.Win32.SystemEvents.SessionEnded'/> event.</para>
|
||||
/// </devdoc>
|
||||
public class SessionEndedEventArgs : EventArgs
|
||||
{
|
||||
private readonly SessionEndReasons _reason;
|
||||
|
||||
/// <devdoc>
|
||||
/// <para>Initializes a new instance of the <see cref='Microsoft.Win32.SessionEndedEventArgs'/> class.</para>
|
||||
/// </devdoc>
|
||||
public SessionEndedEventArgs(SessionEndReasons reason)
|
||||
{
|
||||
_reason = reason;
|
||||
}
|
||||
|
||||
/// <devdoc>
|
||||
/// <para>Gets how the session ended.</para>
|
||||
/// </devdoc>
|
||||
public SessionEndReasons Reason
|
||||
{
|
||||
get
|
||||
{
|
||||
return _reason;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
12
external/corefx/src/Microsoft.Win32.SystemEvents/src/Microsoft/Win32/SessionEndedEventHandler.cs
vendored
Normal file
12
external/corefx/src/Microsoft.Win32.SystemEvents/src/Microsoft/Win32/SessionEndedEventHandler.cs
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
namespace Microsoft.Win32
|
||||
{
|
||||
/// <devdoc>
|
||||
/// <para>Represents the method that will handle the <see cref='Microsoft.Win32.SystemEvents.SessionEnded'/> event.</para>
|
||||
/// </devdoc>
|
||||
public delegate void SessionEndedEventHandler(object sender, SessionEndedEventArgs e);
|
||||
}
|
||||
|
||||
52
external/corefx/src/Microsoft.Win32.SystemEvents/src/Microsoft/Win32/SessionEndingEventArgs.cs
vendored
Normal file
52
external/corefx/src/Microsoft.Win32.SystemEvents/src/Microsoft/Win32/SessionEndingEventArgs.cs
vendored
Normal file
@@ -0,0 +1,52 @@
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
using System;
|
||||
|
||||
namespace Microsoft.Win32
|
||||
{
|
||||
/// <devdoc>
|
||||
/// <para>Provides data for the <see cref='Microsoft.Win32.SystemEvents.SessionEnding'/> event.</para>
|
||||
/// </devdoc>
|
||||
public class SessionEndingEventArgs : EventArgs
|
||||
{
|
||||
private bool _cancel;
|
||||
private readonly SessionEndReasons _reason;
|
||||
|
||||
/// <devdoc>
|
||||
/// <para>Initializes a new instance of the <see cref='Microsoft.Win32.SessionEndingEventArgs'/> class.</para>
|
||||
/// </devdoc>
|
||||
public SessionEndingEventArgs(SessionEndReasons reason)
|
||||
{
|
||||
_reason = reason;
|
||||
}
|
||||
|
||||
/// <devdoc>
|
||||
/// <para>Gets or sets a value indicating whether to cancel the user request to end the session.</para>
|
||||
/// </devdoc>
|
||||
public bool Cancel
|
||||
{
|
||||
get
|
||||
{
|
||||
return _cancel;
|
||||
}
|
||||
set
|
||||
{
|
||||
_cancel = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <devdoc>
|
||||
/// <para>Gets how the session is ending.</para>
|
||||
/// </devdoc>
|
||||
public SessionEndReasons Reason
|
||||
{
|
||||
get
|
||||
{
|
||||
return _reason;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
namespace Microsoft.Win32
|
||||
{
|
||||
/// <devdoc>
|
||||
/// <para>Represents the method that will handle the <see cref='Microsoft.Win32.SystemEvents.SessionEnding'/> event.</para>
|
||||
/// </devdoc>
|
||||
public delegate void SessionEndingEventHandler(object sender, SessionEndingEventArgs e);
|
||||
}
|
||||
|
||||
36
external/corefx/src/Microsoft.Win32.SystemEvents/src/Microsoft/Win32/SessionSwitchEventArgs.cs
vendored
Normal file
36
external/corefx/src/Microsoft.Win32.SystemEvents/src/Microsoft/Win32/SessionSwitchEventArgs.cs
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
using System;
|
||||
|
||||
namespace Microsoft.Win32
|
||||
{
|
||||
/// <devdoc>
|
||||
/// <para>Provides data for the <see cref='Microsoft.Win32.SystemEvents.SessionSwitch'/> event.</para>
|
||||
/// </devdoc>
|
||||
public class SessionSwitchEventArgs : EventArgs
|
||||
{
|
||||
private readonly SessionSwitchReason _reason;
|
||||
|
||||
/// <devdoc>
|
||||
/// <para>Initializes a new instance of the <see cref='Microsoft.Win32.SessionSwitchEventArgs'/> class.</para>
|
||||
/// </devdoc>
|
||||
public SessionSwitchEventArgs(SessionSwitchReason reason)
|
||||
{
|
||||
_reason = reason;
|
||||
}
|
||||
|
||||
/// <devdoc>
|
||||
/// <para>Gets the reason for the session switch.</para>
|
||||
/// </devdoc>
|
||||
public SessionSwitchReason Reason
|
||||
{
|
||||
get
|
||||
{
|
||||
return _reason;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
namespace Microsoft.Win32
|
||||
{
|
||||
/// <devdoc>
|
||||
/// <para>Represents the method that will handle the <see cref='Microsoft.Win32.SystemEvents.SessionSwitch'/> event.</para>
|
||||
/// </devdoc>
|
||||
public delegate void SessionSwitchEventHandler(object sender, SessionSwitchEventArgs e);
|
||||
}
|
||||
|
||||
61
external/corefx/src/Microsoft.Win32.SystemEvents/src/Microsoft/Win32/SessionSwitchReason.cs
vendored
Normal file
61
external/corefx/src/Microsoft.Win32.SystemEvents/src/Microsoft/Win32/SessionSwitchReason.cs
vendored
Normal file
@@ -0,0 +1,61 @@
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
using System.Diagnostics;
|
||||
using System;
|
||||
|
||||
namespace Microsoft.Win32
|
||||
{
|
||||
/// <devdoc>
|
||||
/// <para> Specifies the reason for the session switch</para>
|
||||
/// </devdoc>
|
||||
public enum SessionSwitchReason
|
||||
{
|
||||
/// <devdoc>
|
||||
/// A session was connected to the console session.
|
||||
/// </devdoc>
|
||||
ConsoleConnect = Interop.Wtsapi32.WTS_CONSOLE_CONNECT,
|
||||
|
||||
/// <devdoc>
|
||||
/// A session was disconnected from the console session.
|
||||
/// </devdoc>
|
||||
ConsoleDisconnect = Interop.Wtsapi32.WTS_CONSOLE_DISCONNECT,
|
||||
|
||||
/// <devdoc>
|
||||
/// A session was connected to the remote session.
|
||||
/// </devdoc>
|
||||
RemoteConnect = Interop.Wtsapi32.WTS_REMOTE_CONNECT,
|
||||
|
||||
/// <devdoc>
|
||||
/// A session was disconnected from the remote session.
|
||||
/// </devdoc>
|
||||
RemoteDisconnect = Interop.Wtsapi32.WTS_REMOTE_DISCONNECT,
|
||||
|
||||
/// <devdoc>
|
||||
/// A user has logged on to the session.
|
||||
/// </devdoc>
|
||||
SessionLogon = Interop.Wtsapi32.WTS_SESSION_LOGON,
|
||||
|
||||
/// <devdoc>
|
||||
/// A user has logged off the session.
|
||||
/// </devdoc>
|
||||
SessionLogoff = Interop.Wtsapi32.WTS_SESSION_LOGOFF,
|
||||
|
||||
/// <devdoc>
|
||||
/// A session has been locked.
|
||||
/// </devdoc>
|
||||
SessionLock = Interop.Wtsapi32.WTS_SESSION_LOCK,
|
||||
|
||||
/// <devdoc>
|
||||
/// A session has been unlocked.
|
||||
/// </devdoc>
|
||||
SessionUnlock = Interop.Wtsapi32.WTS_SESSION_UNLOCK,
|
||||
|
||||
/// <devdoc>
|
||||
/// A session has changed its remote controlled status.
|
||||
/// </devdoc>
|
||||
SessionRemoteControl = Interop.Wtsapi32.WTS_SESSION_REMOTE_CONTROL
|
||||
}
|
||||
}
|
||||
|
||||
1485
external/corefx/src/Microsoft.Win32.SystemEvents/src/Microsoft/Win32/SystemEvents.cs
vendored
Normal file
1485
external/corefx/src/Microsoft.Win32.SystemEvents/src/Microsoft/Win32/SystemEvents.cs
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user