2 * Copyright 2023 RĂ©mi Bernon 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
20 #pragma winrt ns_prefix
24 import
"inspectable.idl";
25 import
"asyncinfo.idl";
26 import
"eventtoken.idl";
27 import
"windowscontracts.idl";
28 import
"windows.foundation.idl";
29 import
"windows.storage.streams.idl";
30 import
"windows.system.idl";
33 namespace Windows.System.Profile
{
35 interface IAnalyticsInfoStatics
;
36 interface IAnalyticsInfoStatics2
;
37 interface IAnalyticsVersionInfo
;
38 interface IAnalyticsVersionInfo2
;
39 runtimeclass AnalyticsVersionInfo
;
40 runtimeclass AnalyticsInfo
;
43 contract
(Windows.Foundation.UniversalApiContract
, 1.0),
44 exclusiveto
(Windows.System.Profile.AnalyticsInfo
),
45 uuid(1d5ee066
-188d
-5ba9
-4387-acaeb0e7e305
)
47 interface IAnalyticsInfoStatics
: IInspectable
49 [propget] HRESULT VersionInfo
([out, retval] Windows.System.Profile.AnalyticsVersionInfo
**value
);
50 [propget] HRESULT DeviceForm
([out, retval] HSTRING
*value
);
54 contract
(Windows.Foundation.UniversalApiContract
, 1.0),
55 exclusiveto
(Windows.System.Profile.AnalyticsVersionInfo
),
56 uuid(926130b8
-9955-4c74
-bdc1
-7cd0decf9b03
)
58 interface IAnalyticsVersionInfo
: IInspectable
60 [propget] HRESULT DeviceFamily
([out, retval] HSTRING
*value
);
61 [propget] HRESULT DeviceFamilyVersion
([out, retval] HSTRING
*value
);
65 contract
(Windows.Foundation.UniversalApiContract
, 1.0),
66 marshaling_behavior
(agile
),
69 runtimeclass AnalyticsVersionInfo
71 [default] interface Windows.System.Profile.IAnalyticsVersionInfo
;
72 [contract
(Windows.Foundation.UniversalApiContract
, 11.0)] interface Windows.System.Profile.IAnalyticsVersionInfo2
;
76 contract
(Windows.Foundation.UniversalApiContract
, 1.0),
77 marshaling_behavior
(agile
),
78 static
(Windows.System.Profile.IAnalyticsInfoStatics
, Windows.Foundation.UniversalApiContract
, 1.0),
79 static
(Windows.System.Profile.IAnalyticsInfoStatics2
, Windows.Foundation.UniversalApiContract
, 6.0),
82 runtimeclass AnalyticsInfo