15 references to Kernel32
System.Threading.AccessControl (15)
System\Threading\EventWaitHandleAcl.cs (6)
41
uint eventFlags = initialState ? Interop.
Kernel32
.CREATE_EVENT_INITIAL_SET : 0;
44
eventFlags |= Interop.
Kernel32
.CREATE_EVENT_MANUAL_RESET;
49
Interop.
Kernel32
.SECURITY_ATTRIBUTES secAttrs = Interop.
Kernel32
.SECURITY_ATTRIBUTES.Create(pSecurityDescriptor);
51
SafeWaitHandle handle = Interop.
Kernel32
.CreateEventEx(
133
SafeWaitHandle existingHandle = Interop.
Kernel32
.OpenEvent((uint)rights, false, name);
System\Threading\MutexAcl.cs (5)
30
uint mutexFlags = initiallyOwned ? Interop.
Kernel32
.CREATE_MUTEX_INITIAL_OWNER : 0;
34
Interop.
Kernel32
.SECURITY_ATTRIBUTES secAttrs = Interop.
Kernel32
.SECURITY_ATTRIBUTES.Create(pSecurityDescriptor);
36
SafeWaitHandle handle = Interop.
Kernel32
.CreateMutexEx(
124
SafeWaitHandle existingHandle = Interop.
Kernel32
.OpenMutex((uint)rights, false, name);
System\Threading\SemaphoreAcl.cs (4)
51
Interop.
Kernel32
.SECURITY_ATTRIBUTES secAttrs = Interop.
Kernel32
.SECURITY_ATTRIBUTES.Create(pSecurityDescriptor);
53
SafeWaitHandle handle = Interop.
Kernel32
.CreateSemaphoreEx(
139
SafeWaitHandle handle = Interop.
Kernel32
.OpenSemaphore((uint)rights, false, name);