Files
linux-packaging-mono/mcs/class/System.Private.CoreLib/System.Runtime.InteropServices/NativeLibrary.Windows.cs

24 lines
883 B
C#
Raw Normal View History

using System.IO;
using System.Reflection;
namespace System.Runtime.InteropServices
{
partial class NativeLibrary
{
static IntPtr LoadLibraryByName (string libraryName, Assembly assembly, DllImportSearchPath? searchPath, bool throwOnError) => throw new NotImplementedException ();
static IntPtr LoadFromPath (string libraryName, bool throwOnError) {
// TODO: implement
if (throwOnError) {
throw new DllNotFoundException();
}
return IntPtr.Zero;
}
static IntPtr LoadByName (string libraryName, RuntimeAssembly callingAssembly, bool hasDllImportSearchPathFlag, uint dllImportSearchPathFlag, bool throwOnError) => throw new NotImplementedException ();
static void FreeLib (IntPtr handle) => throw new NotImplementedException ();
static IntPtr GetSymbol (IntPtr handle, string symbolName, bool throwOnError) => throw new NotImplementedException ();
}
}