ReactOS 0.4.16-dev-122-g325d74c
|
#include <DriveVolume.h>
Public Member Functions | |
DriveVolume () | |
~DriveVolume () | |
bool | Open (wstring Name) |
void | Close (void) |
bool | ObtainInfo (void) |
bool | GetBitmap (void) |
bool | BuildFileList (bool &QuitMonitor, double &Progress) |
bool | IsClusterUsed (uint64 Cluster) |
void | SetClusterUsed (uint64 Cluster, bool Used) |
DISK_GEOMETRY | GetGeometry (void) |
VolumeInfo | GetVolumeInfo (void) |
wstring | GetRootPath (void) |
bool | Scan (ScanCallback Callback, void *UserData) |
wstring & | GetDBDir (uint32 Indice) |
uint32 | GetDBDirCount (void) |
FileInfo & | GetDBFile (uint32 Indice) |
uint32 | GetDBFileCount (void) |
uint32 | RemoveDBFile (uint32 Indice) |
bool | MoveFileDumb (uint32 FileIndice, uint64 NewLCN) |
bool | FindFreeRange (uint64 StartLCN, uint64 ReqLength, uint64 &LCNResult) |
Private Member Functions | |
bool | ScanDirectory (wstring DirPrefix, ScanCallback Callback, void *UserData) |
bool | ShouldProcess (FileAttr Attr) |
bool | GetClusterInfo (FileInfo &Info, HANDLE &HandleResult) |
Private Attributes | |
VolumeInfo | VolInfo |
FileList | Files |
vector< wstring > | Directories |
wstring | RootPath |
HANDLE | Handle |
DISK_GEOMETRY | Geometry |
uint32 * | BitmapDetail |
Friends | |
bool | BuildDBCallback (FileInfo &Info, HANDLE &FileHandle, void *UserData) |
Definition at line 89 of file DriveVolume.h.
DriveVolume::DriveVolume | ( | ) |
Definition at line 4 of file DriveVolume.cpp.
DriveVolume::~DriveVolume | ( | ) |
Definition at line 12 of file DriveVolume.cpp.
Definition at line 300 of file DriveVolume.cpp.
Referenced by Defragment::Start().
Definition at line 21 of file DriveVolume.cpp.
Referenced by Defragment::Start(), Defragment::~Defragment(), and ~DriveVolume().
Definition at line 632 of file DriveVolume.cpp.
Referenced by Defragment::Start().
Definition at line 172 of file DriveVolume.cpp.
Referenced by Defragment::Start().
Definition at line 495 of file DriveVolume.cpp.
Referenced by MoveFileDumb(), and ScanDirectory().
wstring & DriveVolume::GetDBDir | ( | uint32 | Indice | ) |
Definition at line 345 of file DriveVolume.cpp.
Referenced by GetClusterInfo(), MoveFileDumb(), ScanDirectory(), and Defragment::Start().
Definition at line 357 of file DriveVolume.cpp.
Referenced by MoveFileDumb(), and Defragment::Start().
Definition at line 363 of file DriveVolume.cpp.
Referenced by RemoveDBFile(), and Defragment::Start().
|
inline |
Definition at line 108 of file DriveVolume.h.
|
inline |
Definition at line 111 of file DriveVolume.h.
Referenced by GetDefragTitle(), and Defragment::Start().
|
inline |
Definition at line 109 of file DriveVolume.h.
Referenced by BuildFileList(), SetReportInfo(), and Defragment::Start().
Definition at line 272 of file DriveVolume.cpp.
Referenced by FindFreeRange().
Definition at line 677 of file DriveVolume.cpp.
Referenced by Defragment::Start().
Definition at line 113 of file DriveVolume.cpp.
Referenced by Defragment::Start().
bool DriveVolume::Open | ( | wstring | Name | ) |
Definition at line 42 of file DriveVolume.cpp.
Referenced by Defragment::Defragment().
Definition at line 369 of file DriveVolume.cpp.
bool DriveVolume::Scan | ( | ScanCallback | Callback, |
void * | UserData | ||
) |
|
private |
Definition at line 379 of file DriveVolume.cpp.
Referenced by BuildFileList(), and ScanDirectory().
Definition at line 279 of file DriveVolume.cpp.
Referenced by MoveFileDumb().
Definition at line 481 of file DriveVolume.cpp.
Referenced by ScanDirectory().
Definition at line 327 of file DriveVolume.cpp.
Referenced by BuildFileList().
|
private |
Definition at line 153 of file DriveVolume.h.
Referenced by Close(), DriveVolume(), GetBitmap(), IsClusterUsed(), and SetClusterUsed().
|
private |
Definition at line 149 of file DriveVolume.h.
Referenced by BuildFileList(), GetDBDir(), GetDBDirCount(), ScanDirectory(), and ~DriveVolume().
|
private |
Definition at line 148 of file DriveVolume.h.
Referenced by BuildFileList(), GetDBFile(), GetDBFileCount(), MoveFileDumb(), RemoveDBFile(), and ~DriveVolume().
|
private |
Definition at line 152 of file DriveVolume.h.
Referenced by DriveVolume(), GetGeometry(), and ObtainInfo().
|
private |
Definition at line 151 of file DriveVolume.h.
Referenced by Close(), DriveVolume(), GetBitmap(), GetClusterInfo(), MoveFileDumb(), ObtainInfo(), Open(), and ScanDirectory().
|
private |
Definition at line 150 of file DriveVolume.h.
Referenced by BuildFileList(), GetRootPath(), and Open().
|
private |
Definition at line 147 of file DriveVolume.h.
Referenced by FindFreeRange(), GetBitmap(), GetVolumeInfo(), and Open().