Advertisement
Guest User

Untitled

a guest
Mar 30th, 2014
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.63 KB | None | 0 0
  1. /**
  2. *   Fichero de cabecera donde declaramos los prototipos de las funciones del api que vamos
  3. *   a utilizar en el código inyectado. Son punteros a funciones definidas por nosotros.
  4. */
  5. #include <windows.h>
  6. /**
  7. *   Definición según el api de la función MessageBox
  8. *   Librería: user32.dll
  9. *   int MessageBox(
  10. *       HWND hWnd,          // handle of owner window
  11. *       LPCTSTR lpText,     // address of text in message box
  12. *       LPCTSTR lpCaption,  // address of title of message box
  13. *       UINT uType          // style of message box
  14. *   );
  15. */
  16. typedef int (WINAPI *P_MESSAGEBOX)(HWND, LPCSTR, LPCSTR, UINT);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement