I am writing a image viewer application, which I need to set as default application for jpeg/gif files. There is an API LSGetApplicationForItem/Info for getting information on what is the default application. But I am not able to find an API where I can set my application as the default viewer for image files.
Can you please help