[DllImport("ntdll.dll", SetLastError = true)] public static extern void InitializeObjectAttributes( ref OBJECT_ATTRIBUTES InitializedAttributes, IntPtr ObjectName, uint Attributes, IntPtr RootDirectory, IntPtr SecurityDescriptor );
Microsoft documentation: Link
Last updated 1 year ago