diff options
author | Stef Walter <stef@thewalter.net> | 2004-01-27 18:35:29 +0000 |
---|---|---|
committer | Stef Walter <stef@thewalter.net> | 2004-01-27 18:35:29 +0000 |
commit | 048987b4e95b70a4559b9163d90e57dd69097203 (patch) | |
tree | b31fa09615d3a5862eb959a70ff87cb2a2452aa2 /src/scrounge.h | |
parent | edd737cd17f4e6712ba289e977c330ca3adc5495 (diff) |
Fixes and changes:
- Handles Split MFT
- Handles Windows XP formatted drives
Diffstat (limited to 'src/scrounge.h')
-rw-r--r-- | src/scrounge.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/scrounge.h b/src/scrounge.h index dd908ea..b425db9 100644 --- a/src/scrounge.h +++ b/src/scrounge.h @@ -23,9 +23,14 @@ #ifndef __SCROUNGE_H__ #define __SCROUNGE_H__ +#define RET_ERROR(l) { ::SetLastError(l); bRet = TRUE; goto clean_up; } +#define PASS_ERROR() {bRet = TRUE; goto clean_up; } +#define RET_FATAL(l) { ::SetLastError(l); bRet = FALSE; goto clean_up; } +#define PASS_FATAL() {bRet = FALSE; goto clean_up; } -BOOL ProcessMFTRecord(PartitionInfo* pInfo, uint64 mftRecord, HANDLE hIn); +BOOL ProcessMFTRecord(PartitionInfo* pInfo, uint64 sector, NTFS_MFTMap* map, HANDLE hIn); BOOL ScroungeMFTRecords(PartitionInfo* pInfo, HANDLE hIn); +BOOL ScroungeRawRecords(PartitionInfo* pInfo, HANDLE hIn); void PrintLastError(); |