summaryrefslogtreecommitdiff
path: root/src/scrounge.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/scrounge.h')
-rw-r--r--src/scrounge.h7
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();