< Previous PageNext Page > Hide TOC

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

< Previous PageNext Page > Hide TOC


© 2003, 2006 Apple Computer, Inc. All Rights Reserved. (Last updated: 2006-07-13)


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.