2017年6月11日星期日

Display the raw FAT32 file structure

Display the raw FAT32 file structure
Only show valid content (Skip zero-filled sector)

const TCHAR devicePath[] = TEXT("\\\\.\\K:");  //Specific the devicePath.
const DWORD addrBegin = 0;                              //Specific the addrBegin. (512 byte aligned)
const DWORD addrEnd = 128*1024*1024;        //Specific the addrEnd (512 byte aligned)

Tested on removable disk only.
Might not work or require administrator right if it is a non-removable disk.

Press 'x' to break the scan progress.



沒有留言:

發佈留言