mirror of
https://github.com/luanslimadev/Wand-Enhancer.git
synced 2026-08-28 17:01:05 +00:00
17 lines
448 B
C#
17 lines
448 B
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace AsarSharp.Utils
|
|
{
|
|
internal static class NativeMethods
|
|
{
|
|
[DllImport("kernel32.dll", SetLastError = true)]
|
|
public static extern bool CreateSymbolicLink(string lpSymlinkFileName, string lpTargetFileName, SymLinkFlag dwFlags);
|
|
|
|
public enum SymLinkFlag
|
|
{
|
|
File = 0,
|
|
Directory = 1,
|
|
AllowUnprivilegedCreate = 2
|
|
}
|
|
}
|
|
} |