Deprecated Launch Services Functions

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

Deprecated in OS X v10.3

LSInit

(Deprecated in OS X v10.3. Formerly used to initialize Launch Services; now does nothing.)

Not recommended.

OSStatus LSInit (
   LSInitializeFlags inFlags
);
Discussion

Calling this function was formerly required in order to initialize Launch Services; it is no longer needed, however, because Launch Services is now initialized automatically the first time one of its functions is called. LSInit now does nothing at all.

Version Notes

Thread-safe since Mac OS version 10.2.

Availability
  • Available in OS X v10.0 and later.
  • Deprecated in OS X v10.3.
Declared In
LSInfo.h

LSTerm

(Deprecated in OS X v10.3. Formerly used to terminate Launch Services; now does nothing.)

Not recommended.

OSStatus LSTerm (
   void
);
Discussion

Calling this function was formerly required in order to terminate Launch Services; however, it is no longer needed and so should not be called. It now does nothing at all.

Version Notes

Thread-safe since Mac OS version 10.2.

Availability
  • Available in OS X v10.0 and later.
  • Deprecated in OS X v10.3.
Declared In
LSInfo.h