Get-WinCredential/Pinvoke/ReturnCodesModernUI.cs

namespace GetWinCredential.Pinvoke
{
    internal static partial class CREDUI
    {
        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
        }
    }
}