aboutsummaryrefslogtreecommitdiff
path: root/include/DX11Manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/DX11Manager.h')
-rw-r--r--include/DX11Manager.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/DX11Manager.h b/include/DX11Manager.h
new file mode 100644
index 0000000..1c18022
--- /dev/null
+++ b/include/DX11Manager.h
@@ -0,0 +1,14 @@
+#pragma once
+
+#include <D3D11.h>
+
+struct DxData {
+ HRESULT CreateSwapChainReturn;
+ /* ALL Offsets are relative to the base address of d3d11.dll */
+ UINT64 DeviceVTableOffset;
+ UINT64 DeviceContextVTableOffset;
+ UINT64 SwapChainVTableOffset;
+ BYTE buf[64];
+};
+
+bool WINAPI GetDirectxData(struct DxData * const data); \ No newline at end of file