Hi there!
Can you help me, please, is it possible with AutoHotInterception programmatically detect (intercept, capture) which win api (for example - mouse_event) directly requests the application I specified or even intercept global api calls to windows user32.dll, which holds mouse_event...
That is, something similar to the API MONITOR.
I tired to install global hooks as shown down will not help me, since they capture the already accomplished fact of api execution, but i need to capture only the api call procedure fact before it is actually executed. (code only for example in autohotkey to understand what i mean)...
`
Code: Select all
hHookKeybd := DllCall("SetWindowsHookEx"
, Int, WH_KEYBOARD_LL := 13
, UInt, RegisterCallback("LowLevelKeyboardProc", "Fast")
, UInt, DllCall("GetModuleHandle", UInt, 0)
, UInt, 0)
hHookMouse := DllCall("SetWindowsHookEx"
, Int, WH_MOUSE_LL := 14
, UInt, RegisterCallback("LowLevelMouseProc", "Fast")
, UInt, DllCall("GetModuleHandle", UInt, 0)
, UInt, 0)
[Mod edit: [code][/code] tags added.]
`
I have read, that AutoHotInterception is able to capture events from real devices (keyboard and mouse), but I am interested in global capturing calls to the api as a whole (it can be a mousemove, 100, 100, 100 command from autohotkey or the movement of a real USB HID mouse) ...
I know for sure that this is possible by other programms, since the product Api Monitor v2 can do this, but there are no convenient tools for processing the information received.
http://dl4.joxi.net/drive/2021/01/12/0013/2011/870363/63/f680aed021.jpg
Thanks for your suggestions!