http://www.codeproject.com/cs/system/simple_key_log.asp
there is a block of code talking about get the keys that pressed on the keyBoard and store it in a buffer
and that happend only when the function returns -32767
Code Blockforeach(System.Int32 i in Enum.GetValues(typeof(Keys)))
{
if(GetAsyncKeyState(i) == -32767)
{
keyBuffer += Enum.GetName(typeof(Keys), i) + " ";
}
}
so can you explain what is the -32767 number
Thank you.