forked from MagnetForensics/Hibr2Bin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprecomp.h
49 lines (32 loc) · 796 Bytes
/
precomp.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*++
Copyright (c) 2007 - 2017, Matthieu Suiche
Copyright (c) 2012 - 2014, MoonSols Limited
Copyright (c) 2015 - 2017, Comae Technologies FZE
Module Name:
precom.h
Abstract:
This module contains the internal structure definitions and APIs used by
the Hibr2Bin.
Author:
Matthieu Suiche (m) 1-April-2016
Revision History:
--*/
#define _WINSOCKAPI_
#include <Windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <intrin.h>
#define MAX_COMPRESSED_BLOCK_SIZE ((0x10 + 1) * PAGE_SIZE) // 64KB + 4KB)
// public
#include "common-lib-light/FileContext.h"
#include "common-lib-light/Misc.h"
#include "Hiber.h"
#include "MemoryBlocks.h"
#include "Hibr2Bin.h"
#include "Hiberfil.h"
#if _DEBUG
#define DbgPrint wprintf
#else
#define DbgPrint
#endif