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