Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Fichero de cabecera donde declaramos los prototipos de las funciones del api que vamos
- * a utilizar en el código inyectado. Son punteros a funciones definidas por nosotros.
- */
- #include <windows.h>
- /**
- * Definición según el api de la función MessageBox
- * Librería: user32.dll
- * int MessageBox(
- * HWND hWnd, // handle of owner window
- * LPCTSTR lpText, // address of text in message box
- * LPCTSTR lpCaption, // address of title of message box
- * UINT uType // style of message box
- * );
- */
- typedef int (WINAPI *P_MESSAGEBOX)(HWND, LPCSTR, LPCSTR, UINT);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement