Windows-powershell / PowerShell-master /src /System.Management.Automation /engine /Interop /Windows /ShowWindow.cs
| // Copyright (c) Microsoft Corporation. | |
| // Licensed under the MIT License. | |
| using System.Runtime.InteropServices; | |
| internal static partial class Interop | |
| { | |
| internal static unsafe partial class Windows | |
| { | |
| internal const int SW_HIDE = 0; | |
| internal const int SW_SHOWNORMAL = 1; | |
| internal const int SW_NORMAL = 1; | |
| internal const int SW_SHOWMINIMIZED = 2; | |
| internal const int SW_SHOWMAXIMIZED = 3; | |
| internal const int SW_MAXIMIZE = 3; | |
| internal const int SW_SHOWNOACTIVATE = 4; | |
| internal const int SW_SHOW = 5; | |
| internal const int SW_MINIMIZE = 6; | |
| internal const int SW_SHOWMINNOACTIVE = 7; | |
| internal const int SW_SHOWNA = 8; | |
| internal const int SW_RESTORE = 9; | |
| internal const int SW_SHOWDEFAULT = 10; | |
| internal const int SW_FORCEMINIMIZE = 11; | |
| internal const int SW_MAX = 11; | |
| [] | |
| [] | |
| internal static partial bool ShowWindow(nint hWnd, int nCmdShow); | |
| } | |
| } | |