Function CFArrayGetValues

Source
pub unsafe extern "C-unwind" fn CFArrayGetValues(
    the_array: &CFArray,
    range: CFRange,
    values: *mut *const c_void,
)
Available on crate features CFArray and CFBase only.
Expand description

Fills the buffer with values from the array.

Parameter theArray: The array to be queried. If this parameter is not a valid CFArray, the behavior is undefined.

Parameter range: The range of values within the array to retrieve. If the range location or end point (defined by the location plus length minus 1) is outside the index space of the array (0 to N-1 inclusive, where N is the count of the array), the behavior is undefined. If the range length is negative, the behavior is undefined. The range may be empty (length 0), in which case no values are put into the buffer.

Parameter values: A C array of pointer-sized values to be filled with values from the array. The values in the C array are ordered in the same order in which they appear in the array. If this parameter is not a valid pointer to a C array of at least range.length pointers, the behavior is undefined.