-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathWaitForSingleObjectResult.cs
32 lines (29 loc) · 1.12 KB
/
WaitForSingleObjectResult.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
namespace Dargon
{
public enum WaitForSingleObjectResult : uint
{
/// <summary>
/// The state of the specified object is signaled.
/// In the case of a process or thread, that means the thing has reached
/// the end of execution.
/// </summary>
WAIT_OBJECT_0 = 0x00000000U,
/// <summary>
/// The specified object is a mutex object that was not released by the thread that owned
/// the mutex object before the owning thread terminated. Ownership of the mutex object is
/// granted to the calling thread and the mutex state is set to nonsignaled.
///
/// If the mutex was protecting persistent state information, you should check it for
/// consistency.
/// </summary>
WAIT_ABANDONED = 0x00000080U,
/// <summary>
/// The time-out interval elapsed, and the object's state is nonsignaled.
/// </summary>
WAIT_TIMEOUT = 0x00000102U,
/// <summary>
/// The function has failed. To get extended error information, call GetLastError.
/// </summary>
WAIT_FAILED = 0xFFFFFFFFU
}
}