pub unsafe extern "C" fn drmgr_register_module_unload_event(
func: Option<unsafe extern "C" fn(drcontext: *mut c_void, info: *const module_data_t)>,
) -> bool_Expand description
Registers a callback function for the module unload event, which behaves just like DR’s module unload event dr_register_module_unload_event(). \return whether successful.