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