Beispiel #1
0
 private void ExtractLeaveFileHandle(string fname, string fmt, uint depth, ulong flag, IntPtr handle,
                                     IntPtr userdata, uint lv)
 {
     try
     {
         var _file = new LameFile(fname, fmt, depth, GetPackFlage(flag), handle);
         if (_file == null)
         {
             return;
         }
         OnExtractLeaveFileEvent(_file);
     }
     catch (Exception)
     {
     }
 }
Beispiel #2
0
        private int ExtractEnterFileHandle(string fname, string fmt, uint depth, ulong flag, IntPtr handle,
                                           IntPtr userdata)
        {
            try
            {
                var _file = new LameFile(fname, fmt, depth, GetPackFlage(flag), handle);
                if (_file == null)
                {
                    return((int)LCT.Continue);
                }
                return((int)OnExtractEnterFileEvent(_file));
            }
            catch (Exception)
            {
            }

            return((int)LCT.Continue);
        }