Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ LoadLibraryByName()

static IntPtr System.Runtime.InteropServices.NativeLibrary.LoadLibraryByName ( string libraryName,
Assembly assembly,
DllImportSearchPath? searchPath,
bool throwOnError )
inlinestaticpackage

Definition at line 11 of file NativeLibrary.cs.

12 {
13 RuntimeAssembly assembly2 = (RuntimeAssembly)assembly;
14 return LoadByName(libraryName, new QCallAssembly(ref assembly2), searchPath.HasValue, (uint)searchPath.GetValueOrDefault(), throwOnError);
15 }
static IntPtr LoadByName(string libraryName, QCallAssembly callingAssembly, bool hasDllImportSearchPathFlag, uint dllImportSearchPathFlag, bool throwOnError)

References System.Runtime.InteropServices.NativeLibrary.LoadByName().

Referenced by System.Runtime.InteropServices.NativeLibrary.Load(), and System.Runtime.InteropServices.NativeLibrary.TryLoad().