2 * Copyright 2021 Gijs Vermeulen
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
23 import
"inspectable.idl";
24 import
"asyncinfo.idl";
25 import
"eventtoken.idl";
26 import
"windowscontracts.idl";
27 import
"windows.foundation.idl";
31 namespace Enumeration
{
32 interface IDeviceInformationStatics
;
33 interface IDeviceInformationStatics2
;
40 namespace Enumeration
{
42 contract
(Windows.Foundation.UniversalApiContract
, 1.0),
43 marshaling_behavior
(agile
),
44 static
(Windows.Devices.Enumeration.IDeviceInformationStatics
, Windows.Foundation.UniversalApiContract
, 1.0),
45 static
(Windows.Devices.Enumeration.IDeviceInformationStatics2
, Windows.Foundation.UniversalApiContract
, 1.0),
48 runtimeclass DeviceInformation
50 [default] interface Windows.Devices.Enumeration.IDeviceInformation
;
51 [contract
(Windows.Foundation.UniversalApiContract
, 1.0)] interface Windows.Devices.Enumeration.IDeviceInformation2
;