how to use sendinput function

Mar 14, 2014 at 11:33pm
I have no idea about what parameters are inputted even though I saw the sendinput function from msdn.

UINT WINAPI SendInput(
_In_ UINT nInputs,
_In_ LPINPUT pInputs,
_In_ int cbSize
);

What do parameters above mean and what do I need to create for them?
Also, type, ki.wScan, ki.time, ki.dwExtraInfo, ki.wVk, ki.dwFlags
What do bojects above mean and is there any other objects that may be frequently uesd?
Mar 16, 2014 at 12:20am
To understand what each parameter means u'll have to search each one separately on MSDN...

A great documented example to get u started :)
http://batchloaf.wordpress.com/2012/04/17/simulating-a-keystroke-in-win32-c-or-c-using-sendinput/
Topic archived. No new replies allowed.