pub unsafe extern "C" fn EN_getcontrolenabled(
ph: EN_Project,
index: c_int,
out_enabled: *mut c_int,
) -> c_intExpand description
@brief Gets the enabled status of a simple control.
@param ph an EPANET project handle.
@param index the control’s index (starting from 1).
@param out_enabled EN_TRUE (= 1) if the control is enabled or EN_FALSE (= 0) if it is disabled.
@return an error code.