I have an
HookMouseCallback(int nCode, IntPtr wParam, IntPtr lParam)
How do I use these out params in
UINT SendInput(
[in] UINT cInputs,
[in] LPINPUT pInputs,
[in] int cbSize
);
I am also planning on doing this for keystrokes, but Im not sure how to.
What I have tried:
Well originally I wasn't using SendInput, I was using PostMessage or something, but it didn't give me the desired affect.
I think I want to use
HARDWAREINPUT
What the best way to do this?
Edit just found out HARDWAREINPUT isn't supported, what do I use now? I want to send it as the two params or at least from them.
I am trying to make a macro recorder, but I want more control over the outputs.