API hooking example project using Microsoft Detours
- Run git bash
git clone https://github.com/zxc010613/detours-example.git
cd detours-example
git submodule init
git submodule update
- Run `Developer Command Prompt for VS 2019(or 2017)
cd Detours
nmake
cd ..
devenv detours-example.sln /build "release|x86"
- Run detours-example.exe
- Run dll-injector.exe(Run as administrator)