pub unsafe extern "C-unwind" fn MDItemsCopyAttributes(
items: Option<&CFArray>,
names: Option<&CFArray>,
) -> Option<CFRetained<CFArray>>Available on crate feature
MDItem only.Expand description
Returns metadata for the given items.
Parameter items: A CFArray of MDItemRefs to items for which to fetch data
Parameter names: A CFArray of attribute names for which to fetch data.
The attribute names are CFStrings
Returns: A CFArrayRef, or NULL on failure. Each entry in the array is either kCFNull, if the item is not accessible, or a CFArray of attribute values. If an attribute is not available, there will be a kCFNull in its slot in the nested array.
ยงSafety
itemsgeneric must be of the correct type.itemsmight not allowNone.namesgeneric must be of the correct type.namesmight not allowNone.