Debian Codegraph @

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

raw
1 /*
2 * Copyright 2022 Mohamad Al-Jaf
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 makedep header install winmd
21 #pragma winrt ns_prefix
22 #endif
23
24 import "inspectable.idl";
25 import "asyncinfo.idl";
26 import "eventtoken.idl";
27 import "windowscontracts.idl";
28 import "windows.foundation.idl";
29
30 namespace Windows.UI {
31 typedef struct Color Color;
32 typedef struct WindowId WindowId;
33
34 interface IColorHelper;
35 interface IColorHelperStatics;
36 interface IColorHelperStatics2;
37 interface IColors;
38 interface IColorsStatics;
39 interface IUIContentRoot;
40 interface IUIContext;
41
42 runtimeclass ColorHelper;
43 runtimeclass Colors;
44 runtimeclass UIContentRoot;
45 runtimeclass UIContext;
46
47 declare {
48 interface Windows.Foundation.Collections.IIterable<Windows.UI.Color>;
49 interface Windows.Foundation.Collections.IIterable<Windows.UI.WindowId>;
50 interface Windows.Foundation.Collections.IIterator<Windows.UI.Color>;
51 interface Windows.Foundation.Collections.IIterator<Windows.UI.WindowId>;
52 interface Windows.Foundation.Collections.IVectorView<Windows.UI.WindowId>;
53 interface Windows.Foundation.IReference<Windows.UI.Color>;
54 }
55
56 [
57 contract(Windows.Foundation.UniversalApiContract, 1.0)
58 ]
59 struct Color
60 {
61 BYTE A;
62 BYTE R;
63 BYTE G;
64 BYTE B;
65 };
66
67 [
68 contract(Windows.Foundation.UniversalApiContract, 12.0)
69 ]
70 struct WindowId
71 {
72 UINT64 Value;
73 };
74
75 [
76 contract(Windows.Foundation.UniversalApiContract, 1.0),
77 exclusiveto(Windows.UI.ColorHelper),
78 uuid(193cfbe7-65c7-4540-ad08-6283ba76879a)
79 ]
80 interface IColorHelper : IInspectable
81 {
82 }
83
84 [
85 contract(Windows.Foundation.UniversalApiContract, 1.0),
86 exclusiveto(Windows.UI.ColorHelper),
87 uuid(8504dbea-fb6a-4144-a6c2-33499c9284f5)
88 ]
89 interface IColorHelperStatics : IInspectable
90 {
91 HRESULT FromArgb([in] BYTE a, [in] BYTE r, [in] BYTE g, [in] BYTE b, [out, retval] Windows.UI.Color *value);
92 }
93
94 [
95 contract(Windows.Foundation.UniversalApiContract, 4.0),
96 exclusiveto(Windows.UI.ColorHelper),
97 uuid(24d9af02-6eb0-4b94-855c-fcf0818d9a16)
98 ]
99 interface IColorHelperStatics2 : IInspectable
100 {
101 HRESULT ToDisplayName([in] Windows.UI.Color color, [out, retval] HSTRING *value);
102 }
103
104 [
105 contract(Windows.Foundation.UniversalApiContract, 1.0),
106 exclusiveto(Windows.UI.Colors),
107 uuid(9b8c9326-4ca6-4ce5-8994-9eff65cabdcc)
108 ]
109 interface IColors : IInspectable
110 {
111 }
112
113 [
114 contract(Windows.Foundation.UniversalApiContract, 1.0),
115 exclusiveto(Windows.UI.Colors),
116 uuid(cff52e04-cca6-4614-a17e-754910c84a99)
117 ]
118 interface IColorsStatics : IInspectable
119 {
120 [propget] HRESULT AliceBlue([out, retval] Windows.UI.Color *value);
121 [propget] HRESULT AntiqueWhite([out, retval] Windows.UI.Color *value);
122 [propget] HRESULT Aqua([out, retval] Windows.UI.Color *value);
123 [propget] HRESULT Aquamarine([out, retval] Windows.UI.Color *value);
124 [propget] HRESULT Azure([out, retval] Windows.UI.Color *value);
125 [propget] HRESULT Beige([out, retval] Windows.UI.Color *value);
126 [propget] HRESULT Bisque([out, retval] Windows.UI.Color *value);
127 [propget] HRESULT Black([out, retval] Windows.UI.Color *value);
128 [propget] HRESULT BlanchedAlmond([out, retval] Windows.UI.Color *value);
129 [propget] HRESULT Blue([out, retval] Windows.UI.Color *value);
130 [propget] HRESULT BlueViolet([out, retval] Windows.UI.Color *value);
131 [propget] HRESULT Brown([out, retval] Windows.UI.Color *value);
132 [propget] HRESULT BurlyWood([out, retval] Windows.UI.Color *value);
133 [propget] HRESULT CadetBlue([out, retval] Windows.UI.Color *value);
134 [propget] HRESULT Chartreuse([out, retval] Windows.UI.Color *value);
135 [propget] HRESULT Chocolate([out, retval] Windows.UI.Color *value);
136 [propget] HRESULT Coral([out, retval] Windows.UI.Color *value);
137 [propget] HRESULT CornflowerBlue([out, retval] Windows.UI.Color *value);
138 [propget] HRESULT Cornsilk([out, retval] Windows.UI.Color *value);
139 [propget] HRESULT Crimson([out, retval] Windows.UI.Color *value);
140 [propget] HRESULT Cyan([out, retval] Windows.UI.Color *value);
141 [propget] HRESULT DarkBlue([out, retval] Windows.UI.Color *value);
142 [propget] HRESULT DarkCyan([out, retval] Windows.UI.Color *value);
143 [propget] HRESULT DarkGoldenrod([out, retval] Windows.UI.Color *value);
144 [propget] HRESULT DarkGray([out, retval] Windows.UI.Color *value);
145 [propget] HRESULT DarkGreen([out, retval] Windows.UI.Color *value);
146 [propget] HRESULT DarkKhaki([out, retval] Windows.UI.Color *value);
147 [propget] HRESULT DarkMagenta([out, retval] Windows.UI.Color *value);
148 [propget] HRESULT DarkOliveGreen([out, retval] Windows.UI.Color *value);
149 [propget] HRESULT DarkOrange([out, retval] Windows.UI.Color *value);
150 [propget] HRESULT DarkOrchid([out, retval] Windows.UI.Color *value);
151 [propget] HRESULT DarkRed([out, retval] Windows.UI.Color *value);
152 [propget] HRESULT DarkSalmon([out, retval] Windows.UI.Color *value);
153 [propget] HRESULT DarkSeaGreen([out, retval] Windows.UI.Color *value);
154 [propget] HRESULT DarkSlateBlue([out, retval] Windows.UI.Color *value);
155 [propget] HRESULT DarkSlateGray([out, retval] Windows.UI.Color *value);
156 [propget] HRESULT DarkTurquoise([out, retval] Windows.UI.Color *value);
157 [propget] HRESULT DarkViolet([out, retval] Windows.UI.Color *value);
158 [propget] HRESULT DeepPink([out, retval] Windows.UI.Color *value);
159 [propget] HRESULT DeepSkyBlue([out, retval] Windows.UI.Color *value);
160 [propget] HRESULT DimGray([out, retval] Windows.UI.Color *value);
161 [propget] HRESULT DodgerBlue([out, retval] Windows.UI.Color *value);
162 [propget] HRESULT Firebrick([out, retval] Windows.UI.Color *value);
163 [propget] HRESULT FloralWhite([out, retval] Windows.UI.Color *value);
164 [propget] HRESULT ForestGreen([out, retval] Windows.UI.Color *value);
165 [propget] HRESULT Fuchsia([out, retval] Windows.UI.Color *value);
166 [propget] HRESULT Gainsboro([out, retval] Windows.UI.Color *value);
167 [propget] HRESULT GhostWhite([out, retval] Windows.UI.Color *value);
168 [propget] HRESULT Gold([out, retval] Windows.UI.Color *value);
169 [propget] HRESULT Goldenrod([out, retval] Windows.UI.Color *value);
170 [propget] HRESULT Gray([out, retval] Windows.UI.Color *value);
171 [propget] HRESULT Green([out, retval] Windows.UI.Color *value);
172 [propget] HRESULT GreenYellow([out, retval] Windows.UI.Color *value);
173 [propget] HRESULT Honeydew([out, retval] Windows.UI.Color *value);
174 [propget] HRESULT HotPink([out, retval] Windows.UI.Color *value);
175 [propget] HRESULT IndianRed([out, retval] Windows.UI.Color *value);
176 [propget] HRESULT Indigo([out, retval] Windows.UI.Color *value);
177 [propget] HRESULT Ivory([out, retval] Windows.UI.Color *value);
178 [propget] HRESULT Khaki([out, retval] Windows.UI.Color *value);
179 [propget] HRESULT Lavender([out, retval] Windows.UI.Color *value);
180 [propget] HRESULT LavenderBlush([out, retval] Windows.UI.Color *value);
181 [propget] HRESULT LawnGreen([out, retval] Windows.UI.Color *value);
182 [propget] HRESULT LemonChiffon([out, retval] Windows.UI.Color *value);
183 [propget] HRESULT LightBlue([out, retval] Windows.UI.Color *value);
184 [propget] HRESULT LightCoral([out, retval] Windows.UI.Color *value);
185 [propget] HRESULT LightCyan([out, retval] Windows.UI.Color *value);
186 [propget] HRESULT LightGoldenrodYellow([out, retval] Windows.UI.Color *value);
187 [propget] HRESULT LightGreen([out, retval] Windows.UI.Color *value);
188 [propget] HRESULT LightGray([out, retval] Windows.UI.Color *value);
189 [propget] HRESULT LightPink([out, retval] Windows.UI.Color *value);
190 [propget] HRESULT LightSalmon([out, retval] Windows.UI.Color *value);
191 [propget] HRESULT LightSeaGreen([out, retval] Windows.UI.Color *value);
192 [propget] HRESULT LightSkyBlue([out, retval] Windows.UI.Color *value);
193 [propget] HRESULT LightSlateGray([out, retval] Windows.UI.Color *value);
194 [propget] HRESULT LightSteelBlue([out, retval] Windows.UI.Color *value);
195 [propget] HRESULT LightYellow([out, retval] Windows.UI.Color *value);
196 [propget] HRESULT Lime([out, retval] Windows.UI.Color *value);
197 [propget] HRESULT LimeGreen([out, retval] Windows.UI.Color *value);
198 [propget] HRESULT Linen([out, retval] Windows.UI.Color *value);
199 [propget] HRESULT Magenta([out, retval] Windows.UI.Color *value);
200 [propget] HRESULT Maroon([out, retval] Windows.UI.Color *value);
201 [propget] HRESULT MediumAquamarine([out, retval] Windows.UI.Color *value);
202 [propget] HRESULT MediumBlue([out, retval] Windows.UI.Color *value);
203 [propget] HRESULT MediumOrchid([out, retval] Windows.UI.Color *value);
204 [propget] HRESULT MediumPurple([out, retval] Windows.UI.Color *value);
205 [propget] HRESULT MediumSeaGreen([out, retval] Windows.UI.Color *value);
206 [propget] HRESULT MediumSlateBlue([out, retval] Windows.UI.Color *value);
207 [propget] HRESULT MediumSpringGreen([out, retval] Windows.UI.Color *value);
208 [propget] HRESULT MediumTurquoise([out, retval] Windows.UI.Color *value);
209 [propget] HRESULT MediumVioletRed([out, retval] Windows.UI.Color *value);
210 [propget] HRESULT MidnightBlue([out, retval] Windows.UI.Color *value);
211 [propget] HRESULT MintCream([out, retval] Windows.UI.Color *value);
212 [propget] HRESULT MistyRose([out, retval] Windows.UI.Color *value);
213 [propget] HRESULT Moccasin([out, retval] Windows.UI.Color *value);
214 [propget] HRESULT NavajoWhite([out, retval] Windows.UI.Color *value);
215 [propget] HRESULT Navy([out, retval] Windows.UI.Color *value);
216 [propget] HRESULT OldLace([out, retval] Windows.UI.Color *value);
217 [propget] HRESULT Olive([out, retval] Windows.UI.Color *value);
218 [propget] HRESULT OliveDrab([out, retval] Windows.UI.Color *value);
219 [propget] HRESULT Orange([out, retval] Windows.UI.Color *value);
220 [propget] HRESULT OrangeRed([out, retval] Windows.UI.Color *value);
221 [propget] HRESULT Orchid([out, retval] Windows.UI.Color *value);
222 [propget] HRESULT PaleGoldenrod([out, retval] Windows.UI.Color *value);
223 [propget] HRESULT PaleGreen([out, retval] Windows.UI.Color *value);
224 [propget] HRESULT PaleTurquoise([out, retval] Windows.UI.Color *value);
225 [propget] HRESULT PaleVioletRed([out, retval] Windows.UI.Color *value);
226 [propget] HRESULT PapayaWhip([out, retval] Windows.UI.Color *value);
227 [propget] HRESULT PeachPuff([out, retval] Windows.UI.Color *value);
228 [propget] HRESULT Peru([out, retval] Windows.UI.Color *value);
229 [propget] HRESULT Pink([out, retval] Windows.UI.Color *value);
230 [propget] HRESULT Plum([out, retval] Windows.UI.Color *value);
231 [propget] HRESULT PowderBlue([out, retval] Windows.UI.Color *value);
232 [propget] HRESULT Purple([out, retval] Windows.UI.Color *value);
233 [propget] HRESULT Red([out, retval] Windows.UI.Color *value);
234 [propget] HRESULT RosyBrown([out, retval] Windows.UI.Color *value);
235 [propget] HRESULT RoyalBlue([out, retval] Windows.UI.Color *value);
236 [propget] HRESULT SaddleBrown([out, retval] Windows.UI.Color *value);
237 [propget] HRESULT Salmon([out, retval] Windows.UI.Color *value);
238 [propget] HRESULT SandyBrown([out, retval] Windows.UI.Color *value);
239 [propget] HRESULT SeaGreen([out, retval] Windows.UI.Color *value);
240 [propget] HRESULT SeaShell([out, retval] Windows.UI.Color *value);
241 [propget] HRESULT Sienna([out, retval] Windows.UI.Color *value);
242 [propget] HRESULT Silver([out, retval] Windows.UI.Color *value);
243 [propget] HRESULT SkyBlue([out, retval] Windows.UI.Color *value);
244 [propget] HRESULT SlateBlue([out, retval] Windows.UI.Color *value);
245 [propget] HRESULT SlateGray([out, retval] Windows.UI.Color *value);
246 [propget] HRESULT Snow([out, retval] Windows.UI.Color *value);
247 [propget] HRESULT SpringGreen([out, retval] Windows.UI.Color *value);
248 [propget] HRESULT SteelBlue([out, retval] Windows.UI.Color *value);
249 [propget] HRESULT Tan([out, retval] Windows.UI.Color *value);
250 [propget] HRESULT Teal([out, retval] Windows.UI.Color *value);
251 [propget] HRESULT Thistle([out, retval] Windows.UI.Color *value);
252 [propget] HRESULT Tomato([out, retval] Windows.UI.Color *value);
253 [propget] HRESULT Transparent([out, retval] Windows.UI.Color *value);
254 [propget] HRESULT Turquoise([out, retval] Windows.UI.Color *value);
255 [propget] HRESULT Violet([out, retval] Windows.UI.Color *value);
256 [propget] HRESULT Wheat([out, retval] Windows.UI.Color *value);
257 [propget] HRESULT White([out, retval] Windows.UI.Color *value);
258 [propget] HRESULT WhiteSmoke([out, retval] Windows.UI.Color *value);
259 [propget] HRESULT Yellow([out, retval] Windows.UI.Color *value);
260 [propget] HRESULT YellowGreen([out, retval] Windows.UI.Color *value);
261 }
262
263 [
264 contract(Windows.Foundation.UniversalApiContract, 8.0),
265 exclusiveto(Windows.UI.UIContentRoot),
266 uuid(1dfcbac6-b36b-5cb9-9bc5-2b7a0eddc378)
267 ]
268 interface IUIContentRoot : IInspectable
269 {
270 [propget] HRESULT UIContext([out, retval] Windows.UI.UIContext **value);
271 }
272
273 [
274 contract(Windows.Foundation.UniversalApiContract, 8.0),
275 exclusiveto(Windows.UI.UIContext),
276 uuid(bb5cfacd-5bd8-59d0-a59e-1c17a4d6d243)
277 ]
278 interface IUIContext : IInspectable
279 {
280 }
281
282 [
283 contract(Windows.Foundation.UniversalApiContract, 1.0),
284 marshaling_behavior(agile),
285 static(Windows.UI.IColorHelperStatics, Windows.Foundation.UniversalApiContract, 1.0),
286 static(Windows.UI.IColorHelperStatics2, Windows.Foundation.UniversalApiContract, 4.0),
287 threading(both)
288 ]
289 runtimeclass ColorHelper
290 {
291 [default] interface Windows.UI.IColorHelper;
292 }
293
294 [
295 contract(Windows.Foundation.UniversalApiContract, 1.0),
296 marshaling_behavior(agile),
297 static(Windows.UI.IColorsStatics, Windows.Foundation.UniversalApiContract, 1.0),
298 threading(both)
299 ]
300 runtimeclass Colors
301 {
302 [default] interface Windows.UI.IColors;
303 }
304
305 [
306 contract(Windows.Foundation.UniversalApiContract, 8.0),
307 marshaling_behavior(agile),
308 threading(both)
309 ]
310 runtimeclass UIContentRoot
311 {
312 [default] interface Windows.UI.IUIContentRoot;
313 }
314
315 [
316 contract(Windows.Foundation.UniversalApiContract, 8.0),
317 marshaling_behavior(agile),
318 threading(both)
319 ]
320 runtimeclass UIContext
321 {
322 [default] interface Windows.UI.IUIContext;
323 }
324 }