wineoss.drv: Use debugstr_guid() to trace a guid.
[wine.git] / include / windows.foundation.idl
blob2c16fa2da2233a6d44494477fd14a5cae8696865
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 "eventtoken.idl"; */
26 /* import "ivectorchangedeventargs.idl"; */
28 namespace Windows {
29 namespace Foundation {
30 [version(0x06020000)]
31 enum PropertyType {
32 Empty = 0,
33 UInt8 = 1,
34 Int16 = 2,
35 UInt16 = 3,
36 Int32 = 4,
37 UInt32 = 5,
38 Int64 = 6,
39 UInt64 = 7,
40 Single = 8,
41 Double = 9,
42 Char16 = 10,
43 Boolean = 11,
44 String = 12,
45 Inspectable = 13,
46 DateTime = 14,
47 TimeSpan = 15,
48 Guid = 16,
49 Point = 17,
50 Size = 18,
51 Rect = 19,
52 OtherType = 20,
53 UInt8Array = 1025,
54 Int16Array = 1026,
55 UInt16Array = 1027,
56 Int32Array = 1028,
57 UInt32Array = 1029,
58 Int64Array = 1030,
59 UInt64Array = 1031,
60 SingleArray = 1032,
61 DoubleArray = 1033,
62 Char16Array = 1034,
63 BooleanArray = 1035,
64 StringArray = 1036,
65 InspectableArray = 1037,
66 DateTimeArray = 1038,
67 TimeSpanArray = 1039,
68 GuidArray = 1040,
69 PointArray = 1041,
70 SizeArray = 1042,
71 RectArray = 1043,
72 OtherTypeArray = 1044
75 [version(0x06020000)]
76 struct Point {
77 FLOAT X;
78 FLOAT Y;
81 [version(0x06020000)]
82 struct Size {
83 FLOAT Width;
84 FLOAT Height;
87 [version(0x06020000)]
88 struct Rect {
89 FLOAT X;
90 FLOAT Y;
91 FLOAT Width;
92 FLOAT Height;
95 [version(0x06020000)]
96 struct DateTime {
97 INT64 UniversalTime;
100 [version(0x06020000)]
101 struct TimeSpan {
102 INT64 Duration;
106 version(0x06030000),
107 uuid(96369f54-8eb6-48f0-abce-c1b211e627c3)
109 interface IStringable : IInspectable
111 HRESULT ToString([out, retval] HSTRING *value);