请问怎么写一个注册表监控的钩子,好象只提代鼠标和键盘的钩子,不提供注册表的钩入注入,哪位达人告诉一下,谢谢

解决方案 »

  1.   

    http://community.csdn.net/Expert/topic/4405/4405355.xml?temp=.1847803
      

  2.   

    Monitoring Registry Changes http://delphi.about.com/od/kbwinshell/l/aa052003a.htmfunction RegNotifyChangeKeyValue(
        hKey : HKEY, // handle of key to watch 
        // flag for subkey notification 
        bWatchSubtree : LongBool, 
        // changes to be reported 
        dwNotifyFilter : Cardinal, 
        // handle of signaled event 
        hEvent : Cardinal,
        // flag for asynchronous reporting  
        fAsynchronous : LongBool 
       ) : integer;
      

  3.   

    // handle of signaled event 
        hEvent : Cardinal,
    敢问大侠:这个是什么意思呀?怎么用呢?可以给个Demo吗?谢谢..
      

  4.   

    hEvent貌似是事件的句柄http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/regnotifychangekeyvalue.asp