Mac OS X Reference Library Apple Developer Connection spyglass button

Deprecated Launch Services Functions

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

Deprecated in Mac OS X v10.3

LSInit

(Deprecated in Mac 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
Declared In
LSInfo.h

LSTerm

(Deprecated in Mac 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
Declared In
LSInfo.h


Last updated: 2009-11-17

Did this document help you? Yes It's good, but... Not helpful...