mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-10 01:17:13 +00:00
23 lines
618 B
C#
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);
|
|
}
|
|
} |