HookCode is not necessary. As it's written in MadCodeHook's help, I'll copy here whats the purpose of RenewHook
Some firewall/antivirus programs install API hooks, too. Sometimes they uninstall your hooks. So if you hook often hooked APIs like CreateProcess, you might want to call RenewHook inside of your hook callback function (after you called the next hook), to make sure that your hook is still installed. Don't have fear, it rarely happens that another program is uninstalling your hooks. And if it happens, it only happens for such APIs, which are hooked very often. So normally you don't need to care. RenewHook is only there just in case...
Good catch, uall. I tend to overlook such cases where people call the original API directly instead of OriginalAPINext. Most of the time I only notice that after trying their code on my PC...