hook

Function hook 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn hook( offset: *mut c_void, ptr: *mut c_void, orig: *mut *mut c_void, )
Expand description

C FFI: Convenience function for hooking with automatic architecture detection.

This function automatically selects the appropriate hooking implementation based on the target architecture.

ยงSafety

Same safety requirements as MSHookFunction.