Direct calling _LOCAL_HOOK_INFO_::OldProc. Shall I?

Apr 20, 2009 at 3:04 AM
I found that _LOCAL_HOOK_INFO_::OldProc is pointing to the original API function.  It there any harmful effect if I call this pointer in a hook handler?


Coordinator
Apr 20, 2009 at 6:25 PM
Edited Apr 20, 2009 at 6:26 PM
I think this would be okay, since it is an unmodified pointer just like you would get by calling the GetProcAddress().

But you should check for NULL