[bb] generate a log report when bad blocks are found

* closes #6
This commit is contained in:
Pete Batard 2011-12-30 21:23:13 +00:00
parent 8db7e1720a
commit d27e73137d
5 changed files with 91 additions and 18 deletions

View file

@ -65,4 +65,4 @@ typedef struct {
* Shared prototypes
*/
BOOL BadBlocks(HANDLE hPhysicalDrive, ULONGLONG disk_size, int block_size,
int test_type, badblocks_report *report);
int test_type, badblocks_report *report, FILE* fd);