title: Temporary Internet File (read from SharePoint via IE). How do I find the URL?
body: <p>When an IE user clicks the link of a file residing in SharePoint (and user selects "read-only" access), the file is copied to Temporary Internet Files, my application is opened and passed that filename as a parameter.  I'm trying to implement a "check out" button in my app so that a user can switch from read-only mode to check-out and edit mode.  I haven't been able to find a way to learn the SharePoint URL for the file.  On check-out and edit, it's no problem: there's a registry entry that maps the file on my system to the URL in SharePoint; I haven't found anything like that for read-only files.</p>
  
  <p>EDIT:
  There is a URL column available in Windows Explorer, but when I display that column (in Explorer), all the values are blank.  Also, I can't find any file information api call that will return this value for me.</p>
  
  <p>UPDATE:
  I found some promising calls in the wininet.lib: FindFirstUrlCacheEntryEx (and "next") along with FindFirstUrlCacheGroup (and next).  They didn't seem to return any data, and from what I read, these only return <em>my</em> application's use of the wininet api calls cache -- not I.E.'s.  </p>
  
  <p>I also tried running through the list of COM calls that IE made into my app when the file was opened to see what interfaces it was seeing if I supported.  One that looked promising was the IMonikerProp interface, which, when I implemented it, did get called... however it only provided me with the mime type property, the classid of my app and the TrustedDownload flag.</p>