aboutsummaryrefslogtreecommitdiff
path: root/loader_launcher_proxy/Memory.h
diff options
context:
space:
mode:
authorp0358 <p0358@users.noreply.github.com>2021-12-29 05:48:33 +0100
committerp0358 <p0358@users.noreply.github.com>2021-12-29 05:48:33 +0100
commit8a1a2e97624d15617197248a5e292c5ead5e74a2 (patch)
treed236b5bd3c21db674c784239beb2404273498887 /loader_launcher_proxy/Memory.h
parent2bb9e5b29ab08062614b2d52c430f9097bf2106f (diff)
downloadNorthstarLauncher-8a1a2e97624d15617197248a5e292c5ead5e74a2.tar.gz
NorthstarLauncher-8a1a2e97624d15617197248a5e292c5ead5e74a2.zip
add launcher.dll proxy option
Diffstat (limited to 'loader_launcher_proxy/Memory.h')
-rw-r--r--loader_launcher_proxy/Memory.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/loader_launcher_proxy/Memory.h b/loader_launcher_proxy/Memory.h
new file mode 100644
index 00000000..928e403c
--- /dev/null
+++ b/loader_launcher_proxy/Memory.h
@@ -0,0 +1,15 @@
+#pragma once
+
+class IMemAlloc
+{
+public:
+ struct VTable
+ {
+ void* unknown[1];
+ void* (*Alloc) (IMemAlloc* memAlloc, size_t nSize);
+ void* unknown2[3];
+ void(*Free) (IMemAlloc* memAlloc, void* pMem);
+ };
+
+ VTable* m_vtable;
+};