Function SCPreferencesCommitChanges

Source
pub unsafe extern "C-unwind" fn SCPreferencesCommitChanges(
    prefs: &SCPreferences,
) -> bool
Available on crate feature SCPreferences only.
Expand description

Commits changes made to the configuration preferences to persistent storage.

This function commits any changes to permanent storage. Implicit calls to the SCPreferencesLock and SCPreferencesUnlock functions will be made if exclusive access has not already been established.

Note: This routine commits changes to persistent storage. Call the SCPreferencesApplyChanges function to apply the changes to the running system.

Parameter prefs: The preferences session.

Returns: Returns TRUE if the lock was obtained; FALSE if an error occurred.