Windows下的Hook就相当于DOS时的中断,它允许一个应用程序在一定程度上截获另一个应用程序的操作。具体文档见MSDN。

解决方案 »

  1.   

    请查MSDN中的“平台 SDK”下的“Windows Base Services”下的“Interprocess Communication”下的“Hooks”章节!
      

  2.   

    http://vchelp.163.net/refer/hook.htm上有一篇中文的,还行。
      

  3.   

    A hook is a point in the system message-handling mechanism where an application can install a subroutine to monitor the message traffic in the system and process certain types of messages before they reach the target window procedure. This overview describes hooks and explains how to use them in a Win32®-based application. About Hooks 
    Using Hooks 
    Hook Reference 
    For more information, see WinEvents. 
    另外,在www.china-pub.com上好像有这样的文章,你可以看一下。但推荐着一本书看一下:
    jeffrey richter的windows高级编程系列很不错的。第四版的《windows核心编程》可以看看。
    你可以找一下电子版的。