[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

@ -350,6 +350,7 @@ extern char* replace_in_token_data(const char* filename, const char* token, cons
extern void parse_update(char* buf, size_t len);
extern BOOL WimExtractCheck(void);
extern BOOL WimExtractFile(const char* wim_image, int index, const char* src, const char* dst);
extern BOOL Identify(HANDLE hPhysical);
static __inline BOOL UnlockDrive(HANDLE hDrive)
{