pub unsafe fn range_set_mode(object: *mut Object, mode: u32) -> Result<()>
Pointers must be valid for the call.