Module: wine Branch: master Commit: 447f817445807cd7b75cd3b69d5d1f0aee4c3868 URL: https://gitlab.winehq.org/wine/wine/-/commit/447f817445807cd7b75cd3b69d5d1f0...
Author: Alistair Leslie-Hughes leslie_alistair@hotmail.com Date: Mon May 27 08:34:40 2024 +1000
include: Add IPreviewHandler* interfaces.
---
include/shobjidl.idl | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+)
diff --git a/include/shobjidl.idl b/include/shobjidl.idl index 8aa24ea86fc..886cff89ef9 100644 --- a/include/shobjidl.idl +++ b/include/shobjidl.idl @@ -3844,6 +3844,21 @@ interface IApplicationActivationManager : IUnknown [out] DWORD *processid); }
+[ + object, + uuid(8895b1c6-b41f-4c1c-a562-0d564250836f), +] +interface IPreviewHandler : IUnknown +{ + HRESULT SetWindow([in] HWND hwnd, [in] const RECT *rect); + HRESULT SetRect([in] const RECT *rect); + HRESULT DoPreview(); + HRESULT Unload(); + HRESULT SetFocus(); + HRESULT QueryFocus([out] HWND *hwnd); + HRESULT TranslateAccelerator([in] MSG *msg); +} + [ object, uuid(fec87aaf-35f9-447a-adb7-20234491401a), @@ -3861,6 +3876,18 @@ interface IPreviewHandlerFrame : IUnknown HRESULT TranslateAccelerator([in] MSG *msg); }
+[ + object, + uuid(196bf9a5-b346-4ef0-aa1e-5dcdb76768b1), + pointer_default(unique) +] +interface IPreviewHandlerVisuals : IUnknown +{ + HRESULT SetBackgroundColor([in] COLORREF color); + HRESULT SetFont([in] const LOGFONTW *logfont); + HRESULT SetTextColor([in] COLORREF color); +} + /***************************************************************************** * ShellObjects typelibrary */