Exemplo n.º 1
0
        ////

        internal NtStatus MountedProxy(DokanFileInfo rawFileInfo)
        {
            try
            {
                NtStatus result = _operations.Mounted(rawFileInfo);
                return(result);
            }
            catch (Exception ex)
            {
                ServiceRegistration.Get <ILogger>().Warn("Dokan exception: ", ex);
                return(DokanResult.InvalidParameter);
            }
        }
Exemplo n.º 2
0
        public NtStatus MountedProxy(DokanFileInfo rawFileInfo)
        {
            try
            {
                logger.Debug("MountedProxy:");
                logger.Debug("\tContext\t{0}", rawFileInfo);

                var result = operations.Mounted(rawFileInfo);

                logger.Debug("MountedProxy Return : {0}", result);
                return(result);
            }
            catch (Exception ex)
            {
                logger.Error("MountedProxy Throw : {0}", ex.Message);
                return(DokanResult.InvalidParameter);
            }
        }
Exemplo n.º 3
0
        public NtStatus Mounted(DokanFileInfo info)
        {
            cache_.RemoveAllCache();

            return(ope_.Mounted(info));
        }