Deprecated Preferences Utilities Functions

A function identified as deprecated has been superseded and may become unsupported in the future.

Deprecated in OS X v10.9

CFPreferencesCopyApplicationList

Constructs and returns the list of all applications that have preferences in the scope of the specified user and host. (Deprecated in OS X v10.9.)

CFArrayRef CFPreferencesCopyApplicationList (
   CFStringRef userName,
   CFStringRef hostName
);
Parameters
userName

kCFPreferencesCurrentUser to search the current-user domain, otherwise kCFPreferencesAnyUser to search the any-user domain.

hostName

kCFPreferencesCurrentHost to search the current-host domain, otherwise kCFPreferencesAnyHost to search the any-host domain.

Return Value

The list of application IDs. Ownership follows the Create Rule in Memory Management Programming Guide for Core Foundation.

Availability
  • Available in OS X v10.0 and later.
  • Deprecated in OS X v10.9.
Declared In
CFPreferences.h