33 (BytesDivisor / 1024)) / 1024.0, BytesUnits);
48 (BytesDivisor / 1024)) / 1024.0, BytesUnits);
89 (BytesDivisor / 1024)) / 1024.0, BytesUnits);
103 (BytesDivisor / 1024)) / 1024.0, BytesUnits);
118 (BytesDivisor / 1024)) / 1024.0, BytesUnits);
147 L"%.2f%% of the files on this volume are fragmented. ",
159 L"The average fragments per file (%.2f) indicates a high degree of fragmentation. ",
167 swprintf (
Text,
L"* No defragmentation is necessary at this point.");
170 wcscat (
Text,
L"It is recommended that you perform a Fast Defrag.");
172 wcscat (
Text,
L"It is recommended that you perform an Extensive Defrag.");
180 L"\n* A large amount of disk space (%.2f%%) is being lost "
181 L"due to a large (%u bytes) cluster size. It is recommended "
182 L"that you use a disk utility such as Partition Magic to "
183 L"reduce the cluster size of this volume.",
INT_PTR CALLBACK ReportDialogProc(HWND Dlg, UINT Msg, WPARAM WParam, LPARAM LParam)
void SetReportInfo(HWND Dlg, DefragReport &Report, uint32 BytesDivisor, const wchar_t *BytesUnits, bool Fractional)
wchar_t * AddCommas(wchar_t *Result, uint64 Number)
DefragReport & GetDefragReport(void)
DriveVolume & GetVolume(void)
VolumeInfo GetVolumeInfo(void)
#define IDC_DISKSIZECLUSTERS
#define IDC_DISKFREEBYTES
#define IDC_FILESSLACKBYTES
#define IDC_FILESSIZEBYTES
#define IDC_FILESSIZEONDISK
#define IDC_DISKCLUSTERSIZE
#define IDC_DISKSIZEBYTES
_CRTIMP wchar_t *__cdecl wcscpy(_Out_writes_z_(_String_length_(_Source)+1) wchar_t *_Dest, _In_z_ const wchar_t *_Source)
_CRTIMP wchar_t *__cdecl wcscat(_Inout_updates_z_(_String_length_(_Dest)+_String_length_(_Source)+1) wchar_t *_Dest, _In_z_ const wchar_t *_Source)
vector< uint32 > FraggedFiles
BOOL WINAPI EndDialog(_In_ HWND, _In_ INT_PTR)