using System.Numerics; using System.Runtime.InteropServices; using System.Security; namespace CodeLiturgy.Augeas.Test { [SuppressUnmanagedCodeSecurity] public static unsafe partial class BlueWestAugeas { /// /// Used by DllImport to load the native library /// public const string NativeLibName = "CAug"; /// Test calling [DllImport(NativeLibName)] public static extern void printPreview( AugSettings settings, [MarshalAs(UnmanagedType.LPStr)] string matchPath, [MarshalAs(UnmanagedType.LPStr)] string filePath); /// Test calling [DllImport(NativeLibName)] public static extern void printAugTree( AugSettings settings, [MarshalAs(UnmanagedType.LPStr)] string matchPath, [MarshalAs(UnmanagedType.LPStr)] string filePath); } }