Team Ai
Datasetpublic

MegaBites-AI/Windows-powershell

sourceHugging Facemitupdated 6mo agoView on Hugging Face
0likes372downloads
1// Copyright (c) Microsoft Corporation.2// Licensed under the MIT License.3 4namespace Microsoft.PowerShell5{6    /// <summary>7    /// HRESULT Wrapper8    /// </summary>9    internal enum HResult10    {11        /// <summary>12        /// S_OK13        /// </summary>14        Ok = 0x0000,15 16        /// <summary>17        /// S_FALSE.18        /// </summary>19        False = 0x0001,20 21        /// <summary>22        /// E_INVALIDARG.23        /// </summary>24        InvalidArguments = unchecked((int)0x80070057),25 26        /// <summary>27        /// E_OUTOFMEMORY.28        /// </summary>29        OutOfMemory = unchecked((int)0x8007000E),30 31        /// <summary>32        /// E_NOINTERFACE.33        /// </summary>34        NoInterface = unchecked((int)0x80004002),35 36        /// <summary>37        /// E_FAIL.38        /// </summary>39        Fail = unchecked((int)0x80004005),40 41        /// <summary>42        /// E_ELEMENTNOTFOUND.43        /// </summary>44        ElementNotFound = unchecked((int)0x80070490),45 46        /// <summary>47        /// TYPE_E_ELEMENTNOTFOUND.48        /// </summary>49        TypeElementNotFound = unchecked((int)0x8002802B),50 51        /// <summary>52        /// NO_OBJECT.53        /// </summary>54        NoObject = unchecked((int)0x800401E5),55 56        /// <summary>57        /// Win32 Error code: ERROR_CANCELLED.58        /// </summary>59        Win32ErrorCanceled = 1223,60 61        /// <summary>62        /// ERROR_CANCELLED.63        /// </summary>64        Canceled = unchecked((int)0x800704C7),65 66        /// <summary>67        /// The requested resource is in use.68        /// </summary>69        ResourceInUse = unchecked((int)0x800700AA),70 71        /// <summary>72        /// The requested resources is read-only.73        /// </summary>74        AccessDenied = unchecked((int)0x80030005)75    }76}77