Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <windows.h>
- #include <stdio.h>
- #include <stdlib.h>
- void Hook (LPVOID param)
- {
- }
- BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason , LPVOID reserved )
- {
- DisableThreadLibraryCalls(hInst);
- if (reason==DLL_PROCESS_ATTACH) {
- CreateThread(0, 0, (LPTHREAD_START_ROUTINE)Hook, 0, 0, 0);
- }
- return TRUE;
- }
Advertisement
Add Comment
Please, Sign In to add comment