MCPcopy Create free account
hub / github.com/9chu/LuaSTGPlus / SetSecurityDescriptorDacl

Method SetSecurityDescriptorDacl

PerformanceMonitor/DebugMonitor.cs:100–101  ·  view source on GitHub ↗
(ref SECURITY_DESCRIPTOR sd, bool daclPresent, IntPtr dacl, bool daclDefaulted)

Source from the content-addressed store, hash-verified

98 private static extern bool InitializeSecurityDescriptor(ref SECURITY_DESCRIPTOR sd, uint dwRevision);
99
100 [DllImport("advapi32.dll", SetLastError=true)]
101 private static extern bool SetSecurityDescriptorDacl(ref SECURITY_DESCRIPTOR sd, bool daclPresent, IntPtr dacl, bool daclDefaulted);
102
103 [DllImport("kernel32.dll")]
104 private static extern IntPtr CreateEvent(ref SECURITY_ATTRIBUTES sa, bool bManualReset, bool bInitialState, string lpName);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected