title: how to use sendinput function C++
body: <p>I have no idea about what parameters are inputted even though I saw the sendinput function from msdn.</p>
  
  <pre><code>UINT WINAPI SendInput(
  _In_ UINT nInputs,
  _In_ LPINPUT pInputs,
  _In_ int cbSize
  );
  </code></pre>
  
  <p>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 objects above mean and is there any other objects that may be frequently used?</p>