Skip to content

gmh5225/SetWindowsHookEx-Injector

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SetWindowsHookEx-Injector

SetWindowsHookEx Injector with d3d11 hook example

  • hookloader.exe = injector
  • test.dll = dll
  1. Just add this to your dll: extern "C" __declspec(dllexport) int NextHook(int code, WPARAM wParam, LPARAM lParam) { return CallNextHookEx(NULL, code, wParam, lParam); }

  2. Edit your game window in hookloader/main.cpp: HWND hwnd = FindWindow(NULL, L"UnrealTournament "); //<-- game window example

  3. Edit your dll name in hookloader/main.cpp: HMODULE dll = LoadLibraryEx(L"test.dll", NULL, DONT_RESOLVE_DLL_REFERENCES); //<-- DLL name

  4. Compile & done

About

SetWindowsHookEx Injector

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 81.3%
  • C++ 18.7%