CFPreferencesAppSynchronize

Header: CFPreferences.h Carbon status: Supported

Writes to permanent storage all pending changes to the preference data for the application.

Boolean CFPreferencesAppSynchronize (
    CFStringRef appName
);
Parameter descriptions
appName

The ID of the application whose preferences you wish to write to storage, typically kCFPreferencesCurrentApplication.

function result

TRUE if synchronization was successful; FALSE if an error occurred.

DISCUSSION

Calling the function CFPreferencesSetAppValue is not in itself sufficient for storing preferences. CFPreferencesAppSynchronizewrite to permanent storage all pending preference changes for the application. Typically you would call this function after multiple calls to CFPreferencesSetAppValue.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later.


© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)