At 10:17 AM -0700 5/17/99, Ion Popescu wrote:
>PrefSetAppPreferences() has a version argument and
>PrefGetAppPreferences() doesn't have one. Does the OS
>manage the versions internally?
PrefGetAppPreferences returns the version.
Only one pref record is saved (per creator/ID pair), and the version number
you pass to PrefSetAppPreferences is the one that will be returned when you
call PrefGetAppPreferences.
This version may be useful for detecting when the application itself has
been updated and you're reading preferences that might have been saved by a
previous version of the app.
--Bob