Пример #1
0
 public GDFStats ExamineSectors()
 {
     GDFStats stats = new GDFStats(this.volDesc);
     for (int i = 0; i < 0x20; i++)
     {
         stats.SetPixel((uint) i, (GDFStats.GDFSectorStatus) (-16711936));
     }
     stats.SetPixel(this.volDesc.RootDirSector, (GDFStats.GDFSectorStatus) (-65536));
     uint lastSector = 0;
     this.ParseDirectory(this.rootDir, true, ref lastSector);
     this.calcSectors(this.rootDir, stats);
     return stats;
 }
Пример #2
0
        public GDFStats ExamineSectors()
        {
            GDFStats stats = new GDFStats(this.volDesc);

            for (int i = 0; i < 0x20; i++)
            {
                stats.SetPixel((uint)i, (GDFStats.GDFSectorStatus)(-16711936));
            }
            stats.SetPixel(this.volDesc.RootDirSector, (GDFStats.GDFSectorStatus)(-65536));
            uint lastSector = 0;

            this.ParseDirectory(this.rootDir, true, ref lastSector);
            this.calcSectors(this.rootDir, stats);
            return(stats);
        }