2020-10-09 17:58:52 -07:00
|
|
|
|
// Copyright (c) Microsoft Corporation
|
|
|
|
|
|
// The Microsoft Corporation licenses this file to you under the MIT license.
|
|
|
|
|
|
// See the LICENSE file in the project root for more information.
|
|
|
|
|
|
|
|
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
2020-10-22 09:45:48 -07:00
|
|
|
|
namespace Microsoft.PowerToys.Settings.UI.Library.Utilities
|
2020-10-09 17:58:52 -07:00
|
|
|
|
{
|
|
|
|
|
|
internal static class NativeMethods
|
|
|
|
|
|
{
|
|
|
|
|
|
[DllImport("user32.dll")]
|
|
|
|
|
|
public static extern bool AllowSetForegroundWindow(int dwProcessId);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|