// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

internal static partial class Interop
{
    internal static partial class NCrypt
    {
        /// <summary>
        ///     Result codes from NCrypt APIs
        /// </summary>
        internal enum ErrorCode : int
        {
            ERROR_SUCCESS = 0,
            NTE_BAD_SIGNATURE = unchecked((int)0x80090006),
            NTE_NOT_FOUND = unchecked((int)0x80090011),
            NTE_BAD_KEYSET = unchecked((int)0x80090016),
            NTE_INVALID_PARAMETER = unchecked((int)0x80090027),
            NTE_BUFFER_TOO_SMALL = unchecked((int)0x80090028),
            NTE_NO_MORE_ITEMS = unchecked((int)0x8009002a),
            E_FAIL = unchecked((int)0x80004005),
        }
    }
}
