Get-WinCredential/CredentialsDialog.CREDUI.ReturnCodesModernUI.cs

namespace GetWinCredential
{
    public sealed partial class CredentialsDialog
    {
        internal static partial class CREDUI
        {
            #region MODERN UI
 
            public enum ReturnCodesModernUI
            {
                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
    }
}