Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <Windows.h>
- int main()
- {
- HOOKPROC Proc;
- HINSTANCE DLLInjected;
- DLLInjected = LoadLibrary("DLLThatIncludesProcedure.dll");
- Proc = (HOOKPROC)GetProcAddress(DLLInjected, "ProcedureToHandle.....");
- SetWindowsHookEx(WH_KEYBOARD_LL, Proc, DLLInjected, 0);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement