Debian Codegraph @

mingw-w64-headers/include/windows.ui.xaml.interop.idl

raw
1 /*
2 * Copyright 2024 Zhiyi Zhang for CodeWeavers
3 *
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.
8 *
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.
13 *
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
17 */
18
19 #ifdef __WIDL__
20 #pragma winrt ns_prefix
21 #endif
22
23 import "inspectable.idl";
24 import "asyncinfo.idl";
25 import "eventtoken.idl";
26 import "windowscontracts.idl";
27 import "windows.foundation.idl";
28
29 namespace Windows.UI.Xaml.Interop {
30 typedef enum TypeKind TypeKind;
31 typedef struct TypeName TypeName;
32
33 [
34 contract(Windows.Foundation.UniversalApiContract, 1.0)
35 ]
36 enum TypeKind
37 {
38 Primitive = 0,
39 Metadata = 1,
40 Custom = 2
41 };
42
43 [
44 contract(Windows.Foundation.UniversalApiContract, 1.0)
45 ]
46 struct TypeName
47 {
48 HSTRING Name;
49 Windows.UI.Xaml.Interop.TypeKind Kind;
50 };
51 }