Files
QuickLook/QuickLook.Plugin/QuickLook.Plugin.IPreviewHandlers/IPreviewHandler.cs

23 lines
618 B
C#

using System;
using System.Drawing;
using System.Runtime.InteropServices;
using System.Windows.Forms;
namespace QuickLook.Plugin.IPreviewHandlers
{
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("8895b1c6-b41f-4c1c-a562-0d564250836f")]
internal interface IPreviewHandler
{
void SetWindow(IntPtr hwnd, ref Rectangle rect);
void SetRect(ref Rectangle rect);
void DoPreview();
void Unload();
void SetFocus();
void QueryFocus(out IntPtr phwnd);
[PreserveSig]
uint TranslateAccelerator(ref Message pmsg);
}
}