title: Detect when two keys are pressed on the same time
body: <p>I want to do something when two keys are pressed at the same time.</p>
  
  <p>This is not working for me.
  Don't know why.</p>
  
  <pre><code>if(GetAsyncKeyState(VK_F12) &amp;&amp; GetAsyncKeyState(VK_F1))
  {
    MessageBoxA(0, "Injection is working!", "Succes!", MB_ICONINFORMATION | MB_OK);
  }
  </code></pre>
  
  <p>I want to know how to achieve so that code is executed when I press two keys at the same time.</p>