mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-27 13:14:26 -04:00
[core] added badblock checks (ALPHA)
* also fixed some issues with read_sectors/write_sectors and dropped bufsize parameters
This commit is contained in:
parent
d81525d3f4
commit
e419cf9015
18 changed files with 1219 additions and 80 deletions
|
@ -34,10 +34,6 @@
|
|||
#include <process.h>
|
||||
#include <dbt.h>
|
||||
|
||||
// http://git.kernel.org/?p=fs/ext2/e2fsprogs.git;a=blob;f=misc/badblocks.c
|
||||
// http://thestarman.pcministry.com/asm/mbr/MSWIN41.htm
|
||||
// http://sourceforge.net/projects/grub4dos/ (bootable NTFS?)
|
||||
|
||||
#include "msapi_utf8.h"
|
||||
#include "resource.h"
|
||||
#include "rufus.h"
|
||||
|
@ -571,6 +567,7 @@ static void EnableControls(BOOL bEnable)
|
|||
} else {
|
||||
EnableWindow(GetDlgItem(hMainDialog, IDC_DOS), FALSE);
|
||||
}
|
||||
EnableWindow(GetDlgItem(hMainDialog, IDC_BADBLOCKS), bEnable);
|
||||
EnableWindow(GetDlgItem(hMainDialog, IDC_ABOUT), bEnable);
|
||||
EnableWindow(GetDlgItem(hMainDialog, IDC_START), bEnable);
|
||||
SetDlgItemTextA(hMainDialog, IDCANCEL, bEnable?"Close":"Cancel");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue