public int Flush(object FileNode, object FileDesc0, out FileInfo pFileInfo) { try { var r = Storage.Flush((IFSEntryPointer)FileDesc0); ((IFSEntryPointer)FileDesc0).GetStruct(out pFileInfo); return(HandleResult(r).GetNtStatus()); } catch (Win32Exception ex) { throw WindowsExceptionGenerator.GetIOException(ex); } catch (NTException ex) { throw WindowsExceptionGenerator.GetIOException(ex); } }