File: src\libraries\Common\src\System\Threading\OpenExistingResult.cs
Web Access
Project: src\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj (System.Private.CoreLib)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace System.Threading
{
    /// <summary>
    /// Mapping of the different success or failure values that can occur when p/invoking Interop.Kernel32.OpenEvent,
    /// which is called inside the OpenExistingWorker methods defined in EventWaitHandle, Mutex and Semaphore.
    /// </summary>
    internal enum OpenExistingResult
    {
        Success,
        NameNotFound,
        PathNotFound,
        NameInvalid,
        ObjectIncompatibleWithCurrentUserOnly
    }
}