mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-01-01 01:01:19 -06:00
16 lines
224 B
C
16 lines
224 B
C
#pragma once
|
|
|
|
struct PreloadContext
|
|
{
|
|
#ifdef _WIN32
|
|
HANDLE handle{};
|
|
HANDLE mappingHandle{};
|
|
SIZE_T size{};
|
|
PVOID view{};
|
|
bool preloaded{};
|
|
#endif
|
|
|
|
~PreloadContext();
|
|
void PreloadExecutable();
|
|
};
|