title: What key was pressed? Keyboard hooks
body: <p>I'm using low level hooks, but I can't determine what key was pressed. Values are the same for every single key. Is here something I'm doing wrong?</p>
  
  <p>Hook method</p>
  
  <pre><code>void hook() {
  
      /** this part is probably not important since I use global WH_KEYBOARD_LL, is that right? */
      HWND hwnd = FindWindow(NULL, "Vertices.exe");
      HINSTANCE instance = (HINSTANCE)GetWindowLong(hwnd, GWL_HINSTANCE);
      /** end part */
  
      SetWindowsHookEx(WH_KEYBOARD_LL, LowLevelKeyboardProc, instance /** or NULL ? */, NULL);
  }
  </code></pre>
  
  <p>Callback definition (I do have content in the app)</p>
  
  <pre><code>LRESULT CALLBACK LowLevelKeyboardProc(int nCode, WPARAM wParam, LPARAM lParam);
  </code></pre>
  
  <p>Values given with any key pressed</p>
  
  <pre><code>nCode:0 | wParam:0x100 | lParam:0x18fe14
  </code></pre>
  
  <p>just the wParam changes to 0x101 on key up (0x100 on key down)</p>