Hi,

First off apologies if this is in the wrong forum - moderators feel free to move it if it is, or ask me to repost somewhere else.

Now, my actual question is as follows.
If I understand correctly by initiating a hook using SetWindowsHookEx then my hook will be added to the start of the hook chain? And it follows that if another application initiated it's own hook it would be added above me in the hook chain? What I want to know is if it is possible to ensure that my hook is always highest (i.e. always has to pass the data down the chain using CallNextHookEx) in the hook chain.

Hope this makes sense.

Thanks

Recommended Answers

All 2 Replies

>>if it is possible to ensure that my hook is always highest

No.

Presumably i cant find out where abouts in the hook chain i am either?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.