mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
17 lines
391 B
C#
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);
|
|
}
|
|
}
|