Direct calling _LOCAL_HOOK_INFO_::OldProc. Shall I?

Apr 20, 2009 at 4: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?


Apr 20, 2009 at 7:25 PM
Edited Apr 20, 2009 at 7: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