文件名称:APIDesign-of-program-design
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1005.6kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
WINDOWS是基于消息的系统,鼠标移动,单击,键盘按键,窗口关闭等都会产生相应的消息,那么钩子是什么意思呢,它可以监控一个消息,比如在一个窗口里单击了一下,首先获得这个消息的,不是应用程序,而是系统,系统获取这个消息后,就去查看这个消息是在哪个窗口产生的,找到窗口后,再把消息投递到相应程序里的消息队列里,这之间有一个传递过程,那么钩子的作用就是在消息到达应用程序之前截获它,钩子可以关联一个函数(钩子处理函数),也就是说,如果对一个进程安装了一个钩子,进程再接收到相应在消息之前,会先去执行钩子所关联的函数,
-WINDOWS is based on message system, mobile mouse, click, keyboard keys, closing the window will generate the corresponding message, then the hook is what meaning, it can monitor a message, such as a window click it, first get the news, but not the application, system, system acquisition the news, go to view this message is a window in which produces, found window, then the message delivery to the corresponding procedures in the message queue, a transfer process, then the hook function is in the message to reach the application before intercepted it, hook can associate a function ( hook processing function ), that is to say, if a process is to install a hook, process and to a corresponding receiving in the news before, will go to perform hook correlation function
-WINDOWS is based on message system, mobile mouse, click, keyboard keys, closing the window will generate the corresponding message, then the hook is what meaning, it can monitor a message, such as a window click it, first get the news, but not the application, system, system acquisition the news, go to view this message is a window in which produces, found window, then the message delivery to the corresponding procedures in the message queue, a transfer process, then the hook function is in the message to reach the application before intercepted it, hook can associate a function ( hook processing function ), that is to say, if a process is to install a hook, process and to a corresponding receiving in the news before, will go to perform hook correlation function
(系统自动生成,下载前可以参看下载内容)
下载文件列表
API设计程序设计.ppt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.