The system provides a surrogate host for this in the Prevhost.exe file. A preview handler can be built as an in-process server but run through an out-of-process surrogate host.There are two methods of implementing this: Preview handlers always run out of process. Your handler is called through its IObjectWithSite, which returns an IUnknown pointer through which you request an IPreviewHandlerFrame object to interact with the host. The preview handler itself implements these interfaces: Hosts implement IPreviewHandlerFrame as a method of communication between the preview handler and the host. Hosts include the Windows Explorer in Windows Vista or Microsoft Outlook 2007. Providing Your Own Process for a Preview HandlerĪ preview handler is a hosted application. This topic discusses the following topics: This is done without launching the file's associated application. Preview handlers are called when an item is selected to show a lightweight, rich, read-only preview of the file's contents in the view's reading pane.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |