pub fn create_hook<F, D>(target: F, detour: D) -> Result<*const (), HookStatus>where
F: Function + HookableWith<D>,
D: Function,Expand description
Creates a hook for the specified target function in disabled state.
Returns a pointer to the trampoline function, which will be used to call the original target function.