FreeLibrary() private method

private FreeLibrary ( IntPtr handle ) : bool
handle System.IntPtr
return bool
Beispiel #1
0
 void Dispose(bool manual)
 {
     if (manual)
     {
         if (dll != IntPtr.Zero)
         {
             Functions.FreeLibrary(dll);
             dll = IntPtr.Zero;
         }
     }
 }