pub unsafe extern "C-unwind" fn SCPreferencesCreate(
allocator: Option<&CFAllocator>,
name: &CFString,
prefs_id: Option<&CFString>,
) -> Option<CFRetained<SCPreferences>>Available on crate feature
SCPreferences only.Expand description
Initiates access to the per-system set of configuration preferences.
Parameter allocator: The CFAllocator that should be used to allocate
memory for this preferences session.
This parameter may be NULL in which case the current
default CFAllocator is used.
If this reference is not a valid CFAllocator, the behavior
is undefined.
Parameter name: A string that describes the name of the calling
process.
Parameter prefsID: A string that identifies the name of the
group of preferences to be accessed or updated.
Returns: Returns a reference to the new SCPreferences. You must release the returned value.