Using Win32-specific APIs, is there an easy way to start an external application to open a file simply by passing in the path/name of the file?
For example, say I have a file called C:\tmp\image.jpg. Is there a single API that I can call to tell Windows to open the application associated with .jpg files? Without having to do a bunch of registry lookups?
I thought I remembered doing this many years ago, but I cannot find it.