title: How do I use my own coordinates instead of wParam? (using winapi)
body: <p>This is the overall code bellow:</p>
  
  <pre><code>LRESULT WmPointerAPI::WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
  {
  HRESULT hr;
  POINTER_INFO pointerInfo = {};
  
  UNREFERENCED_PARAMETER(hr);
  
  switch (message)
  {
  case WM_POINTERDOWN:
      // Get frame id from current message
      if (GetPointerInfo(GET_POINTERID_WPARAM(wParam), &amp;pointerInfo))
      {
  </code></pre>
  
  <p>I'm focusing on:</p>
  
  <pre><code>if (GetPointerInfo(GET_POINTERID_WPARAM(wParam), &amp;pointerInfo))
  </code></pre>
  
  <p>I'm currently using Leap Motion technology, which is a 3D sensor to plug coordinates into my application.
  The problem is, I don't know how to plug my own "coordinates" into the wParam, so that it takes in my coordinates, rather then from cursor/touch screen.</p>
  
  <p>How would I inject or simulate touch through wParam, using my own on screen coordinates?</p>