Module: wine Branch: master Commit: 24e7055f1d3268a9f50cff2e9e40242ca187b540 URL: https://gitlab.winehq.org/wine/wine/-/commit/24e7055f1d3268a9f50cff2e9e40242...
Author: Biswapriyo Nath nathbappai@gmail.com Date: Fri Jul 28 11:40:27 2023 +0300
include: Add windows.ui.xaml.hosting.desktopwindowxamlsource.idl file.
---
include/Makefile.in | 1 + ...ows.ui.xaml.hosting.desktopwindowxamlsource.idl | 42 ++++++++++++++++++++++ 2 files changed, 43 insertions(+)
diff --git a/include/Makefile.in b/include/Makefile.in index 708fd55367a..54b4ab5925e 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -857,6 +857,7 @@ SOURCES = \ windows.ui.core.idl \ windows.ui.idl \ windows.ui.viewmanagement.idl \ + windows.ui.xaml.hosting.desktopwindowxamlsource.idl \ windowscontracts.idl \ windowsx.h \ wine/afd.h \ diff --git a/include/windows.ui.xaml.hosting.desktopwindowxamlsource.idl b/include/windows.ui.xaml.hosting.desktopwindowxamlsource.idl new file mode 100644 index 00000000000..fe726ac6f70 --- /dev/null +++ b/include/windows.ui.xaml.hosting.desktopwindowxamlsource.idl @@ -0,0 +1,42 @@ +/* + * Copyright (C) 2023 Biswapriyo Nath + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "oaidl.idl"; + +[ + object, + uuid(3cbcf1bf-2f76-4e9c-96ab-e84b37972554), + local, + pointer_default(unique) +] +interface IDesktopWindowXamlSourceNative : IUnknown +{ + HRESULT AttachToWindow([in] HWND parent_wnd); + [propget] HRESULT WindowHandle([out, retval] HWND *wnd); +} + +[ + object, + uuid(e3dcd8c7-3057-4692-99c3-7b7720afda31), + local, + pointer_default(unique) +] +interface IDesktopWindowXamlSourceNative2 : IDesktopWindowXamlSourceNative +{ + HRESULT PreTranslateMessage([in] const MSG *message, [out, retval] BOOL *result); +}