CFDictionaryGetKeysAndValues |
||||
Header: | CFDictionary.h | Carbon status: | Supported | |
Fills the two buffers with the keys and values from the dictionary.
void CFDictionaryGetKeysAndValues ( CFDictionaryRef dict, void **keys, void **values );
The dictionary to be queried. If this parameter is not a valid CFDictionary, the behavior is undefined.
A C array of pointer-sized values to be filled with keys from the dictionary. The keys and values C arrays are parallel to each other (that is, the items at the same indices form a key-value pair from the dictionary). This parameter may be NULL if the keys are not desired. If this parameter is not a valid pointer to a C array of at least CFDictionaryGetCount() pointers, or NULL, the behavior is undefined.
A C array of pointer-sized values to be filled with values from the dictionary. The keys and values C arrays are parallel to each other (that is, the items at the same indices form a key-value pair from the dictionary). This parameter may be NULL if the values are not desired. If this parameter is not a valid pointer to a C array of at least CFDictionaryGetCount() pointers, or NULL, the behavior is undefined.
Supported in Carbon. Available in Carbon 1.0.2 and later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)