mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 19:26:39 +02:00
18 lines
516 B
C#
18 lines
516 B
C#
|
|
// 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;
|
|||
|
|
|
|||
|
|
namespace Microsoft.PowerToys.Settings.UI.Lib.Utilities
|
|||
|
|
{
|
|||
|
|
internal static class NativeMethods
|
|||
|
|
{
|
|||
|
|
[DllImport("user32.dll")]
|
|||
|
|
public static extern bool AllowSetForegroundWindow(int dwProcessId);
|
|||
|
|
}
|
|||
|
|
}
|