/programs/cmm/lib/fs.h |
---|
495,6 → 495,7 |
dword folders; |
dword files; |
dword bytes; |
dword bytes_high; |
dword get(); |
dword calculate_loop(); |
}; |
501,7 → 502,7 |
:dword DIR_SIZE::get(dword way1) |
{ |
folders = files = bytes = 0; |
folders = files = bytes = bytes_high = 0; |
if (!way1) return 0; |
calculate_loop(way1); |
} |
531,6 → 532,7 |
{ |
GetFileInfo(cur_file, #dir_info); |
bytes += dir_info.sizelo; |
bytes_high += dir_info.sizehi; |
files++; |
} |
} |