How to implement anti-hook?
Posted on 2002-07-30
I want to implement a feature: when my app starts up, I don't want that any other app calls SetWindowsHookEx() to inject a dll into my process space.
So, I intercept SetWindowsHookEx() and LoadLibraryA(). But I can't see any LoadLibrary() call in my process space.
Does anyone know how the OS loads the hook dll into other process? Or can I implement this feature in other way? Thanks.