2 * Copyright (C) 2023 Biswapriyo Nath
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
23 uuid(3cbcf1bf
-2f76
-4e9c
-96ab
-e84b37972554
),
25 pointer_default(unique)
27 interface IDesktopWindowXamlSourceNative
: IUnknown
29 HRESULT AttachToWindow
([in] HWND parent_wnd
);
30 [propget] HRESULT WindowHandle
([out, retval] HWND
*wnd
);
35 uuid(e3dcd8c7
-3057-4692-99c3
-7b7720afda31
),
37 pointer_default(unique)
39 interface IDesktopWindowXamlSourceNative2
: IDesktopWindowXamlSourceNative
41 HRESULT PreTranslateMessage
([in] const MSG
*message, [out, retval] BOOL
*result
);