Skip to main content

dr_lookup_module_by_name

Function dr_lookup_module_by_name 

Source
pub unsafe extern "C" fn dr_lookup_module_by_name(
    name: *const c_char,
) -> *mut module_data_t
Expand description

Looks up the module with name \p name ignoring case. If an exact name match is found returns a module_data_t describing that module else returns NULL. User must call dr_free_module_data() on the returned module_data_t once finished. Can be used to obtain a module_handle_t for dr_get_proc_address(). \note Returned module_data_t must be freed with dr_free_module_data().