From: Biswapriyo Nath nathbappai@gmail.com
--- include/Makefile.in | 1 + ...i.xaml.hosting.desktopwindowxamlsource.idl | 40 +++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 include/windows.ui.xaml.hosting.desktopwindowxamlsource.idl
diff --git a/include/Makefile.in b/include/Makefile.in index e9f0aa8d5fb..e9d0432eeb4 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -846,6 +846,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..1ba1069eda5 --- /dev/null +++ b/include/windows.ui.xaml.hosting.desktopwindowxamlsource.idl @@ -0,0 +1,40 @@ +/* + * 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 +] +interface IDesktopWindowXamlSourceNative: IUnknown +{ + HRESULT AttachToWindow([in] HWND parent_wnd); + [propget] HRESULT WindowHandle([out, retval] HWND *wnd); +} + +[ + object, + uuid(e3dcd8c7-3057-4692-99c3-7b7720afda31), + local +] +interface IDesktopWindowXamlSourceNative2: IDesktopWindowXamlSourceNative +{ + HRESULT PreTranslateMessage([in] const MSG *message, [out, retval] BOOL *result); +}
This merge request was closed by Biswapriyo Nath.