Debian Codegraph @

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

raw
1 /*
2 * Copyright (C) 2024 Biswapriyo Nath
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 "eventtoken.idl";
26 import "windowscontracts.idl";
27 import "windows.foundation.idl";
28
29 namespace Windows.Graphics {
30 typedef struct DisplayAdapterId DisplayAdapterId;
31 typedef struct DisplayId DisplayId;
32 typedef struct PointInt32 PointInt32;
33 typedef struct RectInt32 RectInt32;
34 typedef struct SizeInt32 SizeInt32;
35
36 interface IGeometrySource2D;
37
38 declare {
39 interface Windows.Foundation.Collections.IIterable<Windows.Graphics.RectInt32>;
40 interface Windows.Foundation.Collections.IIterator<Windows.Graphics.RectInt32>;
41 interface Windows.Foundation.Collections.IVectorView<Windows.Graphics.RectInt32>;
42 interface Windows.Foundation.IReference<Windows.Graphics.SizeInt32>;
43 }
44
45 [
46 contract(Windows.Foundation.UniversalApiContract, 6.0)
47 ]
48 struct DisplayAdapterId
49 {
50 UINT32 LowPart;
51 INT32 HighPart;
52 };
53
54 [
55 contract(Windows.Foundation.UniversalApiContract, 12.0)
56 ]
57 struct DisplayId
58 {
59 UINT64 Value;
60 };
61
62 [
63 contract(Windows.Foundation.UniversalApiContract, 4.0)
64 ]
65 struct PointInt32
66 {
67 INT32 X;
68 INT32 Y;
69 };
70
71 [
72 contract(Windows.Foundation.UniversalApiContract, 4.0)
73 ]
74 struct RectInt32
75 {
76 INT32 X;
77 INT32 Y;
78 INT32 Width;
79 INT32 Height;
80 };
81
82 [
83 contract(Windows.Foundation.UniversalApiContract, 4.0)
84 ]
85 struct SizeInt32
86 {
87 INT32 Width;
88 INT32 Height;
89 };
90
91 [
92 contract(Windows.Foundation.UniversalApiContract, 6.0),
93 uuid(caff7902-670c-4181-a624-da977203b845)
94 ]
95 interface IGeometrySource2D : IInspectable
96 {
97 }
98 }