Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Runtime.InteropServices.NativeLibrary Class Reference

Static Public Member Functions

static IntPtr Load (string libraryPath)
 
static bool TryLoad (string libraryPath, out IntPtr handle)
 
static IntPtr Load (string libraryName, Assembly assembly, DllImportSearchPath? searchPath)
 
static bool TryLoad (string libraryName, Assembly assembly, DllImportSearchPath? searchPath, out IntPtr handle)
 
static void Free (IntPtr handle)
 
static IntPtr GetExport (IntPtr handle, string name)
 
static bool TryGetExport (IntPtr handle, string name, out IntPtr address)
 
static void SetDllImportResolver (Assembly assembly, DllImportResolver resolver)
 

Package Functions

static IntPtr LoadFromPath (string libraryName, bool throwOnError)
 
static IntPtr LoadByName (string libraryName, QCallAssembly callingAssembly, bool hasDllImportSearchPathFlag, uint dllImportSearchPathFlag, bool throwOnError)
 
static void FreeLib (IntPtr handle)
 
static IntPtr GetSymbol (IntPtr handle, string symbolName, bool throwOnError)
 

Static Package Functions

static IntPtr LoadLibraryByName (string libraryName, Assembly assembly, DllImportSearchPath? searchPath, bool throwOnError)
 
static IntPtr LoadLibraryCallbackStub (string libraryName, Assembly assembly, bool hasDllImportSearchPathFlags, uint dllImportSearchPathFlags)
 

Static Private Attributes

static ConditionalWeakTable< Assembly, DllImportResolvers_nativeDllResolveMap
 

Detailed Description

Definition at line 7 of file NativeLibrary.cs.


The documentation for this class was generated from the following file: