Get-WinCredential/CredentialsDialog.CREDUI.ReturnCodes.cs

namespace GetWinCredential
{
    public sealed partial class CredentialsDialog
    {
        internal static partial class CREDUI
        {
            #region LEGACY UI
 
            /// <summary>http://www.pinvoke.net/default.aspx/Enums.CredUIReturnCodes</summary>
            public enum ReturnCodes
            {
                NO_ERROR = 0,
                ERROR_INVALID_PARAMETER = 87,
                ERROR_INSUFFICIENT_BUFFER = 122,
                ERROR_INVALID_FLAGS = 1004,
                ERROR_NOT_FOUND = 1168,
                ERROR_CANCELLED = 1223,
                ERROR_NO_SUCH_LOGON_SESSION = 1312,
                ERROR_INVALID_ACCOUNT_NAME = 1315
            }
        }
        #endregion MODERN UI
    }
}