Need help with Callback function

12/19/2022 14:28 owadziak#1
Hello there pvpers
Is there anyone who can help me / explain me how to instal a low lvl hook just for specified running process ?
Theres a UDF file for Autoit that allows u to track mouse
using Callback to a low lvl mouse hook , but its a overall info




Ok so i did a bit of research, and ended up with this


^
This code (if i wrote it correctly should catch up events with LL_Injected flag
clean them and send forward using CallNextHookEx


Look like its working but :P
Mouse is acting weird due to delays.

Im not an AutoIt Vet if it comes to dllcalls and hooks like this one
I dont want to screw up anything.... so if theres anyone willing to help me, dm me and ill send u my discord tag in case of future questions