Files
PowerShell-PowerShell/src/System.Management.Automation/engine/Interop/Windows/SetForegroundWindow.cs
T

17 lines
391 B
C#

// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#nullable enable
using System.Runtime.InteropServices;
internal static partial class Interop
{
internal static unsafe partial class Windows
{
[LibraryImport("user32.dll")]
[return: MarshalAs(UnmanagedType.Bool)]
internal static partial bool SetForegroundWindow(nint hWnd);
}
}