rdsedmundo

BASE DLL

Jul 9th, 2012
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.37 KB | None | 0 0
  1. #include <windows.h>
  2. #include <stdio.h>
  3. #include <stdlib.h>
  4.  
  5. void Hook (LPVOID param)
  6. {
  7.  
  8. }
  9.  
  10. BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason , LPVOID reserved )
  11. {
  12.      DisableThreadLibraryCalls(hInst);
  13.      if (reason==DLL_PROCESS_ATTACH) {
  14.                         CreateThread(0, 0, (LPTHREAD_START_ROUTINE)Hook, 0, 0, 0);
  15.         }
  16.         return TRUE;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment