better and faster window resize; Add "AllowsTransparency" to plugin interface; Use IPreviewHandler for Office files

This commit is contained in:
Paddy Xu
2017-05-21 22:02:42 +03:00
parent e0a7f38d58
commit e450971217
36 changed files with 533 additions and 409 deletions

View File

@@ -0,0 +1,12 @@
using System.Runtime.InteropServices;
namespace QuickLook.Plugin.IPreviewHandlers
{
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("b7d14566-0509-4cce-a71f-0a554233bd9b")]
internal interface IInitializeWithFile
{
void Initialize([MarshalAs(UnmanagedType.LPWStr)] string pszFilePath, uint grfMode);
}
}