Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- LONG WINAPI GameEventHandler(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
- {
- if(uMsg == WM_KEYDOWN)
- {
- if(wParam == Key)
- {
- Print();
- return NULL;
- }
- }
- return (LONG)CallWindowProcA(oldWNDPROC, hWnd, uMsg, wParam, lParam);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement