文件名称:subiaoquci
- 所属分类:
- 钩子与API截获
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 2.48mb
- 下载次数:
- 0次
- 提 供 者:
- h*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
屏幕上的大多数文字都是由gdi32.dll的以下几个函数显示的:
TextOuA,TextOutW,ExtTextOutA,ExtTextOutW。象user32.dll中的DrawTextA,
DrawTextW都是调用GDI32.DLL的这几个函数实现的。其实大家都知道实现
屏幕抓词的关键是如何截获对这几个函数的调用。我从易到难简要描述一下
实现抓词需要做的几件事:
一、 得到鼠标的当前位置。
二、向鼠标下的窗口发重画消息,让它调用系统函数重画。
三、截获对系统函数的调用,得到发给系统函数的参数。
-Most of the text on the screen by the following function gdi32.dll displayed: TextOuA, TextOutW, ExtTextOutA, ExtTextOutW. Like user32.dll in DrawTextA, DrawTextW are calling this a number of functions GDI32.DLL achievable. In fact, we all know that screen realize grasping the key word is how to intercept this call a few functions. From easy to difficult, I briefly describe the realization of the need to grasp the words to do several things: First, get the mouse s current location. Second, to the window under the mouse fat redraw message, it calls system function redraw. Third, the system intercepted function call, to be distributed to system function parameters.
TextOuA,TextOutW,ExtTextOutA,ExtTextOutW。象user32.dll中的DrawTextA,
DrawTextW都是调用GDI32.DLL的这几个函数实现的。其实大家都知道实现
屏幕抓词的关键是如何截获对这几个函数的调用。我从易到难简要描述一下
实现抓词需要做的几件事:
一、 得到鼠标的当前位置。
二、向鼠标下的窗口发重画消息,让它调用系统函数重画。
三、截获对系统函数的调用,得到发给系统函数的参数。
-Most of the text on the screen by the following function gdi32.dll displayed: TextOuA, TextOutW, ExtTextOutA, ExtTextOutW. Like user32.dll in DrawTextA, DrawTextW are calling this a number of functions GDI32.DLL achievable. In fact, we all know that screen realize grasping the key word is how to intercept this call a few functions. From easy to difficult, I briefly describe the realization of the need to grasp the words to do several things: First, get the mouse s current location. Second, to the window under the mouse fat redraw message, it calls system function redraw. Third, the system intercepted function call, to be distributed to system function parameters.
相关搜索: subiaoquci
(系统自动生成,下载前可以参看下载内容)
下载文件列表
...........\Debug
...........\hookdll
...........\.......\Debug
...........\.......\dllmain.c
...........\.......\hookapi.def
...........\.......\hookdll.dsp
...........\.......\hookdll.dsw
...........\.......\hookdll.ncb
...........\.......\hookdll.sln
...........\.......\hookdll.vcproj
...........\.......\hookdll.vcproj.LXM.lxm.user
...........\resource.h
...........\testhook.001
...........\testhook.dsp
...........\testhook.dsw
...........\testhook.ncb
...........\testhook.opt
...........\testhook.rc
...........\testhook.sln
...........\testhook.vcproj
...........\testhook.vcproj.LXM.lxm.user
...........\winmain.c
...........\从屏幕抓词的技术实现.doc
...........\hookdll
...........\.......\Debug
...........\.......\dllmain.c
...........\.......\hookapi.def
...........\.......\hookdll.dsp
...........\.......\hookdll.dsw
...........\.......\hookdll.ncb
...........\.......\hookdll.sln
...........\.......\hookdll.vcproj
...........\.......\hookdll.vcproj.LXM.lxm.user
...........\resource.h
...........\testhook.001
...........\testhook.dsp
...........\testhook.dsw
...........\testhook.ncb
...........\testhook.opt
...........\testhook.rc
...........\testhook.sln
...........\testhook.vcproj
...........\testhook.vcproj.LXM.lxm.user
...........\winmain.c
...........\从屏幕抓词的技术实现.doc