Windows-powershell / PowerShell-master /src /System.Management.Automation /engine /Interop /Windows /Errors.cs
Download PowerShell-master/src/System.Management.Automation/engine/Interop/Windows/Errors.cs from MegaBites-AI/Windows-powershell: direct link, hf CLI and curl.
- Browser
- Download file 663 Bytes
-
https://huggingface.co/datasets/MegaBites-AI/Windows-powershell/resolve/main/PowerShell-master/src/System.Management.Automation/engine/Interop/Windows/Errors.cs
- Command line
-
hf download hf://datasets/MegaBites-AI/Windows-powershell/PowerShell-master/src/System.Management.Automation/engine/Interop/Windows/Errors.cs
-
curl -L -o Errors.cs https://huggingface.co/datasets/MegaBites-AI/Windows-powershell/resolve/main/PowerShell-master/src/System.Management.Automation/engine/Interop/Windows/Errors.cs
663 Bytes
| // Copyright (c) Microsoft Corporation. | |
| // Licensed under the MIT License. | |
| internal static partial class Interop | |
| { | |
| internal static partial class Windows | |
| { | |
| // List of error constants https://learn.microsoft.com/en-us/windows/win32/debug/system-error-codes | |
| internal const int ERROR_SUCCESS = 0; | |
| internal const int ERROR_FILE_NOT_FOUND = 2; | |
| internal const int ERROR_GEN_FAILURE = 31; | |
| internal const int ERROR_NOT_SUPPORTED = 50; | |
| internal const int ERROR_NO_NETWORK = 1222; | |
| internal const int ERROR_MORE_DATA = 234; | |
| internal const int ERROR_CONNECTION_UNAVAIL = 1201; | |
| } | |
| } | |