请查MSDN中的“平台 SDK”下的“Windows Base Services”下的“Interprocess Communication”下的“Hooks”章节!
http://vchelp.163.net/refer/hook.htm上有一篇中文的,还行。
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核心编程》可以看看。 你可以找一下电子版的。
Using Hooks
Hook Reference
For more information, see WinEvents.
另外,在www.china-pub.com上好像有这样的文章,你可以看一下。但推荐着一本书看一下:
jeffrey richter的windows高级编程系列很不错的。第四版的《windows核心编程》可以看看。
你可以找一下电子版的。