This HookEngine is a generic binary level hook engine that can be used to perform entry&exit logging for target APIs. It performs the inline API hook which is similar to the Microsoft Research Detours library. But the difference is that Detours needs a hook function with the same prototype as the target API, while HookEngine can perform hooking regarding any target API regardless of its calling convention or parameters. All you need is the modulename!APIName pair.