智动软件 - 站长优化推广网站好帮手
帐号: 密码: 注册会员
模糊 标题

钩子(HOOK)函数教程(六)

时间:2010-04-21 Tag: HOOK 钩子 教程 点击:统计中..

钩子类型介绍(续一) zdwork.cn

钩子类型7WH_JOURNALPLAYBACK Hook zdwork.cn

The WH_JOURNALPLAYBACK hook enables an application to insert messages into the system message queue. You can use this hook to play back a series of mouse and keyboard events recorded earlier by using the WH_JOURNALRECORD Hook. Regular mouse and keyboard input is disabled as long as a WH_JOURNALPLAYBACK hook is installed. A WH_JOURNALPLAYBACK hook is a global hook — it cannot be used as a thread-specific hook. 内容来自zdwork.cn

The WH_JOURNALPLAYBACK hook returns a time-out value. This value tells the system how many milliseconds to wait before processing the current message from the playback hook. This enables the hook to control the timing of the events it plays back.

zdwork.cn

WH_JOURNALPLAYBACK钩子允许应用程序将消息插入到系统消息队列中。使用该钩子回放先前使用WH_JOURNALRECORD 钩子记录的一系列鼠标和键盘事件。在WH_JOURNALPLAYBACK被安装后,常规的鼠标和键盘输入被禁用。WH_JOURNALPLAYBACK钩子是全局钩子,不能被用作线程钩子。WH_JOURNALPLAYBACK钩子返回一个超时值。该值告诉系统在处理来自回放钩子的当前消息之前等待了多少毫秒。这允许该钩子控制回放事件的速度。 zdwork.cn

钩子类型8WH_JOURNALRECORD Hook

内容来自zdwork.cn

The WH_JOURNALRECORD hook enables you to monitor and record input events. Typically, you use this hook to record a sequence of mouse and keyboard events to play back later by using the WH_JOURNALPLAYBACK Hook. The WH_JOURNALRECORD hook is a global hook — it cannot be used as a thread-specific hook.

本文来自智动软件zdwork.cn

WH_JOURNALRECORD钩子允许监视并且记录输入事件。典型的,使用该钩子来记录顺序的的鼠标和键盘事件,以后可以使用WH_JOURNALPLAYBACK.钩子进行回放。 该钩子是全局钩子,不能被用作进程钩子。 copyright 智动软件

钩子类型9WH_KEYBOARD_LL Hook zdwork.cn

The WH_KEYBOARD_LL hook enables you to monitor keyboard input events about to be posted in a thread input queue.

智动软件

WH_KEYBOARD_LL钩子监视在线程输入队列中,即将被传递的键盘输入事件。 copyright 智动软件

钩子类型10WH_KEYBOARD Hook

www.zdwork.cn

The WH_KEYBOARD hook enables an application to monitor message traffic for WM_KEYDOWN and WM_KEYUP messages about to be returned by the GetMessage or PeekMessage function. You can use the WH_KEYBOARD hook to monitor keyboard input posted to a message queue. 内容来自zdwork.cn

WH_KEYBOARD钩子允许应用程序监视即将被GetMessage 或者 PeekMessage方法返回的WM_KEYDOWN 或者 WM_KEYUP消息。使用WH_KEYBOARD钩子可以监视传递到消息队列中的键盘输入。 www.zdwork.cn

钩子类型11WH_MOUSE_LL Hook 内容来自zdwork.cn

The WH_MOUSE_LL hook enables you to monitor mouse input events about to be posted in a thread input queue.

copyright 智动软件

WH_MOUSE_LL钩子监视在线程输入队列中,即将被传递的鼠标输入事件。

内容来自zdwork.cn

钩子类型12WH_MOUSE Hook

内容来自zdwork.cn

The WH_MOUSE hook enables you to monitor mouse messages about to be returned by the GetMessage or PeekMessage function. You can use the WH_MOUSE hook to monitor mouse input posted to a message queue. www.zdwork.cn

WH_MOUSE钩子允许监视即将被GetMessage或者 PeekMessage方法返回的鼠标消息。使用该钩子监视传递到线程输入队列的鼠标输入。

本文来自智动软件zdwork.cn

Helios 2007-4-8 本文来自智动软件zdwork.cn

 

 

内容来自zdwork.cn

(责任编辑:admin)
顶一下
(0)
0%
踩一下
(0)
0%

推荐内容

热门内容

相关内容


关于我们 | 联系我们 | 代理合作 | 意见及建议

本站免费提供刷IP软件,另有邮件搜索软件等,需要定制软件或有建议可联系我们。联系方式:QQ:896186342 Email:zdwork@qq.com 滇ICP备08001410号.