CFArrayGetValues

Header: CFArray.h Carbon status: Supported

Fills the buffer with values from the array.

void CFArrayGetValues (
    CFArrayRef theArray, 
    CFRange range, 
    void **values
);
Parameter descriptions
theArray

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

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) are 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.

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.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)