摘要
Windows消息的构成和消息循环机制,决定了其消息处理机制———钩子具有重要作用,对钩子技术的研究具有重要意义。通过在C#中使用委托定义Hook子程,研究在.NET下使用托管C#代码实现钩子的方法,最后用C#实现了一个可选择挂起线程钩子或系统钩子的程序实例。
Hook, a system for disposing Windows messages, is important and research on its implementing is significant, which is decided by the structure of Windows message and message cycle system. The implement method of Hook System under. Net by C# is studied after defining the Hook procedure by delegate. Finally, it gives an application instance of hook that can optionally intercept system message or threading message, which used C# language.
出处
《科学技术与工程》
2006年第13期1943-1946,共4页
Science Technology and Engineering