pub unsafe extern "C" fn drmgr_register_module_unload_event_ex(
func: Option<unsafe extern "C" fn(drcontext: *mut c_void, info: *const module_data_t)>,
priority: *mut drmgr_priority_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(), except that it is ordered according to \p priority. A default priority of 0 is used for events registered via drmgr_register_module_unload_event(). \return whether successful.