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