Hello,
I try to use hook mouse event for a specific application (thread) in C#, I can use global hook, but i want to now which application sends mouse event, did you now what should I do?
I set a SetWindowsHook, Module part as a IntPtr.Zero and set a ThreadID as my specific form thread, but SetWindowsHook return null, In fact It doesn't register hook function for specific thread!