Launch Services Framework
he Launch Services Framework is conceptually a sub-framework of Application Services. You can find its contents under:
/System/Library/Frameworks/ApplicationServices.framework\
/Frameworks/LaunchServices.framework
sing Launch Services, you can open entities either by filesystem references, or by URL references. Launch Services provides a few functions for doing this. Consider:
LSOpenFSRef() opens a file resident on a local or remote volume
LSOpenFromRefSpec()
LSOpenCFURLRef() opens a URL (which could be a file: URL, in which case it would be equivalent to a file on a volume)
LSOpenFromURLSpec()