private static Int32 Overwrite( IntPtr FileSystemPtr, ref FullContext FullContext, UInt32 FileAttributes, Boolean ReplaceFileAttributes, UInt64 AllocationSize, out FileInfo FileInfo) { FileSystemBase FileSystem = (FileSystemBase)Api.GetUserContext(FileSystemPtr); try { Object FileNode, FileDesc; Api.GetFullContext(ref FullContext, out FileNode, out FileDesc); return(FileSystem.Overwrite( FileNode, FileDesc, FileAttributes, ReplaceFileAttributes, AllocationSize, out FileInfo)); } catch (Exception ex) { FileInfo = default(FileInfo); return(ExceptionHandler(FileSystem, ex)); } }