Debian Codegraph @

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

raw
1 /*
2 * Copyright 2025 Hans Leidekker for CodeWeavers
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.Perception {
31 interface IPerceptionTimestamp;
32
33 runtimeclass PerceptionTimestamp;
34
35 [
36 contract(Windows.Foundation.UniversalApiContract, 2.0),
37 exclusiveto(Windows.Perception.PerceptionTimestamp),
38 uuid(87c24804-a22e-4adb-ba26-d78ef639bcf4)
39 ]
40 interface IPerceptionTimestamp : IInspectable
41 {
42 [propget] HRESULT TargetTime([out, retval] Windows.Foundation.DateTime *value);
43 [propget] HRESULT PredictionAmount([out, retval] Windows.Foundation.TimeSpan *value);
44 }
45
46 [
47 contract(Windows.Foundation.UniversalApiContract, 2.0),
48 marshaling_behavior(agile),
49 threading(both)
50 ]
51 runtimeclass PerceptionTimestamp
52 {
53 [default] interface Windows.Perception.IPerceptionTimestamp;
54 }
55 }