Is there an API function that will allow me to retrieve the file association details for a given file extension ? I want to know what type of file is being drag-dropped onto my application and how to launch that file ( including shortcuts).

Any help on this one would be much appreciated.