FreeLibrary() private method

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