我看了一个程序  有3个问题
LRESULT  CALLBACK  KeyHook(int  ncode,WPARAM  wparam,LPARAM  lparam)  
{  
   LRESULT  Result=CallNextHookEx(Hook1,ncode,wparam,lparam);  
   if  (ncode==HC_ACTION)             //1.ncode什么意思  
   {  
       if(lparam  &0x80000000)        //2.什么意思为什么用0x80000000  
               {        //纪录wparam;  
                     }  
}}  
3.可是为什么都是大写?

解决方案 »

  1.   

    1、nCode 
    [in] Specifies the hook code passed to the current hook procedure. The next hook procedure uses this code to determine how to process the hook information. 2、检测是否为扩展键,例如insert等键
    3、大写??不太清楚你指什么?HC_ACTION等都是VC定义的常量
      

  2.   

    纪录的字母为大写,小键盘的却为a-k的小写字母?2问题中0x80000000的具体意义,这个只监测左数第二位,其他位有啥意义?