First of all thanks for the example program. The procedure clearly identified the normal(0) or injected(1) events through flags field.
Now my question and request is, is there any way we can automate mouse events which can interpret by this program as flag=0 (normal) rather than flag=1 (injected).
Is it possible to inject events through programs which will be treat as normal (flag=0)?
Thanks in advance..