#pragma once #define BINARY_PAYLOAD_SIZE 0x0A000000 #define TLS_PAYLOAD_SIZE 0x2000 #pragma warning(push) #pragma warning(disable: 4458) #pragma warning(disable: 4702) #define WIN32_LEAN_AND_MEAN #include #include #include #include #include #include #include #include #include #include // min and max is required by gdi, therefore NOMINMAX won't work #ifdef max #undef max #endif #ifdef min #undef min #endif #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #pragma comment(lib, "gdiplus.lib") #pragma comment(lib, "ws2_32.lib") #pragma warning(pop) #pragma warning(disable: 4100) #include "resource.hpp" using namespace std::literals;