InitializeSecurityDescriptor

[DllImport("Advapi32.dll", SetLastError = true)][return: MarshalAs(UnmanagedType.Bool)]
public static extern bool InitializeSecurityDescriptor(
   IntPtr pSecurityDescriptor,
   uint dwRevision
);

Microsoft documentation: Link

Last updated