pub unsafe extern "C-unwind" fn SCPreferencesGetValue(
prefs: &SCPreferences,
key: &CFString,
) -> Option<CFRetained<CFPropertyList>>Available on crate feature
SCPreferences only.Expand description
Returns the data associated with a preference key.
This function retrieves data associated with the specified key.
Note: To avoid inadvertantly reading stale data, first call the SCPreferencesLock function.
Parameter prefs: The preferences session.
Parameter key: The preference key to be returned.
Returns: Returns the value associated with the specified preference key; NULL if no value was located.