add experimental WH_GETMESSAGE hook

This commit is contained in:
FunkyFr3sh 2024-09-08 19:14:58 +02:00
parent 426490043f
commit dcc76a154d
6 changed files with 179 additions and 264 deletions

View file

@ -1,9 +1,12 @@
#ifndef MOUSE_H
#define MOUSE_H
void mouse_hook_init();
void mouse_hook_exit();
void mouse_lock();
void mouse_unlock();
LRESULT CALLBACK mouse_hook_proc(int Code, WPARAM wParam, LPARAM lParam);
LRESULT CALLBACK mouse_gm_hook_proc(int code, WPARAM wParam, LPARAM lParam);
LRESULT CALLBACK mouse_hook_proc(int code, WPARAM wParam, LPARAM lParam);
extern BOOL g_mouse_locked;
extern HHOOK g_mouse_hook;