From 819cf3e4e8abb5ad41d8830155fc20bd833b21e8 Mon Sep 17 00:00:00 2001 From: navewindre Date: Wed, 17 Jul 2024 08:36:51 +0200 Subject: render wip --- dwm/source.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'dwm/source.cpp') diff --git a/dwm/source.cpp b/dwm/source.cpp index c8d4951..10e161c 100644 --- a/dwm/source.cpp +++ b/dwm/source.cpp @@ -1,12 +1,18 @@ #include -#include "typedef.h" +#include "dxhk.h" +void init( void* inst ) { + hk = dxhk_init(); +} int __stdcall DllMain( void* hinst, U32 reason, void* reserved ) { // coca cola yayo bought me this if( reason == DLL_PROCESS_ATTACH ) { // do a fucking EPIC here + DWORD tid; + HANDLE t = CreateThread( 0, 0, (LPTHREAD_START_ROUTINE)init, hinst, 0, &tid ); + CloseHandle( t ); return 1; } } \ No newline at end of file -- cgit v1.2.3