AGS.Editor.NativeProxy.FreeLibrary C# (CSharp) Method

FreeLibrary() private method

private FreeLibrary ( IntPtr hModule ) : bool
hModule System.IntPtr
return bool
        public static extern bool FreeLibrary(IntPtr hModule);

Usage Example

Exemplo n.º 1
0
 public void Dispose()
 {
     if (_dllHandle != IntPtr.Zero)
     {
         if (_enabled)
         {
             StopPlugin();
         }
         NativeProxy.FreeLibrary(_dllHandle);
         _dllHandle = IntPtr.Zero;
     }
 }