private static void Close( IntPtr FileSystemPtr, ref FullContext FullContext) { FileSystemBase FileSystem = (FileSystemBase)Api.GetUserContext(FileSystemPtr); try { Object FileNode, FileDesc; Api.GetFullContext(ref FullContext, out FileNode, out FileDesc); FileSystem.Close( FileNode, FileDesc); Api.DisposeFullContext(ref FullContext); } catch (Exception ex) { ExceptionHandler(FileSystem, ex); } }