CFPreferencesCopyAppValue |
||||
Header: | CFPreferences.h | Carbon status: | Supported | |
Obtains a preference value for the specified key and application.
CFPropertyListRef CFPreferencesCopyAppValue ( CFStringRef key, CFStringRef appName );
The preference key whose value you wish to obtain.
The identifier of the application whose preferences you wish to search, typically kCFPreferencesCurrentApplication. Do not pass NULL or kCFPreferencesAnyApplication.
The preference data for the specified key and application. The data is returned as a Core Foundation Property List data type. Use the function CFGetTypeID to determine the values type. If no value was located, NULL is returned. You must release the returned value.
Supported in Carbon. Available in Carbon 1.0.2 and later.
© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)