#if PREVIEW_HANDLER using System.IO; namespace ShellExtensions { /// /// This interface exposes the function for initializing the /// Preview Handler with a . /// This interface can be used in conjunction with the other intialization interfaces, /// but only 1 will be accessed according to the priorities preset by the Windows Shell: /// /// /// /// public interface IPreviewFromStream { /// /// Provides the to the item from which a preview should be created. /// /// Stream to the previewed file, this stream is only available in the scope of this method. void Load(Stream stream); } /// /// This interface exposes the function for initializing the /// Preview Handler with a . /// This interface can be used in conjunction with the other intialization interfaces, /// but only 1 will be accessed according to the priorities preset by the Windows Shell: /// /// /// /// public interface IPreviewFromFile { /// /// Provides the to the item from which a preview should be created. /// /// File information to the previewed file. void Load(FileInfo info); } } #endif