Function SCPreferencesPathGetLink

Source
pub unsafe extern "C-unwind" fn SCPreferencesPathGetLink(
    prefs: &SCPreferences,
    path: &CFString,
) -> Option<CFRetained<CFString>>
Available on crate features SCPreferences and SCPreferencesPath only.
Expand description

Returns the link (if one exists) associated with the specified path.

Parameter prefs: The preferences session.

Parameter path: A string that represents the path to be returned.

Returns: Returns the dictionary associated with the specified path; NULL if the path is not a link or does not exist.