mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-08 08:54:36 +01:00
13 lines
454 B
C#
13 lines
454 B
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace Dalamud.Bootstrap.OS.Windows.Raw
|
|
{
|
|
internal static unsafe class Advapi32
|
|
{
|
|
private const string Name = "Advapi32";
|
|
|
|
[DllImport(Name, CallingConvention = CallingConvention.Winapi, SetLastError = true)]
|
|
[return: MarshalAs(UnmanagedType.Bool)]
|
|
public static extern bool InitializeSecurityDescriptor(out SECURITY_DESCRIPTOR pSecurityDescriptor, uint revision);
|
|
}
|
|
}
|