Function SCPreferencesPathSetValue

Source
pub unsafe extern "C-unwind" fn SCPreferencesPathSetValue(
    prefs: &SCPreferences,
    path: &CFString,
    value: &CFDictionary,
) -> bool
Available on crate features SCPreferences and SCPreferencesPath only.
Expand description

Associates a dictionary with the specified path.

Parameter prefs: The preferences session.

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

Parameter value: A dictionary that represents the data to be stored at the specified path.

Returns: Returns TRUE if successful; FALSE otherwise.