kernelbase: Do not forcefully reset console_flags to 0.
[wine/zf.git] / include / windows.foundation.idl
blob3c60278cf05008a3385f0ce2255fc3c9fa29ea4a
1 /*
2 * Copyright 2015 Jacek Caban for CodeWeavers
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
19 #ifdef __WIDL__
20 #pragma winrt ns_prefix
21 #endif
23 import "inspectable.idl";
24 /* import "asyncinfo.idl"; */
25 import "windowscontracts.idl";
26 /* import "eventtoken.idl"; */
27 /* import "ivectorchangedeventargs.idl"; */
28 import "windows.foundation.collections.idl";
30 namespace Windows {
31 namespace Foundation {
32 [contract(Windows.Foundation.FoundationContract, 1.0)]
33 enum PropertyType {
34 Empty = 0,
35 UInt8 = 1,
36 Int16 = 2,
37 UInt16 = 3,
38 Int32 = 4,
39 UInt32 = 5,
40 Int64 = 6,
41 UInt64 = 7,
42 Single = 8,
43 Double = 9,
44 Char16 = 10,
45 Boolean = 11,
46 String = 12,
47 Inspectable = 13,
48 DateTime = 14,
49 TimeSpan = 15,
50 Guid = 16,
51 Point = 17,
52 Size = 18,
53 Rect = 19,
54 OtherType = 20,
55 UInt8Array = 1025,
56 Int16Array = 1026,
57 UInt16Array = 1027,
58 Int32Array = 1028,
59 UInt32Array = 1029,
60 Int64Array = 1030,
61 UInt64Array = 1031,
62 SingleArray = 1032,
63 DoubleArray = 1033,
64 Char16Array = 1034,
65 BooleanArray = 1035,
66 StringArray = 1036,
67 InspectableArray = 1037,
68 DateTimeArray = 1038,
69 TimeSpanArray = 1039,
70 GuidArray = 1040,
71 PointArray = 1041,
72 SizeArray = 1042,
73 RectArray = 1043,
74 OtherTypeArray = 1044
77 [contract(Windows.Foundation.FoundationContract, 1.0)]
78 struct Point {
79 FLOAT X;
80 FLOAT Y;
83 [contract(Windows.Foundation.FoundationContract, 1.0)]
84 struct Size {
85 FLOAT Width;
86 FLOAT Height;
89 [contract(Windows.Foundation.FoundationContract, 1.0)]
90 struct Rect {
91 FLOAT X;
92 FLOAT Y;
93 FLOAT Width;
94 FLOAT Height;
97 [contract(Windows.Foundation.FoundationContract, 1.0)]
98 struct DateTime {
99 INT64 UniversalTime;
102 [contract(Windows.Foundation.FoundationContract, 1.0)]
103 struct TimeSpan {
104 INT64 Duration;
108 contract(Windows.Foundation.FoundationContract, 1.0),
109 uuid(96369f54-8eb6-48f0-abce-c1b211e627c3)
111 interface IStringable : IInspectable
113 HRESULT ToString([out, retval] HSTRING *value);