title: How to get the key state via a scancode (not virtual keycode)?
body: <p>Is there anyway to get the state of a keyboard key (is it down or up) using just a scancode? I can't find any function in win32 for this. Anyone know any way to achieve this?</p>
  
  <p>p.s. I need the actual state of the keyboard not the state derived from windows messages like GetKeyState returns.</p>