Windows-powershell / PowerShell-master /src /System.Management.Automation /engine /Interop /Windows /ShowWindow.cs
Download PowerShell-master/src/System.Management.Automation/engine/Interop/Windows/ShowWindow.cs from MegaBites-AI/Windows-powershell: direct link, hf CLI and curl.
- Browser
- Download file 1.08 kB
-
https://huggingface.co/datasets/MegaBites-AI/Windows-powershell/resolve/main/PowerShell-master/src/System.Management.Automation/engine/Interop/Windows/ShowWindow.cs
- Command line
-
hf download hf://datasets/MegaBites-AI/Windows-powershell/PowerShell-master/src/System.Management.Automation/engine/Interop/Windows/ShowWindow.cs
-
curl -L -o ShowWindow.cs https://huggingface.co/datasets/MegaBites-AI/Windows-powershell/resolve/main/PowerShell-master/src/System.Management.Automation/engine/Interop/Windows/ShowWindow.cs
1.08 kB
| // 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); | |
| } | |
| } | |