[core] SMART/ATA over USB initial support

* This is meant to be used as part of #219
* Also improve WindowsErrorString() so that it doesn't alter the current errcode
This commit is contained in:
Pete Batard 2013-11-13 01:07:32 +00:00
parent 8d50a8491f
commit 803a4bff1c
12 changed files with 842 additions and 10 deletions

View file

@ -38,6 +38,9 @@
RUFUS_DRIVE_INFO SelectedDrive;
extern BOOL enable_fixed_disks;
// TODO: add a DetectSectorSize()?
// http://msdn.microsoft.com/en-us/library/ff800831.aspx
/*
* Working with drive indexes quite risky (left unchecked,inadvertently passing 0 as
* index would return a handle to C:, which we might then proceed to unknowingly