//// internal NtStatus FlushFileBuffersProxy(string rawFileName, DokanFileInfo rawFileInfo) { try { NtStatus result = _operations.FlushFileBuffers(rawFileName, rawFileInfo); return(result); } catch (Exception ex) { ServiceRegistration.Get <ILogger>().Warn("Dokan exception: ", ex); return(DokanResult.InvalidParameter); } }
public int FlushFileBuffersProxy(IntPtr rawFileName, ref DOKAN_FILE_INFO rawFileInfo) { try { string file = GetFileName(rawFileName); int ret = operations.FlushFileBuffers(file, ConvertFileInfo(ref rawFileInfo)); return(ret); } catch (Exception ex) { Log.ErrorException("FlushFileBuffersProxy threw: ", ex); return(-1); } }
//// public int FlushFileBuffersProxy(string rawFileName, DokanFileInfo rawFileInfo) { try { return((int)_operations.FlushFileBuffers(rawFileName, rawFileInfo)); } catch { #if DEBUG throw; #endif return(ERROR_INVALID_FUNCTION); } }
//// public NtStatus FlushFileBuffersProxy(string rawFileName, DokanFileInfo rawFileInfo) { try { logger.Debug("FlushFileBuffersProxy : {0}", rawFileName); logger.Debug("\tContext\t{0}", rawFileInfo); var result = operations.FlushFileBuffers(rawFileName, rawFileInfo); logger.Debug("FlushFileBuffersProxy : {0} Return : {1}", rawFileName, result); return(result); } catch (Exception ex) { logger.Error("FlushFileBuffersProxy : {0} Throw : {1}", rawFileName, ex.Message); return(DokanResult.InvalidParameter); } }
//// public NtStatus FlushFileBuffersProxy(string rawFileName, DokanFileInfo rawFileInfo) { try { Trace("\nFlushFileBuffersProxy : " + rawFileName); Trace("\tContext\t" + ToTrace(rawFileInfo)); NtStatus result = operations.FlushFileBuffers(rawFileName, rawFileInfo); Trace("FlushFileBuffersProxy : " + rawFileName + " Return : " + result); return(result); } #pragma warning disable 0168 catch (Exception ex) #pragma warning restore 0168 { Trace("FlushFileBuffersProxy : " + rawFileName + " Throw : " + ex.Message); return(DokanResult.InvalidParameter); } }
public NtStatus FlushFileBuffers(string filename, DokanFileInfo info) { return(ope_.FlushFileBuffers(filename, info)); }
public DokanError FlushFileBuffers(string filename, DokanFileInfo info) { return(ope_.FlushFileBuffers(filename, info)); }