This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// compile this to hook.dll | |
// for example, with MSVC: cl.exe /LD /MT /O2 hook.c /Fehook.dll | |
#include <windows.h> | |
// get this from https://github.com/kubo/plthook | |
#include "plthook_win32.c" | |
static plthook_t* hook; |