2020-01-02 12:44:51 +00:00
|
|
|
#pragma once
|
|
|
|
|
2020-01-07 11:59:52 +00:00
|
|
|
#define _HAS_EXCEPTIONS 0
|
|
|
|
|
2020-01-02 12:44:51 +00:00
|
|
|
// Standard library includes.
|
|
|
|
#include <iostream> //< For std::cout, std::cerr. Remove when common files will not nead it.
|
2020-01-03 12:55:14 +00:00
|
|
|
#include <algorithm>
|
|
|
|
#include <string>
|
2020-01-16 13:31:37 +00:00
|
|
|
#include <csetjmp>
|
2020-01-02 12:44:51 +00:00
|
|
|
|
2020-01-03 14:08:11 +00:00
|
|
|
// Custom includes
|
2020-01-02 12:44:51 +00:00
|
|
|
#include "WindowsVersion.h"
|
2020-01-16 13:31:37 +00:00
|
|
|
#include "QuietAbort.h"
|
2020-01-02 12:44:51 +00:00
|
|
|
#include "UnexportedWinApi.h"
|
|
|
|
|
2020-01-03 14:08:11 +00:00
|
|
|
// C3 includes
|
|
|
|
//#include "Common/MWR/CppTools/ByteConverter.h"
|
|
|
|
|
|
|
|
// Windows includes
|
|
|
|
#define NOMINMAX
|
|
|
|
#define WIN32_LEAN_AND_MEAN
|
2020-01-03 12:55:14 +00:00
|
|
|
#include <windows.h>
|
2020-01-03 14:08:11 +00:00
|
|
|
|
2020-01-02 12:44:51 +00:00
|
|
|
#include <Ehdata.h> //< For VEH constants: EH_MAGIC_NUMBER1, EH_PURE_MAGIC_NUMBER1, EH_EXCEPTION_NUMBER.
|
|
|
|
#include <intrin.h> //< For _ReturnAddress().
|
2020-01-13 14:09:48 +00:00
|
|
|
#include <winnt.h>
|