typedef int(* libmem_foreach_sector_fn_t)(libmem_driver_handle_t *h, libmem_sector_info_t *sector_info)
 

A function pointer to a function handling a libmem_foreach_sector or libmem_foreach_sector_in_range call.

Parameters:
h   A pointer to the handle of the LIBMEM driver.
sector_info   A pointer to the sector information.
Returns:
The LIBMEM status result. If any value other than LIBMEM_STATUS_SUCCESS is returned from this function the libmem_foreach_sector or libmem_foreach_sector_in_range functions will terminate and return the response.