在Windows中检索全局挂钩链 [英] retrieve the global hook chain in windows

查看:72
本文介绍了在Windows中检索全局挂钩链的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要获取Windows全局挂钩链中的功能列表,并尽可能获取其相应的应用程序.我不知道如何从全局钩子链中检索信息.

I need to get the list of functions in global hook chain in Windows and get their corresponding application if it's possible. I don't know how to retrieve information from the global hook chain however.

据我所知,没有Windows API可以执行此操作,所以我认为我必须通过解析钩子链链接列表来找到它们.问题是我不知道此链接列表的数据结构及其开始地址.

As far as I know there is no windows API for doing this so I think I have to find them by parsing the hook chain link list. The problem is that I don't know the data structure of this link list and it's begin address.

有人知道Windows如何管理其全局挂钩链吗?

推荐答案

此代码(小心缓慢的服务器)引用.当然是疯狂的东西,不知道在不同的Windows版本之间移植效果如何.

One approach I've seen is shown in this blog post. It was referenced by this code (beware of slow server). Crazy stuff of course, no idea how well this will port between different Windows versions.

这篇关于在Windows中检索全局挂钩链的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆